/* Approved homepage and shared shell: white, natural green and restrained blue.
   Detail-page content styles are in inner.css. */
:root {
  --paper: #fdfdfc;
  --surface: #f7f7f5;
  --ink: #202a38;
  --muted: #56616e;
  --blue: #0060df;
  --blue-hover: #004caf;
  --line: #d6d9de;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --gutter: clamp(24px, 4.8vw, 78px);
  --content: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; text-underline-offset: .3em; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: #dbeafe; }
a:focus-visible, button:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.55; }
h2 { font-size: clamp(30px, 2.7vw, 42px); letter-spacing: .035em; }
h3 { font-size: 25px; letter-spacing: .02em; }
p { overflow-wrap: anywhere; }
section[id], article[id], .purpose-card { scroll-margin-top: 28px; }
.container { width: min(calc(100% - var(--gutter) * 2), var(--content)); margin-inline: auto; }
.section-space { padding-block: 112px; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; padding: 12px 20px; color: white; background: var(--blue); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* The original logo file is unchanged. This viewport removes its empty margins,
   without altering, stretching, recoloring, or clipping the actual mark. */
.brand { position: relative; display: block; width: 236px; aspect-ratio: 297 / 72; flex-shrink: 0; overflow: hidden; }
.brand img { position: absolute; max-width: none; width: 107.744%; height: 183.333%; left: -3.03%; top: -45.833%; }
.site-header { position: relative; z-index: 5; }
.header-inner { max-width: 1600px; margin: auto; min-height: 100px; padding: 20px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 2.3vw, 38px); font-size: 15px; font-weight: 500; }
.desktop-nav > a:not(.button) { display: inline-flex; min-height: 44px; align-items: center; white-space: nowrap; }
.desktop-nav > a:not(.button):hover { color: var(--blue); text-decoration: underline; }
.nav-mega { position: relative; }
.nav-mega-hit { display: inline-flex; align-items: center; gap: 2px; }
.nav-mega-link { display: inline-flex; min-height: 44px; align-items: center; white-space: nowrap; }
.nav-mega-link:hover, .nav-mega.is-open .nav-mega-link { color: var(--blue); text-decoration: underline; }
.nav-mega-toggle { width: 36px; height: 44px; border: 0; padding: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.nav-mega-toggle span { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-mega.is-open .nav-mega-toggle span, .nav-mega:hover .nav-mega-toggle span, .nav-mega:focus-within .nav-mega-toggle span { transform: rotate(-135deg) translateY(-2px); }
.nav-mega-panel { position: absolute; top: calc(100% + 4px); right: 0; min-width: min(92vw, 560px); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 16px 40px rgba(32, 42, 56, 0.12); padding: 28px 32px; display: none; grid-template-columns: 1fr 1fr; gap: 12px 40px; z-index: 30; }
.nav-mega:hover .nav-mega-panel, .nav-mega:focus-within .nav-mega-panel, .nav-mega.is-open .nav-mega-panel { display: grid; }
.nav-mega-heading { font-size: 12px; letter-spacing: 0.14em; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.nav-mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-mega-col a { display: flex; align-items: center; min-height: 40px; padding: 4px 0; font-size: 15px; font-weight: 500; }
.nav-mega-col a:hover { color: var(--blue); text-decoration: underline; }
.mobile-submenu { border-bottom: 1px solid var(--line); }
.mobile-submenu summary { min-height: 76px; padding: 18px 4px; display: flex; justify-content: space-between; align-items: center; font-size: 21px; font-family: var(--serif); list-style: none; cursor: pointer; }
.mobile-submenu summary::-webkit-details-marker { display: none; }
.mobile-submenu summary::after { content: ""; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 8px; }
.mobile-submenu[open] summary::after { transform: rotate(-135deg); }
.mobile-submenu-panel { padding: 0 4px 20px; }
.mobile-submenu-hub { display: flex; align-items: center; min-height: 48px; margin-bottom: 8px; color: var(--blue); font-weight: 600; }
.mobile-subhead { margin: 16px 0 4px; font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }
.mobile-submenu-panel a { display: flex; align-items: center; min-height: 48px; padding: 8px 0 8px 8px; font-size: 16px; }
.purpose-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.purpose-card { display: flex; flex-direction: column; gap: 10px; min-height: 148px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.purpose-card:hover { border-color: var(--blue); color: inherit; text-decoration: none; }
.purpose-kicker { color: var(--blue); font-size: 12px; letter-spacing: 0.14em; font-weight: 500; }
.purpose-card strong { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.5; }
.purpose-card span { color: var(--muted); font-size: 15px; line-height: 1.7; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 56px; padding: 14px 28px; border: 1.5px solid transparent; border-radius: 8px; font-size: 17px; font-weight: 600; letter-spacing: .04em; line-height: 1.5; transition: background-color .18s, color .18s; }
.button span, .text-link span { font-family: var(--sans); font-size: 1.15em; line-height: 1; }
.button-primary { background: var(--blue); color: white; border-color: var(--blue); }
.button-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.button-outline { color: var(--blue); border-color: var(--blue); background: #ffffff80; }
.button-outline:hover { background: #edf4ff; }
.nav-contact { min-height: 48px; padding: 12px 25px; font-size: 15px; }
.menu-toggle, .menu-close { width: 48px; height: 48px; border: 0; padding: 10px; background: transparent; flex-shrink: 0; }
.menu-toggle { display: none; }
.menu-toggle span { display: block; height: 1.5px; margin: 6px 0; background: var(--ink); }
.mobile-menu { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; padding: 20px max(28px, env(safe-area-inset-right)) 36px max(28px, env(safe-area-inset-left)); background: var(--paper); color: var(--ink); overscroll-behavior: contain; }
.mobile-menu::backdrop { background: #202a3840; }
.menu-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 40px; }
.menu-header p { font-size: 18px; font-family: var(--serif); }
.menu-close { position: relative; }
.menu-close span { width: 28px; height: 1.5px; position: absolute; left: 10px; top: 23px; background: var(--ink); transform: rotate(45deg); }
.menu-close span + span { transform: rotate(-45deg); }
.mobile-menu nav { display: grid; gap: 8px; }
.mobile-menu nav > a:not(.button) { min-height: 76px; padding: 18px 4px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); font-size: 21px; font-family: var(--serif); }
.mobile-menu nav > .button { margin-top: 30px; }
.menu-caption { margin-top: 48px; font-size: 16px; letter-spacing: .12em; }

.hero { max-width: 1600px; margin-inline: auto; }
.hero-stage { position: relative; min-height: clamp(580px, 40.8vw, 654px); padding: 46px var(--gutter) 64px; isolation: isolate; }
.hero-copy { position: relative; z-index: 2; width: 47%; }
.hero-company { font-family: var(--serif); font-size: clamp(16px, 1.45vw, 23px); letter-spacing: .23em; margin-bottom: 17px; }
.hero h1 { font-size: clamp(48px, 4.8vw, 76.8px); line-height: 1.25; letter-spacing: -.065em; font-weight: 600; }
.hero h1 > span { display: block; white-space: nowrap; }
.accent { color: var(--blue); }
.hero-description { margin-top: 28px; font-family: var(--serif); font-size: clamp(16px, 1.25vw, 20px); line-height: 1.85; letter-spacing: .005em; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; }
.hero-actions .button { min-width: 200px; }
.hero-art { position: absolute; z-index: 1; width: 59%; right: 0; top: 45px; pointer-events: none; }
.hero-art img { width: 100%; height: auto; mask-image: linear-gradient(to right, transparent 0%, black 6%, black 100%), linear-gradient(to bottom, transparent 0%, black 10%, black 85%, transparent 100%); mask-composite: intersect; }
.hero-bottom { display: flex; align-items: center; gap: 40px; padding: 14px var(--gutter) 36px; }
.business-shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); flex: 1; }
.business-shortcuts a { display: flex; align-items: center; min-height: 56px; padding-inline: 26px; gap: 20px; font-size: 16px; font-weight: 500; border-right: 1px solid #aeb4bd; }
.business-shortcuts a:first-child { padding-left: 0; }
.business-shortcuts a:last-child { border-right: 0; }
.business-shortcuts a:hover { color: var(--blue); }
.shortcut-number { color: var(--blue); font-family: var(--serif); font-size: 22px; }
.shortcut-line { width: 32px; height: 1px; background: #9ca4af; margin-left: auto; }
.scroll-link { display: grid; justify-items: center; min-width: 48px; gap: 5px; }
.scroll-link > span { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #9ca4af; border-radius: 50%; font-size: 22px; }
.scroll-link small { font-size: 10px; letter-spacing: .18em; }

.business { background: var(--surface); }
.section-label { color: var(--blue); font-size: 12px; line-height: 1.7; font-weight: 500; letter-spacing: .15em; margin-bottom: 20px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; margin-bottom: 64px; }
.section-intro { color: var(--muted); font-size: 16px; line-height: 2; padding-bottom: 7px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; row-gap: 62px; }
.service { min-width: 0; }
.service-image { aspect-ratio: 3 / 2; }
.service-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.service-body { position: relative; border-top: 1px solid var(--line); padding-top: 23px; }
.service-number { font-family: var(--serif); color: var(--blue); font-size: 18px; margin-bottom: 8px; }
.service h3 { margin-bottom: 16px; font-size: clamp(21px, 1.75vw, 26px); }
.service-body > p:not(.service-number) { color: var(--muted); font-size: 16px; line-height: 1.9; }
.service-body .service-tags { margin-top: 18px; font-size: 13px !important; color: #626c78; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 30px; color: var(--blue); font-size: 16px; font-weight: 500; min-height: 44px; margin-top: 18px; }
.text-link:hover { text-decoration: underline; }
.ai-feature { margin-top: 64px; border-block: 1px solid var(--line); padding-block: 34px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.ai-feature h3 { font-size: 30px; margin-bottom: 18px; }
.ai-copy { max-width: 530px; padding-left: 32px; }
.ai-copy > p:not(.section-label) { color: var(--muted); }
.ai-feature .ai-image { width: 100%; mix-blend-mode: multiply; }
.section-action { text-align: center; margin-top: 48px; }
.section-action .button { min-width: 310px; }
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.about-text { color: var(--muted); }
.about-text p + p { margin-top: 22px; }
.about-text p:first-child { font-family: var(--serif); color: var(--ink); font-size: 20px; line-height: 1.9; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-top: 54px; }
.value img { width: 100%; mix-blend-mode: multiply; }
.value h3 { font-size: 23px; margin: 8px 0 17px; }
.value p { color: var(--muted); font-size: 16px; }
.company { border-top: 1px solid var(--line); }
.company-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; }
.company-heading > p:not(.section-label) { font-size: 16px; color: var(--muted); margin-top: 26px; }
.company-table-title { font-size: 24px; margin-bottom: 20px; }
.company-profile > div { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 21px 0; border-top: 1px solid var(--line); font-size: 16px; }
.company-profile dt { color: var(--muted); }
.company-profile dd { min-width: 0; overflow-wrap: anywhere; }
.company-profile dd span { color: var(--muted); font-size: 14px; }
.company-profile a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.contact-section { background: var(--surface); border-block: 1px solid var(--line); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.contact-inner h2 { margin-bottom: 24px; }
.contact-inner p:not(.section-label) { color: var(--muted); }
.contact-actions { display: grid; justify-items: center; min-width: 320px; gap: 18px; }
.contact-actions .button { width: 100%; min-height: 76px; font-size: 20px; justify-content: space-between; padding-inline: 38px; }
.contact-email { display: inline-flex; align-items: center; min-height: 44px; gap: 22px; color: var(--muted); }
.contact-email:hover { text-decoration: underline; color: var(--blue); }
.site-footer { padding: 66px 0 24px; }
.footer-top { display: flex; align-items: start; justify-content: space-between; gap: 40px; }
.footer-brand .brand { width: 220px; margin-bottom: 24px; }
.footer-brand > p { font-size: 16px; }
.footer-brand .footer-tagline { font-family: var(--serif); font-size: 16px; margin-top: 8px; }
.footer-tagline span { display: inline-block; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; }
.footer-nav a, .footer-services a, .site-footer address a, .footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
.site-footer a:hover { text-decoration: underline; color: var(--blue); }
.footer-services { display: flex; flex-wrap: wrap; gap: 0 28px; margin-block: 42px 24px; border-block: 1px solid var(--line); padding-block: 16px; font-size: 14px; }
.site-footer address { font-style: normal; color: var(--muted); font-size: 14px; }
.footer-fax { margin-left: 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; color: var(--muted); font-size: 13px; }
.footer-bottom small { font-size: 12px; }

@media (max-width: 1150px) and (min-width: 901px) {
  .brand { width: 205px; }
  .desktop-nav { gap: 20px; font-size: 14px; }
  .hero h1 { font-size: 4.25vw; }
  .hero-company { font-size: 17px; }
  .hero-actions .button { min-width: 0; padding-inline: 21px; font-size: 16px; }
  .hero-art { top: 62px; }
  .business-shortcuts a { padding-inline: 16px; gap: 12px; font-size: 14px; }
  .shortcut-line { width: 22px; }
  .hero-bottom { gap: 15px; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 82px; padding-block: 18px; }
  .brand { width: 190px; }
  .desktop-nav { gap: 4px 22px; flex-wrap: wrap; font-size: 14px; }
  .desktop-nav .nav-contact { font-size: 14px; padding: 9px 18px; }
  .js-enabled .desktop-nav { display: none; }
  .js-enabled .menu-toggle { display: block; }
  .purpose-grid { grid-template-columns: 1fr 1fr; }
  .hero-stage { min-height: 0; padding: 34px var(--gutter) 0; }
  .hero-copy { width: 100%; max-width: 690px; margin-inline: auto; }
  .hero-company { font-size: 18px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(38px, 6.8vw, 62px); line-height: 1.34; letter-spacing: -.035em; }
  .hero-description { font-size: 18px; margin-top: 28px; max-width: 610px; }
  .hero-actions { gap: 16px; margin-top: 25px; }
  .hero-actions .button { min-width: 230px; }
  .hero-art { position: relative; width: calc(100% + var(--gutter) * 2); max-width: none; margin: 12px calc(var(--gutter) * -1) 0; top: auto; right: auto; }
  .hero-art img { mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%); mask-composite: add; }
  .hero-bottom { padding-top: 6px; padding-bottom: 42px; gap: 0; }
  .business-shortcuts { grid-template-columns: 1fr 1fr; }
  .business-shortcuts a { min-height: 74px; padding-inline: 26px; border-right: 0; gap: 22px; }
  .business-shortcuts a:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 8px; }
  .business-shortcuts a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .shortcut-number { font-size: 24px; }
  .scroll-link { display: none; }
  .section-space { padding-block: 80px; }
  .section-heading { gap: 40px; }
  .section-intro { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 48px 30px; }
  .service h3 { font-size: 23px; }
  .ai-feature { gap: 24px; }
  .ai-copy { padding-left: 0; }
  .ai-feature h3 { font-size: 26px; }
  .about-intro, .company-layout { gap: 36px; }
  .values-grid { gap: 26px; }
  .value h3 { font-size: 21px; }
  .company-profile > div { grid-template-columns: 62px 1fr; gap: 20px; }
  .contact-inner { gap: 35px; }
  .contact-actions { min-width: 260px; }
  .contact-actions .button { padding-inline: 28px; }
}
@media (max-width: 600px) {
  :root { --gutter: 28px; }
  .header-inner { min-height: 72px; padding-top: 15px; padding-bottom: 12px; gap: 18px; }
  .brand { width: 153px; }
  .header-inner .brand { height: 44px; aspect-ratio: auto; }
  .header-inner .brand img { height: auto; top: 50%; transform: translateY(-52.273%); }
  .header-inner .menu-toggle { margin-right: -7px; }
  .hero-stage { padding-top: 8px; }
  .hero-company { font-size: 15px; letter-spacing: .18em; margin-bottom: 12px; }
  .hero h1 { font-size: clamp(32px, 10.25vw, 58px); line-height: 1.37; letter-spacing: -.065em; }
  .hero-description { font-size: 16px; line-height: 1.85; margin-top: 20px; letter-spacing: 0; }
  .desktop-break { display: none; }
  .hero-actions { gap: 10px; margin-top: 21px; }
  .hero-actions .button { min-width: 0; flex: 1; min-height: 48px; padding: 12px 7px; font-size: 15px; gap: 7px; letter-spacing: 0; white-space: nowrap; }
  .hero-art { margin-top: 16px; }
  .hero-bottom { padding: 4px 24px 34px; }
  .business-shortcuts a { min-height: 64px; padding-inline: 12px 4px; gap: 10px; font-size: 13px; white-space: nowrap; }
  .business-shortcuts a:nth-child(odd) { padding-left: 4px; padding-right: 10px; }
  .shortcut-number { font-size: 21px; }
  .shortcut-line { width: 12px; flex-shrink: 0; }
  .section-space { padding-block: 66px; }
  h2 { font-size: 29px; line-height: 1.6; letter-spacing: .02em; }
  .section-label { font-size: 11px; margin-bottom: 16px; }
  .section-heading, .about-intro, .company-layout { grid-template-columns: 1fr; gap: 25px; }
  .section-heading { margin-bottom: 32px; }
  .section-intro { line-height: 1.95; }
  .service-grid { grid-template-columns: 1fr; gap: 40px; }
  .purpose-grid { grid-template-columns: 1fr; }
  .service h3 { font-size: 25px; }
  .service-body { padding-top: 18px; }
  .service-number { margin-bottom: 3px; }
  .service-body .service-tags { font-size: 13px !important; }
  .ai-feature { grid-template-columns: 1fr; gap: 4px; margin-top: 48px; padding: 30px 0 12px; }
  .ai-feature h3 { font-size: 26px; }
  .ai-image { grid-row: 1; }
  .ai-copy { padding-block: 12px; }
  .section-action { margin-top: 32px; }
  .section-action .button { min-width: 0; width: 100%; font-size: 16px; padding-inline: 16px; }
  .about-text p:first-child { font-size: 18px; }
  .values-grid { grid-template-columns: 1fr; gap: 34px; margin-top: 30px; }
  .value h3 { font-size: 24px; }
  .value img { width: min(100%, 360px); margin-inline: auto; }
  .company-heading > p:not(.section-label) { margin-top: 20px; }
  .company-profile > div { grid-template-columns: 64px 1fr; gap: 18px; padding-block: 18px; }
  .company-table-title { font-size: 22px; }
  .contact-inner { flex-direction: column; align-items: stretch; gap: 32px; }
  .contact-inner h2 { font-size: clamp(24px, 6.35vw, 29px); letter-spacing: 0; }
  .contact-actions { min-width: 0; gap: 10px; }
  .contact-actions .button { min-height: 64px; font-size: 18px; }
  .site-footer { padding-top: 48px; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-brand .brand { width: 180px; }
  .footer-brand .footer-tagline { font-size: 15px; }
  .footer-nav { width: 100%; font-size: 15px; gap: 4px 22px; }
  .footer-services { gap: 0 20px; margin-top: 24px; }
  .footer-bottom { align-items: start; flex-direction: column-reverse; gap: 15px; }
  body:not(.js-enabled) .header-inner { flex-wrap: wrap; }
}
@media (max-width: 359px) {
  :root { --gutter: 20px; }
  .hero h1 { font-size: 9.5vw; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { font-size: 16px; }
  .business-shortcuts a { gap: 8px; padding-left: 10px; font-size: 13px; }
  .shortcut-line { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
