:root {
  --color-primary: #0b2447;
  --color-primary-deep: #06172f;
  --color-accent: #12b8c4;
  --color-cta: #f28b32;
  --color-surface: #f2f7fa;
  --color-text: #172333;
  --color-muted: #667486;
  --color-border: #dce6ed;
  --color-white: #fff;
  --shadow-sm: 0 12px 30px rgba(6, 23, 47, .08);
  --shadow-lg: 0 28px 80px rgba(6, 23, 47, .18);
  --radius: 22px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-white);
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 1000;
  padding: 10px 18px; color: #fff; background: var(--color-primary-deep);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: var(--color-primary-deep); background: #fff; transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 3px; width: 31px; height: 31px; }
.brand-mark i { display: block; width: 8px; border-radius: 2px 2px 0 0; background: var(--color-accent); transform: skew(-12deg); }
.brand-mark i:nth-child(1) { height: 15px; opacity: .65; }
.brand-mark i:nth-child(2) { height: 23px; opacity: .82; }
.brand-mark i:nth-child(3) { height: 31px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 17px; letter-spacing: .04em; }
.brand-copy small { margin-top: 5px; font-family: Arial, sans-serif; font-size: 9px; letter-spacing: .18em; opacity: .7; }
.global-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.global-nav > a { position: relative; padding: 28px 0; }
.global-nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--color-accent); transition: right .25s; }
.global-nav > a:hover::after { right: 0; }
.menu-button { display: none; border: 0; background: transparent; color: var(--color-primary-deep); }

