:root {
  --blue: #0588f5;
  --deep-blue: #063f99;
  --pink: #db0085;
  --ink: #18191c;
  --muted: #72777d;
  --line: #e5e8eb;
  --paper: #ffffff;
  --soft: #f5f7f9;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 15px; line-height: 1.95; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; }

.site-header { height: 82px; position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 12px 4.6vw; background: #fff; }
.site-header.is-dark { position: absolute; left: 0; right: 0; background: transparent; color: #fff; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.menu-button { width: 58px; padding: 7px 0 0; cursor: pointer; border: 0; background: transparent; color: currentColor; display: grid; gap: 5px; justify-items: end; }
.menu-button span { height: 2px; width: 27px; background: currentColor; display: block; transition: transform .2s, opacity .2s; }
.menu-button b { font-family: Arial, sans-serif; font-weight: 400; font-size: 9px; letter-spacing: .05em; margin-top: 1px; }
.menu-button[aria-expanded="true"] span:first-child { 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); }
.menu-panel { position: absolute; right: 4.6vw; top: 76px; display: grid; background: rgba(9, 12, 18, .96); color: #fff; min-width: 250px; padding: 16px 26px; box-shadow: 0 14px 40px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s; }
.menu-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-panel a { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.22); font-weight: 700; }
.menu-panel a:last-child { border-bottom: 0; }

.page-hero { min-height: 295px; margin-top: 0; color: #fff; position: relative; isolation: isolate; display: grid; place-items: center; background: #102330; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: var(--hero-image) center/cover no-repeat; }
.page-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(0, 33, 63, .30); }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.2; margin: 0; font-weight: 800; letter-spacing: .08em; text-shadow: 0 2px 12px rgba(0,0,0,.28); }

.home-hero { min-height: 100vh; color: #fff; background: #000; display: flex; align-items: center; padding: 0 5vw; }
.home-message { margin-top: 15vh; font-size: clamp(31px, 4.6vw, 57px); line-height: 1.5; font-style: italic; letter-spacing: .02em; font-weight: 300; }
.home-message strong, .home-message b { color: var(--blue); font-weight: 900; }
.home-section { max-width: var(--max); margin: 0 auto; padding: 120px 5vw; }
.eyebrow { color: var(--blue); font-weight: 800; letter-spacing: .06em; }
.home-business h1 { margin: 12px 0 6px; font-size: clamp(32px, 4vw, 46px); letter-spacing: .06em; }
.home-business p { margin: 0; font-size: 18px; }
.text-link { display: inline-flex; margin-top: 30px; align-items: center; gap: 22px; font-weight: 700; }
.text-link span { border-radius: 50%; background: var(--blue); color: #fff; width: 40px; height: 40px; display: grid; place-items: center; font-size: 28px; line-height: 1; }
.home-vision { max-width: none; padding-left: max(5vw, calc((100% - var(--max))/2)); padding-right: max(5vw, calc((100% - var(--max))/2)); background: linear-gradient(118deg, #f5f7f9 0%, #f5f7f9 56%, #eff3f8 56%); }
.home-vision > div { max-width: 680px; }
.home-vision h2 { font-size: clamp(26px, 3.7vw, 42px); letter-spacing: .03em; line-height: 1.5; margin: 14px 0 22px; }
.home-vision p { font-size: 16px; }
.recruit-cta { max-width: var(--max); margin: 0 auto; padding: 88px 5vw; display: flex; gap: 36px; align-items: center; justify-content: space-between; }
.recruit-cta h2 { max-width: 500px; font-size: clamp(23px, 3vw, 34px); line-height: 1.5; margin: 0 0 10px; }
.recruit-cta p { margin: 0; line-height: 1.8; }
.button-outline { min-width: 210px; color: #fff; background: var(--blue); border: 1px solid var(--blue); padding: 16px 25px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; transition: .2s; }
.button-outline span { font-size: 26px; line-height: 1; }
.button-outline:hover { background: #fff; color: var(--blue); }
.home-news { max-width: var(--max); margin: 0 auto; padding: 35px 5vw 80px; }
.home-news h2 { color: var(--blue); font-size: 24px; letter-spacing: .1em; margin: 0; }
.home-links { display: grid; grid-template-columns: repeat(3, 1fr); background: #101319; color: #fff; }
.home-links a { padding: 50px 7vw; border-right: 1px solid rgba(255,255,255,.2); font-size: 26px; font-weight: 800; transition: background .2s; }
.home-links a:last-child { border-right: 0; }
.home-links a:hover { background: var(--blue); }
.home-links small { font-size: 14px; font-weight: 400; }

.service-index { max-width: var(--max); margin: 0 auto; padding: 84px 5vw 40px; }
.service-index h1 { font-size: 31px; margin: 6px 0 0; }
.service-index > p { margin: 0 0 42px; }
.service-cards { margin-top: 12px; }
.service-card { display: grid; grid-template-columns: 62px minmax(0,1fr) 165px; gap: 0; align-items: center; min-height: 148px; padding: 25px 0; border-bottom: 1px solid var(--line); transition: .2s; }
.service-card:hover { padding-left: 14px; color: var(--blue); }
.service-no { align-self: start; font-size: 32px; font-weight: 800; line-height: 1.1; color: #e3e5e7; }
.service-copy { display: grid; line-height: 1.5; }
.service-copy small { font-size: 13px; font-family: Arial, sans-serif; }
.service-copy strong { font-size: 28px; letter-spacing: .03em; }
.service-copy em { font-style: normal; font-size: 14px; color: var(--ink); margin-top: 8px; }
.view-more { display: flex; gap: 16px; align-items: center; font-family: Arial, sans-serif; font-size: 13px; justify-content: end; font-weight: 700; }
.view-more i { font-style: normal; background: var(--blue); color: #fff; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; font-size: 30px; line-height: 1; }

.content-wrap { max-width: 930px; margin: 0 auto; padding: 84px 5vw; }
.prose { font-size: 15px; line-height: 2.08; }
.prose h1, .prose h2, .prose h3 { line-height: 1.55; }
.prose h1 { font-size: 34px; margin: 0 0 42px; }
.prose h2 { font-size: 25px; border-left: 4px solid var(--blue); padding-left: 18px; margin: 70px 0 24px; }
.prose h3 { font-size: 19px; margin: 46px 0 12px; }
.prose p { margin: 0 0 22px; }
.prose ul, .prose ol { margin: 0 0 26px; padding-left: 24px; }
.prose li { margin: 7px 0; }
.prose img { margin: 35px auto; max-width: 100%; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.prose table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; margin: 28px 0; }
.prose th, .prose td { border: 1px solid #d8dde0; padding: 11px 14px; text-align: left; vertical-align: top; min-width: 130px; }
.prose th { background: #f3f6f8; }
.prose code { white-space: normal; background: #f5f6f7; padding: 2px 5px; }

.service-title { max-width: 930px; margin: 0 auto; padding: 64px 5vw 0; }
.service-title p { color: var(--blue); font-weight: 700; margin: 0 0 10px; }
.service-title h2 { font-size: clamp(26px, 3vw, 37px); line-height: 1.5; margin: 0; }
.service-prose { padding-top: 38px; }
.other-services { background: var(--soft); padding: 72px max(5vw, calc((100% - var(--max))/2)); }
.other-services > h2 { font-size: 28px; margin: 0 0 20px; }
.service-cards.compact { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
.service-cards.compact .service-card { grid-template-columns: minmax(0,1fr); min-height: 112px; }
.service-cards.compact .service-no, .service-cards.compact .view-more { display: none; }
.service-cards.compact .service-copy strong { font-size: 19px; }

.contact-wrap { max-width: 780px; margin: 0 auto; padding: 72px 5vw 100px; }
.contact-form { display: grid; gap: 23px; }
.contact-form label { display: grid; gap: 8px; font-weight: 700; }
.contact-form b { color: var(--pink); }
.contact-form input:not([type="checkbox"]), .contact-form textarea { width: 100%; border: 1px solid #cfd4d8; background: #fff; border-radius: 0; padding: 13px 14px; color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form .agreement { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.contact-form button { margin-top: 12px; justify-self: center; border: 0; background: var(--blue); color: #fff; min-width: 190px; padding: 15px 30px; cursor: pointer; font-weight: 700; }

.empty-page { min-height: 350px; }
.news-empty { min-height: 300px; max-width: var(--max); padding: 72px 5vw; margin: 0 auto; }
.news-empty h1 { margin: 0; font-size: 30px; }
.article-layout { max-width: 1180px; padding: 82px 5vw 100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 74px; align-items: start; }
.news-article > p:first-child { color: var(--blue); font-weight: 800; margin-bottom: 0; }
.news-article > p:nth-child(2) { color: #72777d; font-family: Arial, sans-serif; font-size: 13px; }
.news-article > h1 { font-size: 31px; margin: 8px 0 46px; }
.back-link { margin-top: 50px !important; }
.back-link a { display: inline-block; border-bottom: 1px solid var(--blue); text-decoration: none; padding-bottom: 3px; }
.latest { padding-top: 8px; }
.latest h2 { font-size: 22px; margin: 0; }
.latest > p { letter-spacing: .1em; color: var(--blue); font-size: 12px; margin: 0 0 15px; }
.latest-card { border-top: 1px solid var(--line); padding: 15px 0; display: block; }
.latest-card img { width: 100%; height: 112px; object-fit: cover; margin-bottom: 8px; }
.latest-card span { font-family: Arial, sans-serif; font-size: 11px; color: var(--blue); display: block; }
.latest-card strong { display: block; line-height: 1.55; font-size: 13px; }
.latest-card p { font-size: 11px; line-height: 1.55; margin: 4px 0 0; color: #70777d; }

.site-footer { background: #11151d; color: #fff; padding: 62px max(5vw, calc((100% - var(--max))/2)) 28px; text-align: center; }
.footer-brand img { width: 74px; height: 74px; object-fit: contain; margin: 0 auto 9px; background: #fff; border-radius: 50%; }
.footer-brand h2 { font-size: 18px; margin: 0; font-weight: 600; }
.socials { display: flex; justify-content: center; gap: 12px; padding: 20px 0; }
.socials a { border: 1px solid rgba(255,255,255,.6); border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; line-height: 1; font-size: 13px; }
.footer-nav { display: flex; gap: 19px; justify-content: center; flex-wrap: wrap; font-size: 12px; color: #dbe0e6; padding-bottom: 30px; }
.site-footer small { color: #9da4ac; font-size: 11px; }

@media (max-width: 740px) {
  body { font-size: 14px; }
  .site-header { height: 72px; padding: 10px 24px; }
  .brand img { width: 47px; height: 47px; }
  .menu-panel { top: 66px; right: 24px; left: 24px; min-width: 0; }
  .page-hero { min-height: 210px; }
  .home-hero { min-height: 100svh; padding: 0 26px; }
  .home-message { margin-top: 12vh; font-size: clamp(29px, 8.7vw, 41px); line-height: 1.55; }
  .home-section { padding: 76px 26px; }
  .home-business p { font-size: 15px; }
  .home-vision { padding: 76px 26px; }
  .recruit-cta { padding: 60px 26px; display: grid; gap: 24px; }
  .button-outline { width: 100%; }
  .home-links { grid-template-columns: 1fr; }
  .home-links a { padding: 27px 26px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: 21px; }
  .service-index { padding: 54px 26px 20px; }
  .service-card { grid-template-columns: 48px minmax(0,1fr); min-height: 135px; }
  .service-no { font-size: 25px; }
  .service-copy strong { font-size: 21px; }
  .service-copy em { font-size: 12px; }
  .view-more { grid-column: 2; justify-content: flex-start; margin-top: 12px; }
  .view-more i { width: 39px; height: 39px; font-size: 23px; }
  .content-wrap { padding: 56px 26px; }
  .prose h1 { font-size: 28px; margin-bottom: 30px; }
  .prose h2 { font-size: 21px; margin-top: 52px; padding-left: 13px; }
  .prose h3 { font-size: 17px; }
  .service-title { padding: 42px 26px 0; }
  .service-title h2 { font-size: 24px; }
  .other-services { padding: 55px 26px; }
  .service-cards.compact { grid-template-columns: 1fr; }
  .service-cards.compact .service-card { grid-template-columns: 1fr; min-height: 94px; }
  .article-layout { display: block; padding: 56px 26px; }
  .news-article > h1 { font-size: 25px; }
  .latest { margin-top: 68px; }
  .latest > div { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 16px; }
  .latest-card img { height: 80px; }
  .site-footer { padding: 54px 26px 24px; }
}

/* ---- added: tables, lists, news index ---- */
.prose table.info-table { display: table; width: 100%; table-layout: auto; }
.prose .info-table th, .prose .info-table td { min-width: 0; }
.prose .info-table tbody th { width: 28%; white-space: normal; }
.prose .info-table td p { margin: 0 0 10px; }
.prose .info-table td p:last-child { margin-bottom: 0; }
.prose .price-table thead th:first-child { background: transparent; border-top-color: transparent; border-left-color: transparent; }
.prose .monitor-table tbody th { width: 22%; vertical-align: middle; }
.prose .check-list { list-style: none; padding-left: 0; }
.prose .check-list li { position: relative; padding-left: 28px; }
.prose .check-list li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: var(--blue); font-weight: 800; }
.prose .flow-list { counter-reset: flow; list-style: none; padding-left: 0; }
.prose .flow-list li { counter-increment: flow; border: 1px solid var(--line); padding: 12px 16px 12px 58px; position: relative; margin: 0 0 10px; }
.prose .flow-list li::before { content: counter(flow, decimal-leading-zero); position: absolute; left: 16px; top: 12px; color: var(--blue); font-weight: 800; font-family: Arial, sans-serif; }
.prose .eyebrow { color: var(--blue); font-weight: 800; letter-spacing: .08em; margin: 0; }
.news-index { max-width: var(--max); margin: 0 auto; padding: 72px 5vw 100px; }
.news-index h1 { margin: 0 0 12px; font-size: 30px; }
.news-index .lead { color: var(--muted); margin: 0 0 24px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; margin-top: 18px; }
.news-grid .latest-card img { height: 150px; }
.news-grid .latest-card strong { font-size: 15px; }
.news-grid .latest-card p { font-size: 12px; }
.home-news .text-link { margin-top: 18px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .news-grid { grid-template-columns: minmax(0, 1fr); }
  .prose .info-table.kv tbody th, .prose .info-table.kv td { display: block; width: auto; }
  .prose .info-table.kv tbody th { border-bottom: 0; }
  .prose .info-table.kv tbody tr + tr th { border-top: 0; }
  .prose .info-table:not(.kv) th, .prose .info-table:not(.kv) td { padding: 9px 10px; font-size: 13px; }
  .prose .monitor-table tbody th { width: auto; }
}
.contact-form .form-error { color: #c4002f; font-weight: 700; margin: 0; }
.contact-form .form-note { font-size: 12px; color: var(--muted); margin: 0; text-align: center; line-height: 1.8; }
.contact-form .form-note a { color: var(--blue); text-decoration: underline; }
.contact-form .form-done { color: var(--blue); font-weight: 700; font-size: 13px; }
@media (min-width: 741px) { .home-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.home-message .nb { display: inline-block; }
.footer-brand { margin-bottom: 24px; }
.prose .signature { text-align: right; margin-top: 36px; }
.nb { display: inline-block; }
.notice { background: #fff8ec; border-left: 4px solid #e68a00; color: #5a3b00; padding: 12px 16px; margin: 24px 0 0; font-weight: 700; font-size: 14px; line-height: 1.8; }
.contact-wrap > .notice { margin: 0 0 32px; }
.service-title .notice { color: #5a3b00; margin-top: 24px; }
/* ---- top hero: client-supplied visual (headline is part of the image) ---- */
.site-header.is-overlay { position: absolute; left: 0; right: 0; background: transparent; }
.site-header.on-photo { color: #fff; }
.home-hero.photo-hero { display: block; min-height: 0; padding: 0; background: #0b1a33; }
.photo-hero picture, .photo-hero .hero-photo { display: block; width: 100%; height: auto; }
.hero-sp-text { display: none; }
@media (max-width: 700px) {
  .home-hero.photo-hero { background: #050d1c; }
  .photo-hero picture { position: relative; }
  .photo-hero picture::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(to bottom, rgba(5, 13, 28, 0), #050d1c); pointer-events: none; }
  .hero-sp-text { display: block; position: relative; margin-top: -56px; padding: 0 26px 60px; color: #fff; }
  .hero-sp-text .copy { margin: 0; font-weight: 800; font-size: clamp(32px, 9.6vw, 46px); line-height: 1.36; letter-spacing: .02em; }
  .hero-sp-text em { font-style: normal; color: #4cb0f8; }
  .hero-sp-text .sub { margin: 18px 0 0; font-size: 14px; letter-spacing: .3em; color: rgba(255, 255, 255, .85); }
}
.prose .info-table .nb { white-space: nowrap; word-break: keep-all; overflow-wrap: normal; }
.service-index .other-business { font-size: 24px; margin: 72px 0 0; padding-top: 8px; }
@media (max-width: 740px) { .service-index .other-business { font-size: 21px; margin-top: 52px; } }
/* ---- home: brand banner (黄玉) ---- */
.home-brand { background: #fbf6ec; padding: 64px max(5vw, calc((100% - var(--max))/2)); }
.home-brand a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 36px; color: #3d2a12; }
.home-brand .brand-label { grid-column: 1 / -1; color: #b8862b; font-family: Arial, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .14em; }
.home-brand strong { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: .06em; line-height: 1.3; }
.home-brand strong small { font-family: Arial, sans-serif; font-size: .45em; letter-spacing: .14em; color: #b8862b; margin-left: 6px; }
.home-brand .brand-copy { font-size: 15px; }
.home-brand .brand-go { display: flex; gap: 14px; align-items: center; font-family: Arial, sans-serif; font-weight: 700; font-size: 13px; }
.home-brand .brand-go i { font-style: normal; background: #c8962f; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; line-height: 1; transition: transform .2s; }
.home-brand a:hover .brand-go i { transform: translateX(4px); }
@media (max-width: 740px) {
  .home-brand { padding: 48px 26px; }
  .home-brand a { grid-template-columns: 1fr; gap: 6px; }
  .home-brand .brand-copy { font-size: 14px; }
  .home-brand .brand-go { margin-top: 14px; }
  .home-brand .brand-go i { width: 40px; height: 40px; font-size: 22px; }
}
