:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --white: #fff;
  --ink: #191a18;
  --muted: #565650;
  --line: #dedcd3;
  --accent: #ff5928;
  --accent-dark: #a42e0e;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*, ::before, ::after { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #007697; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.23; }
ol, ul { padding: 0; margin: 0; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 96px; }
.frame { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; inset: 12px auto auto 12px; z-index: 10; background: var(--white); padding: 10px 16px; }
.site-header { border-bottom: 1px solid #e5e3da; background: var(--paper); position: relative; z-index: 4; }
.head-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-flex; gap: 10px; align-items: center; flex: none; line-height: 1; }
.brand img { width: 43px; }
.brand strong, .brand small { display: block; white-space: nowrap; }
.brand strong { font-size: 22px; letter-spacing: .03em; }
.brand small { font-size: 9px; font-weight: 800; letter-spacing: .125em; margin-top: 6px; }
.nav-items { display: flex; gap: clamp(20px, 3vw, 46px); align-items: center; font-size: 15px; font-weight: 650; }
.nav-items a:not(.nav-cta) { display: grid; min-height: 46px; align-content: center; }
.nav-items a[aria-current], .nav-items a:hover { color: var(--accent-dark); }
.nav-items .nav-cta { display: inline-flex; align-items: center; gap: 16px; min-height: 45px; padding: 8px 16px; background: var(--ink); color: var(--white); }
.nav-items .nav-cta:hover, .nav-items .nav-cta[aria-current] { color: var(--ink); background: var(--accent); }
.mobile-nav { display: none; }
.arrow { font-family: Arial, sans-serif; flex: none; font-size: 1.25em; line-height: 1; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 50px; padding: 11px 18px; border: 1px solid transparent; background: var(--accent); color: var(--ink); font-weight: 750; line-height: 1.3; text-align: left; }
.button:hover { background: #ff754f; }
.button.ink { background: var(--ink); color: var(--white); }
.button.ink:hover { background: #35362f; }
.button.ghost { color: var(--white); background: transparent; border-color: #949490; }
.button.ghost:hover { background: var(--white); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 16px; flex: none; min-height: 40px; padding-bottom: 2px; border-bottom: 1px solid currentColor; font-weight: 750; }
.text-link:hover { color: var(--accent-dark); }
.hero { position: relative; isolation: isolate; min-height: clamp(560px, 48vw, 730px); color: var(--white); background: #1b1a17; display: grid; }
.hero > img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero > img { object-fit: cover; object-position: center 52%; }
.hero::after { content: ""; background: linear-gradient(90deg, #130f0eec 1%, #171515be 30%, #17151566 50%, #17151500 72%), linear-gradient(0deg, #0e0d0ca6 0%, transparent 24%); }
.hero-layout { position: relative; display: grid; align-items: center; padding-block: 70px 92px; }
.hero-copy { max-width: 720px; }
.eyebrow { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: .13em; color: #f3e8dc; }
.eyebrow span, .hero-caption i { width: 8px; height: 8px; display: inline-block; background: var(--accent); }
.hero h1 { font-size: clamp(60px, 7.15vw, 110px); line-height: 1.04; margin: 28px 0 22px; letter-spacing: -.065em; font-weight: 850; }
.hero h1 em { color: #fff4e7; font-style: normal; }
.hero h1 em span { color: var(--accent); }
.hero-intro { max-width: 420px; font-size: 18px; color: #eee7dd; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-caption { position: absolute; bottom: 23px; right: 0; font-size: 12px; color: #fff4ea; padding: 5px 10px; background: #111b; }
.hero-caption i { width: 6px; height: 6px; margin-right: 5px; }
.scope-bar { background: var(--accent); }
.scope-bar .frame { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 11px; }
.scope-bar span { padding: 9px 8px; text-align: center; font-weight: 750; letter-spacing: .09em; }
.scope-bar span + span { border-left: 1px solid #191a184e; }
.section { padding-block: 84px; }
.section-start { padding-top: 20px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading h2, .split-heading h2 { font-size: clamp(29px, 3.5vw, 48px); letter-spacing: -.06em; }
.section-heading p, .split-heading p { margin-top: 11px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 172px; height: 100%; display: flex; padding: 20px; align-items: flex-start; justify-content: space-between; gap: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .18s; }
.service-card .arrow { color: var(--accent-dark); }
.service-card:hover { background: #fff0e8; }
.service-card h3, .guide-grid h3 { font-size: clamp(19px, 1.55vw, 24px); }
.service-card p { margin-top: 11px; color: var(--muted); font-size: 14px; }
.case-section { background: #eeece5; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; }
.case figure { overflow: hidden; background: #d6d2c7; }
.case img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .26s ease; }
.case a:hover img { transform: scale(1.045); }
.case-copy { display: flex; align-items: center; justify-content: space-between; padding-block: 12px; gap: 12px; border-bottom: 1px solid #cbc7ba; }
.case-copy p { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.case-copy h3 { font-size: clamp(18px, 1.55vw, 24px); }
.case-copy .arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #cecabf; }
.case a:hover .arrow { background: var(--accent); border-color: var(--accent); }
.dark, .site-footer { color: #f7f4eb; background: var(--ink); }
.dark .section-heading p { color: #c4c2b8; }
.dark .text-link:hover, .site-footer a:hover { color: #ff8a67; }
.process { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #52534b; }
.process li { padding: 22px 18px 0 0; }
.process li + li { border-left: 1px solid #52534b; padding-left: 18px; }
.process span { color: #ff8a67; font-weight: 800; letter-spacing: .1em; font-size: 13px; }
.process h3 { margin-top: 12px; font-size: 22px; }
.process p { font-size: 14px; color: #c4c2b8; margin-top: 8px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-grid article a { display: grid; height: 100%; align-content: start; gap: 12px; padding: 22px; border: 1px solid var(--line); }
.guide-grid article a:hover { border-color: var(--accent-dark); }
.guide-grid p { font-size: 14px; color: var(--muted); }
.guide-grid .guide-label { color: var(--accent-dark); font-weight: 700; }
.guide-grid .arrow { margin-top: 6px; }
.home-faq { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: 30px; border-top: 1px solid var(--line); }
.split-heading .text-link { margin-top: 17px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 53px; padding-block: 10px; list-style: none; cursor: pointer; font-weight: 750; }
summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-dark); font: 24px Arial, sans-serif; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 32px 16px 0; color: var(--muted); }
.project-cta { background: var(--accent); color: var(--ink); }
.cta-content { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-block: 50px; }
.cta-content h2 { font-size: clamp(26px, 4vw, 52px); letter-spacing: -.06em; }
.cta-content p { font-size: 17px; margin-top: 14px; font-weight: 650; }
.cta-content p a { text-decoration: underline; text-underline-offset: 4px; }
.site-footer { padding-top: 48px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 30px; padding-bottom: 36px; align-items: start; }
.footer-top p, .footer-bottom { color: #c4c2b8; font-size: 14px; }
.footer-top p { margin-top: 13px; }
.footer-top nav { display: grid; grid-template-columns: repeat(2, minmax(70px, 1fr)); gap: 6px 12px; }
.footer-top address { display: grid; font-style: normal; }
.footer-top address a { font-variant-numeric: tabular-nums; font-size: 18px; }
.footer-bottom { padding-block: 15px; border-top: 1px solid #52534b; display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.trail { padding-top: 24px; font-size: 13px; color: var(--muted); }
.trail ol { list-style: none; display: flex; gap: 9px; flex-wrap: wrap; }
.trail li + li::before { content: "/"; margin-right: 9px; color: #6d6b61; }
.trail a:hover { color: var(--accent-dark); text-decoration: underline; }
.page-heading { padding-block: 56px 42px; }
.page-heading h1 { font-size: clamp(40px, 6.2vw, 80px); letter-spacing: -.065em; overflow-wrap: anywhere; }
.page-heading p { max-width: 780px; margin-top: 18px; font-size: clamp(16px, 2vw, 20px); color: var(--muted); }
.page-heading .detail-kicker { font-size: 14px; color: var(--accent-dark); font-weight: 750; margin: 0 0 13px; }
.detail-layout, .case-detail, .contact-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr); gap: 40px; align-items: start; }
.detail-layout + .process-section { margin-top: 64px; }
.reading { max-width: 790px; }
.reading h2, .aside-panel h2, .contact-layout h2 { font-size: clamp(22px, 2.65vw, 34px); margin-bottom: 12px; letter-spacing: -.045em; }
.reading h2:not(:first-child), .reading section, .reading + .aside-panel .aside-action { margin-top: 27px; }
.reading p, .plain-list { color: var(--muted); }
.plain-list { list-style: none; }
.plain-list li { padding: 6px 0 6px 17px; position: relative; }
.plain-list li::before { content: ""; background: var(--accent-dark); width: 5px; height: 5px; position: absolute; left: 1px; top: 17px; }
.aside-panel { background: #eeece5; padding: 24px; }
.aside-panel p { color: var(--muted); margin: 8px 0; }
.aside-panel .button { margin-top: 14px; }
.aside-panel a:not(.button):hover { color: var(--accent-dark); text-decoration: underline; }
.aside-panel dt { color: var(--muted); font-size: 14px; }
.aside-panel dd { margin: 2px 0 15px; }
.tags { display: flex; list-style: none; flex-wrap: wrap; gap: 7px; }
.tags li { border: 1px solid #c9c6b9; font-size: 13px; padding: 4px 8px; }
.simulation-note { border-left: 3px solid var(--accent); padding: 14px 17px; background: #f1eee6; margin-bottom: 22px; }
.simulation-note strong { display: inline-block; margin-right: 9px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { min-height: 44px; border: 1px solid var(--line); padding: 6px 13px; background: transparent; color: var(--ink); }
.filters button:hover { border-color: var(--accent-dark); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.case-count { margin-block: 12px 17px; color: var(--muted); font-size: 14px; }
.project-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #dfdcd1; }
.project-image figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
.project-reading { margin: 35px auto 0; max-width: min(1320px, calc(100% - 96px)); }
.project-reading p { max-width: 780px; }
.answer { border-left: 3px solid var(--accent); background: #eeece5; padding: 16px 20px; font-weight: 700; }
.contact-layout { grid-template-columns: minmax(290px, 1fr) minmax(0, 1.5fr); margin-bottom: 68px; }
.contact-card { background: var(--ink); color: var(--white); padding: 32px; }
.contact-card span { color: #ff8a67; }
.contact-card h2 { margin-top: 9px; }
.contact-card h3 { margin: 26px 0 9px; }
.contact-card .plain-list { color: #e2dfd6; }
.contact-card .plain-list li::before { background: var(--accent); }
.contact-card a:hover { text-decoration: underline; }
.contact-mobile { color: #ff8a67; font-size: clamp(24px, 3.8vw, 43px); font-weight: 750; font-variant-numeric: tabular-nums; }
.contact-form { border: 1px solid var(--line); padding: 28px; }
.contact-form > p { color: var(--muted); margin-bottom: 14px; }
.contact-form label { display: block; font-weight: 700; margin-top: 15px; margin-bottom: 4px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 45px; padding: 8px 10px; border-radius: 0; border: 1px solid #9b998f; color: var(--ink); background: var(--white); }
.contact-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form .button { margin-top: 14px; }
.brief-output { margin-top: 18px; }
.form-status:not(:empty) { color: var(--muted); padding-top: 12px; }
.not-found { padding-block: 20px 80px; }
@media (max-width: 1050px) {
  .frame { width: calc(100% - 56px); }
  .project-reading { max-width: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 125px; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .head-inner { min-height: 66px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding-inline: 10px; list-style: none; cursor: pointer; font-weight: 750; }
  .mobile-nav nav { position: absolute; inset: 100% 0 auto; background: var(--paper); box-shadow: 0 14px 25px #2222; border-top: 1px solid var(--line); }
  .mobile-nav .nav-items { display: grid; gap: 0; padding: 8px 28px 20px; }
  .mobile-nav .nav-items a:not(.nav-cta) { border-bottom: 1px solid var(--line); }
  .mobile-nav .nav-cta { margin-top: 12px; justify-content: space-between; }
}
@media (max-width: 760px) {
  [id] { scroll-margin-top: 25px; }
  .section { padding-block: 54px; }
  .section-start { padding-top: 12px; }
  .hero { min-height: 600px; }
  .hero > img { object-position: 68% 50%; }
  .hero::after { background: linear-gradient(90deg, #171515e6, #171515b8 37%, #17151533 100%), linear-gradient(0deg, #171515c4, #17151515 36%); }
  .hero-layout { padding-block: 50px 65px; }
  .hero h1 { font-size: clamp(49px, 11vw, 83px); }
  .hero-intro { font-size: 16px; max-width: 320px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 24px; }
  .guide-grid, .home-faq, .detail-layout, .contact-layout, .case-detail { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process li, .process li + li { display: grid; grid-template-columns: 32px 1fr; gap: 6px 4px; padding: 14px 0; border: 0; border-bottom: 1px solid #52534b; }
  .process h3, .process p { margin: 0; }
  .process p { grid-column: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top nav { grid-row: 2; grid-column: 1/-1; }
  .page-heading { padding-block: 36px 30px; }
  .contact-layout { margin-bottom: 54px; }
  .detail-layout, .contact-layout, .case-detail { gap: 22px; }
}
@media (max-width: 620px) {
  .frame { width: calc(100% - 36px); }
  .case-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-card { min-height: 145px; padding: 13px; gap: 4px; }
  .service-card .arrow { font-size: 17px; }
  .service-card h3 { font-size: 17px; }
  .service-card p { font-size: 13px; }
  .scope-bar .frame { width: 100%; }
  .scope-bar span { font-size: 13px; letter-spacing: 0; }
  .cta-content { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 22px; }
  .footer-top nav { grid-row: auto; }
  .contact-form, .contact-card { padding: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 360px) {
  .hero { min-height: 535px; }
  .hero h1 { font-size: 46px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { transition-duration: .01ms !important; }
}