.hero {
  position: relative; min-height: 690px; overflow: hidden; color: var(--color-primary-deep);
  background: linear-gradient(120deg, #fff 10%, var(--color-surface) 55%, #d8f1ff);
  display: flex; align-items: center; padding: 145px 0 105px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 850 670'%3E%3Cg fill='none' stroke-width='2'%3E%3Cpath stroke='%2375c6f3' d='M40 595 C220 555 160 175 385 132 S660 245 844 52 M98 640 C295 604 280 380 490 365 S680 462 852 315 M325 672 C437 555 620 650 808 484'/%3E%3Cpath stroke='%23ffb580' stroke-dasharray='6 10' d='M275 32 C438 30 428 282 616 269 S761 132 850 151'/%3E%3C/g%3E%3Cg fill='%230095e4'%3E%3Ccircle cx='385' cy='132' r='8'/%3E%3Ccircle cx='490' cy='365' r='6'/%3E%3Ccircle cx='808' cy='484' r='9'/%3E%3C/g%3E%3Cg fill='%23ff7f27'%3E%3Ccircle cx='616' cy='269' r='9'/%3E%3Ccircle cx='275' cy='32' r='6'/%3E%3Ccircle cx='98' cy='640' r='6'/%3E%3C/g%3E%3C/svg%3E") right center / min(74vw, 900px) auto no-repeat;
  opacity: .65;
  mask-image: linear-gradient(90deg, transparent 14%, #000 68%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 75px; background: #fff; clip-path: polygon(0 72%, 100% 0, 100% 100%, 0 100%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.hero-glow-one { width: 510px; height: 510px; right: -150px; top: -210px; background: rgba(0,149,228,.12); }
.hero-glow-two { width: 380px; height: 380px; left: -190px; bottom: -110px; background: rgba(255,127,39,.12); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 76px; }
.eyebrow, .section-kicker { margin-bottom: 22px; color: var(--color-primary); font: 700 12px/1 Arial, sans-serif; letter-spacing: .24em; }
.hero h1 { max-width: 650px; margin-bottom: 25px; font-size: clamp(40px, 5vw, 70px); line-height: 1.28; letter-spacing: .025em; }
.hero-lead { max-width: 590px; margin-bottom: 25px; color: var(--color-text); font-size: 17px; line-height: 2; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
.hero-tags span { padding: 6px 14px; border: 1px solid #b5def4; border-radius: 999px; color: var(--color-primary-deep); background: #fff; font-size: 12px; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-width: 190px; min-height: 56px; padding: 12px 26px; border-radius: 999px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button-primary { color: #fff; background: var(--color-cta); box-shadow: 0 12px 30px rgba(242,139,50,.22); }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(242,139,50,.32); }
.text-link { font-size: 14px; font-weight: 700; }
.text-link span { color: var(--color-accent); margin-left: 8px; }
.hero-note { margin: 20px 0 0; color: var(--color-muted); font-size: 12px; }
.hero-visual { position: relative; padding: 20px 0 54px 30px; }
.hero-image-frame { position: relative; overflow: hidden; aspect-ratio: 1.12; border-radius: 140px 18px 120px 18px; box-shadow: var(--shadow-lg); }
.hero-image-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(6,23,47,.06), rgba(6,23,47,.45)); }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel { position: absolute; left: 0; bottom: 18px; display: flex; align-items: center; gap: 14px; min-width: 280px; padding: 19px 22px; color: var(--color-text); background: rgba(255,255,255,.96); border-radius: 15px; box-shadow: var(--shadow-lg); }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 7px rgba(18,184,196,.14); }
.hero-panel div { display: flex; flex-direction: column; }
.hero-panel small { color: var(--color-muted); font: 700 9px/1.3 Arial, sans-serif; letter-spacing: .15em; }
.hero-panel strong { margin-top: 6px; font-size: 15px; }
.hero-scroll { position: absolute; right: 10px; bottom: 82px; z-index: 3; display: flex; align-items: center; gap: 12px; min-width: 44px; padding: 8px; writing-mode: vertical-rl; color: var(--color-primary); font: 700 10px/1 Arial, sans-serif; letter-spacing: .2em; }
.hero-scroll span { width: 1px; height: 50px; background: currentColor; }
.page-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 14px; border: 1px solid #b5def4; border-radius: 999px; background: #fff; color: var(--color-primary); font: 700 11px/1.2 Arial, sans-serif; box-shadow: var(--shadow-sm); }
.page-top[hidden] { display: none; }
.page-top:hover { background: var(--color-surface); }

.intro { padding-top: 76px; }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; align-items: start; }
.section-kicker { margin-bottom: 18px; }
.intro h2, .section-heading h2, .company-heading h2, .contact h2 { margin-bottom: 24px; font-size: clamp(32px, 4vw, 50px); line-height: 1.45; letter-spacing: .02em; }
.intro-text { padding-top: 32px; border-top: 1px solid var(--color-border); }
.intro-text p { color: var(--color-muted); font-size: 16px; line-height: 2.15; }
.intro-text p:last-child { margin-bottom: 0; }

.services { background: #fff; }
.section-heading { max-width: 720px; margin: 0 auto 55px; text-align: center; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--color-muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-card { position: relative; overflow: hidden; padding: 32px 30px; background: #fff; border: 1px solid rgba(11,36,71,.07); border-radius: var(--radius); box-shadow: 0 10px 35px rgba(6,23,47,.05); transition: transform .25s, box-shadow .25s; }
.service-card::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 5px; background: var(--color-accent); transition: right .3s; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-sm); }
.service-card:hover::after { right: 0; }
.service-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); }
.service-topline span { order: 1; color: #b5def4; font: 700 clamp(36px, 5vw, 58px)/1 Arial, sans-serif; }
@supports (-webkit-text-stroke: 1px #000) {
  .service-topline span { color: transparent; -webkit-text-stroke: 1.5px #8ecdf0; }
}
.service-topline small { color: var(--color-primary); font: 700 11px/1.4 Arial, sans-serif; letter-spacing: .18em; }
.service-icon { width: 68px; height: 68px; margin: 37px 0 26px; display: grid; place-items: center; color: var(--color-primary); background: rgba(18,184,196,.09); border-radius: 20px; }
.service-icon svg { width: 38px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 16px; font-size: 23px; }
.service-card p { margin-bottom: 0; color: var(--color-muted); font-size: 14px; line-height: 2; }

.strengths-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.strengths-image { position: relative; padding: 0 26px 34px 0; }
.strengths-image::before { content: ""; position: absolute; inset: 36px 0 0 36px; background: var(--color-surface); border-radius: 20px; }
.strengths-image img { position: relative; width: 100%; aspect-ratio: .9; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-sm); }
.image-label { position: absolute; right: 0; bottom: 0; width: 190px; padding: 22px 24px; color: #fff; background: var(--color-primary); border-radius: 15px; box-shadow: var(--shadow-lg); }
.image-label span { display: block; margin-bottom: 8px; color: var(--color-primary); font: 700 10px/1 Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.image-label strong { font-size: 16px; line-height: 1.7; }
.section-heading.align-left { margin: 0 0 34px; text-align: left; }
.strength-list { margin: 0; padding: 0; list-style: none; }
.strength-list li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 25px 0; border-top: 1px solid var(--color-border); }
.strength-list li:last-child { border-bottom: 1px solid var(--color-border); }
.strength-list > li > span { color: var(--color-primary); font: 700 13px/1.6 Arial, sans-serif; }
.strength-list h3 { margin-bottom: 9px; font-size: 19px; }
.strength-list p { margin-bottom: 0; color: var(--color-muted); font-size: 14px; }

.flow { background: var(--color-primary-deep); color: #fff; }
.flow .section-heading > p:last-child { color: rgba(255,255,255,.62); }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.flow-card { position: relative; min-height: 230px; padding: 32px 25px; border: 1px solid rgba(255,255,255,.12); border-right: 0; }
.flow-card:first-child { border-radius: 18px 0 0 18px; }
.flow-card:last-child { border-right: 1px solid rgba(255,255,255,.12); border-radius: 0 18px 18px 0; }
.flow-card:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -15px; top: 50%; width: 30px; height: 30px; display: grid; place-items: center; color: var(--color-accent); background: var(--color-primary-deep); border-radius: 50%; transform: translateY(-50%); }
.flow-card > span { display: block; margin-bottom: 48px; color: var(--color-primary); font: 700 13px/1 Arial, sans-serif; }
.flow-card h3 { margin-bottom: 12px; font-size: 19px; }
.flow-card p { margin-bottom: 0; color: rgba(255,255,255,.57); font-size: 13px; line-height: 1.9; }

.company-intro { background: var(--color-surface); }
.company { position: relative; color: var(--color-text); background: #fff; }
.company-grid { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.section-kicker.light { color: var(--color-primary); }

.company-table { margin: 0; border-top: 1px solid #b5def4; }
.company-table > div { display: grid; grid-template-columns: 150px 1fr; padding: 23px 0; border-bottom: 1px solid #b5def4; }
.company-table dt { color: var(--color-primary); font-size: 13px; }
.company-table dd { margin: 0; font-size: 14px; }
.company-map { grid-column: 1 / -1; display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: stretch; padding-top: 8px; }
.company-map-copy { display: flex; flex-direction: column; justify-content: center; }
.company-map-copy h3 { margin-bottom: 16px; font-size: 28px; }
.company-map-copy p { color: var(--color-muted); line-height: 1.9; }
.company-map-copy a { width: fit-content; padding-bottom: 5px; color: var(--color-primary); border-bottom: 1px solid currentColor; font-size: 13px; }
.company-map-frame { overflow: hidden; min-height: 360px; background: #fff; border: 1px solid #b5def4; border-radius: 20px; box-shadow: var(--shadow-sm); }
.company-map-frame iframe { width: 100%; height: 100%; min-height: 360px; display: block; border: 0; }

.contact { padding: 95px 0; background: var(--color-surface); }
.contact-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 24px; align-items: start; padding: 62px 68px; background: #fff; border-radius: 28px; box-shadow: var(--shadow-sm); }
.contact h2 { margin-bottom: 18px; font-size: clamp(27px, 3.2vw, 40px); }
.contact-copy > p:last-child { margin-bottom: 0; color: var(--color-muted); }
.contact-actions { display: grid; gap: 13px; }
.contact-link { position: relative; display: flex; flex-direction: column; padding: 19px 58px 19px 24px; border: 1px solid var(--color-border); border-radius: 15px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.contact-link::after { content: "→"; position: absolute; right: 23px; top: 50%; color: var(--color-accent); font-size: 20px; transform: translateY(-50%); }
.contact-link:hover { transform: translateX(4px); border-color: var(--color-accent); box-shadow: 0 8px 20px rgba(6,23,47,.06); }
.contact-link small { color: var(--color-muted); font-size: 11px; }
.contact-link strong { margin: 3px 0; font: 700 20px/1.5 Arial, "Yu Gothic", Meiryo, sans-serif; }
.contact-link span { color: var(--color-muted); font-size: 11px; }
.contact-form { grid-column: 1 / -1; min-width: 0; }
.contact-form-heading { display: grid; gap: 12px; }
.form-kicker { margin-bottom: 10px; color: var(--color-primary); font: 700 11px/1 Arial, sans-serif; letter-spacing: .2em; }
.contact-form-heading h2 { margin: 0; font-size: 26px; }
.contact-form-heading > p { margin: 0; color: var(--color-muted); font-size: 13px; line-height: 1.9; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 24px; }
.form-field { display: grid; gap: 8px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field > span { font-size: 13px; font-weight: 700; }
.form-field em { margin-left: 8px; padding: 3px 7px; color: #fff; background: var(--color-cta); border-radius: 999px; font-size: 9px; font-style: normal; }
.form-field input, .form-field textarea {
  width: 100%; padding: 14px 16px; color: var(--color-text); background: #f8fbfd;
  border: 1px solid var(--color-border); border-radius: 10px; outline: none;
  font: inherit; font-size: 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-field textarea { min-height: 170px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #9aa6b2; }
.form-field input:focus, .form-field textarea:focus { background: #fff; border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(18,184,196,.1); }
.form-consent { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--color-muted); font-size: 13px; cursor: pointer; }
.form-consent input { width: 18px; height: 18px; accent-color: var(--color-primary); }
.form-submit-row { display: flex; align-items: center; gap: 24px; margin-top: 27px; }
.form-submit { border: 0; color: #fff; background: var(--color-primary); cursor: pointer; }
.form-submit:hover { background: var(--color-accent); transform: translateY(-2px); }
.form-status { margin: 0; color: var(--color-muted); font-size: 12px; }
.form-status.is-notice { color: var(--color-primary); font-weight: 700; }

.site-footer { padding: 45px 0; color: #fff; background: var(--color-primary); border-top: 5px solid var(--color-accent); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 50px; }
.brand-footer { color: inherit; }
.site-footer p { margin: 0; font-size: 13px; }
.site-footer .brand-copy small { opacity: 1; }
.copyright { font-family: Arial, sans-serif; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .menu-button { position: relative; z-index: 102; display: grid; gap: 5px; width: 42px; height: 42px; place-content: center; cursor: pointer; }
  .menu-button > span:not(.sr-only) { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
  .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); }
  .global-nav { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 90px 30px; background: #fff; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s; }
  .global-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .global-nav > a { width: min(100%, 420px); padding: 13px 0; text-align: center; }
  .global-nav > a::after { display: none; }
  .hero { min-height: auto; padding-top: 135px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { max-width: 680px; margin-left: auto; }
  .hero-scroll { display: none; }
  .intro-grid { gap: 55px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .strengths-grid { grid-template-columns: 1fr; gap: 70px; }
  .strengths-image { max-width: 630px; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .flow-card, .flow-card:first-child, .flow-card:last-child { border: 1px solid rgba(255,255,255,.12); border-radius: 15px; }
  .flow-card:not(:last-child)::after { display: none; }
  .company-grid, .company-map { gap: 45px; }
  .contact-panel { grid-template-columns: 1fr; padding: 50px; }
  .contact-form-heading { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 72px 0; }
  .header-inner { min-height: 70px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 7px; }
  .hero { padding: 120px 0 100px; }
  .hero h1 { font-size: 39px; }
  .hero-lead { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .button { width: 100%; }
  .hero-grid { gap: 28px; }
  .hero-visual { width: min(100%, 260px); margin: 0 auto; padding: 0 0 12px; }

  .hero-panel { left: 10px; right: 10px; min-width: 0; }
  .intro-grid, .company-grid, .company-map { grid-template-columns: 1fr; gap: 35px; }
  .intro-text { padding-top: 25px; }
  .intro h2, .section-heading h2, .company-heading h2 { font-size: 34px; }
  .service-card { padding: 28px 24px; }
  .strengths-image { padding-right: 15px; }
  .image-label {
    right: auto;
    left: 50%;
    width: min(calc(100% - 48px), 360px);
    padding: 17px 24px;
    text-align: center;
    transform: translateX(-50%);
  }
  .image-label strong br { display: none; }
  .strength-list li { grid-template-columns: 43px 1fr; gap: 12px; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-card { min-height: auto; }
  .flow-card > span { margin-bottom: 25px; }
  .company-table > div { grid-template-columns: 1fr; gap: 7px; }
  .company-map-frame, .company-map-frame iframe { min-height: 300px; }
  .contact-panel { gap: 38px; padding: 38px 23px; border-radius: 19px; }
  .contact-link { padding-left: 18px; }
  .contact-link strong { font-size: 16px; overflow-wrap: anywhere; }

  .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .form-submit-row { align-items: stretch; flex-direction: column; gap: 14px; }
  .form-submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.brand-logo { display: block; width: 116px; height: auto; border-radius: 8px; }
.hero-image-frame { aspect-ratio: 1024 / 390; border-radius: 24px; }
.hero-image-frame::after { display: none; }
.hero .button-primary { color: #fff; background: var(--color-cta); text-shadow: 1px 0 #70300b, -1px 0 #70300b, 0 1px #70300b, 0 -1px #70300b; }
.contact-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
@media (max-width: 420px) {
  .brand-logo { width: 84px; }
}

.company-profile {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.company-profile article {
  padding: 24px;
  border: 1px solid #b5def4;
  border-radius: 18px;
  background: #fff;
}
.company-profile h3 { margin-top: 0; }
.company-profile p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .company-profile { grid-template-columns: 1fr; }
}


.mail-link { padding: 24px; gap: 8px; background: #fff; border-color: #b5def4; }
.mail-link::after { display: none; }
.mail-link small { font-size: 13px; }
.mail-icon { width: 32px; height: 32px; color: var(--color-primary); }
.mail-link strong { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .hero::before {
    background-position: right bottom;
    background-size: min(100%, 620px) auto;
    opacity: .4;
    mask-image: linear-gradient(transparent 20%, #000 75%);
  }
}


.hero-scroll:hover, .hero-scroll:focus-visible { text-decoration: underline; }
#services { scroll-margin-top: 82px; }









.mail-link:hover { transform: none; border-color: #b5def4; box-shadow: none; }


.contact-form .form-submit-row { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.contact-form .form-submit { width: min(80%, 300px); min-width: 0; }




.mailform-fields, .mailform-fields dd, #form_submit { margin: 0; }
#form_submit { width: min(80%, 300px); }
#form_submit .form-submit { width: 100%; }
.mailform-fields .error_blank, .mailform-fields .error_format, #form_submit .error_blank { color: #a22c00; }

.service-grid-featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 64px); }
.service-photo { position: relative; margin: 18px 0; overflow: hidden; border-radius: 16px; background: #e4f5ff; }
.service-feature .service-photo { margin: 0; }
.service-photo img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.service-photo figcaption { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 12px; background: #fff; color: #073453; font-size: 10px; }
.service-feature-copy h3 { margin-top: 20px; }
@media (max-width: 960px) {
  .service-grid-featured, .service-feature { grid-template-columns: 1fr; }
}


.company-intro .section-heading .company-tagline { margin-top: 12px; color: var(--color-primary); font-size: clamp(24px, 4vw, 46px); font-weight: 800; letter-spacing: .035em; line-height: 1.2; }
.company-tagline span { color: #a0440b; }
.company-card-art { display: block; width: 100%; height: 104px; margin: 0 0 20px; padding: 8px; border-radius: 12px; background: var(--color-surface); color: var(--color-primary); fill: none; stroke: currentColor; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.company-card-art circle { fill: #fff; }
.company-card-art .accent { fill: var(--color-cta); stroke: #a0440b; }


