/* 現行kyodo-m.jpの見た目を基準に独立したHTML用として記述。 */
:root {
  --ink: #000;
  --green: #076bb6;
  --hover: #005692;
  --line: #ddd;
  --site-font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--site-font);
  font-size: 16px;
  line-height: 2;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s; }
a:hover { color: var(--hover); }
a:focus-visible, button:focus-visible { outline: 3px solid #0068b7; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.65; }
.preview-notice {
  position: fixed;
  z-index: 20;
  bottom: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  padding: 4px 10px;
  background: rgba(255,255,255,.94);
  border: 1px solid #ccc;
  color: #555;
  font-size: 10px;
  line-height: 1.7;
}
.preview-notice span { display: block; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 15px; top: 85px; z-index: 30; padding: 10px; background: white; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 4.7%;
  gap: 50px;
  box-shadow: 0 0 10px rgba(0,0,0,.15);
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
}
.brand { display: block; flex-shrink: 0; }
.brand img { width: 126px; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 40px; margin: auto; font-size: 14px; }
.site-nav > * { white-space: nowrap; }
.site-nav span span, .site-nav a span { display: none; }
.pending-link { color: #5c5c5c; }
.menu-toggle { display: none; }
.hero { height: calc(100svh - 80px); min-height: 560px; position: relative; overflow: hidden; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-copy { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.hero h1 { font-family: var(--site-font); font-size: 38px; font-weight: 600; line-height: 1.7; letter-spacing: .03em; }
.scroll-label { position: absolute; bottom: 25px; left: calc(50% - 18px); width: 36px; font-size: 35px; text-align: center; }
.section { max-width: 1280px; margin: 0 auto; padding: 90px 5%; }
.intro { text-align: center; padding-top: 100px; padding-bottom: 0; max-width: none; }
.eyebrow { color: var(--green); font-size: 15px; line-height: 1.6; }
.intro .eyebrow { display: none; }
.intro h2 { font-family: var(--site-font); font-size: 34px; margin-bottom: 30px; font-weight: 600; }
.intro p { line-height: 2.4; }
.people-image { width: min(100%,1100px); margin: 60px auto 0; }
.text-link { display: inline-block; margin-top: 35px; padding: 12px 40px; border: 1px solid #000; font-size: 14px; }
.text-link:hover { color: #fff; background: #000; }
.text-link span { margin-left: 20px; }
.section-heading { margin-bottom: 45px; }
.section-heading .eyebrow { color: #000; font-size: 38px; font-family: var(--site-font); font-weight: 600; }
.section-heading h2 { margin-top: 5px; font-size: 18px; font-weight: 400; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.service-card { min-width: 0; border-bottom: 1px solid var(--line); }
.service-photo { width: 100%; aspect-ratio: 1.7; object-fit: cover; }
.card-body { padding: 25px 0 35px; }
.card-index { display: none; }
.service-card h3 { font-family: var(--site-font); font-size: 23px; color: var(--green); margin-bottom: 16px; }
.service-card h3 > a, .service-card h3 > span { display: flex; gap: 15px; justify-content: space-between; }
.service-card p { font-size: 14px; }
.section:has(.media-list) { background: #f5f5f5; max-width: none; padding-left: max(5%, calc((100vw - 1152px) / 2)); padding-right: max(5%, calc((100vw - 1152px) / 2)); }
.media-photo { width: 100%; aspect-ratio: 2.42; object-fit: cover; }
.media-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0 0 25px; }
.media-list > * { padding: 20px; text-align: center; font-size: 22px; font-family: var(--site-font); border: 1px solid #ddd; background: white; }
.section:has(.integration-note) { border-top: 1px solid #ddd; }
.integration-note { font-size: 12px; color: #666; border: 1px dashed #bbb; padding: 12px; margin-top: 20px; }
.contact-strip { padding: 70px 5%; text-align: center; background: #f5f5f5; }
.contact-strip h2 { font-family: var(--site-font); font-size: 30px; margin: 10px 0 30px; }
.contact-strip .eyebrow { color: #000; }
.button { display: inline-block; padding: 15px 35px; color: #fff; background: #000; font-size: 14px; }
.contact-strip .text-link { margin: 0 0 0 15px; }
.review { padding-top: 30px; padding-bottom: 30px; }
.review h2 { font-size: 15px; margin-bottom: 15px; }
.tbd { display: inline-block; color: #65400d; background: #fff2d4; border: 1px solid #9f641d; font-size: 12px; padding: 7px 11px; margin: 5px 5px 5px 0; line-height: 1.8; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid #ddd; display: flex; align-items: center; justify-content: space-between; padding: 65px 5% 80px; gap: 30px; }
.site-footer .brand img { width: 170px; }
.site-footer p, .site-footer > a:last-child { font-size: 12px; }
.breadcrumb { font-size: 12px; display: flex; gap: 16px; padding: 16px max(5%, calc((100vw - 1152px) / 2)); border-bottom: 1px solid #ddd; }
.breadcrumb > span:last-child { color: var(--green); }
.inner-layout { width: 90%; max-width: 1152px; margin: auto; display: grid; grid-template-columns: minmax(0,1fr) 30%; }
.inner-article { min-width: 0; }
.article-title { padding: 60px 40px 60px 0; border-bottom: 1px solid #ddd; position: relative; }
.article-title::after { position: absolute; bottom: -1px; left: 0; content: ""; width: 110px; height: 3px; background: var(--green); }
.article-title h1 { font-family: var(--site-font); font-size: 26px; font-weight: 600; color: var(--green); }
.inner-article .section { padding: 55px 40px 35px 0; }
.inner-article .section-heading .eyebrow { display: none; }
.inner-article .section-heading h2 { font-size: 24px; font-family: var(--site-font); font-weight: 600; margin-top: 0; }
.inner-article .section-heading { margin-bottom: 25px; }
.inner-article .contact-strip { margin-right: 40px; padding: 40px 20px; }
.inner-article .contact-strip h2 { font-size: 24px; }
.side-menu { border-left: 1px solid #ddd; }
.side-title { padding: 42px 40px; color: #fff; background: var(--green); font-family: var(--site-font); font-size: 26px; line-height: 1.5; }
.side-title span { display: block; font-size: 14px; font-family: var(--site-font); }
.side-menu > a { display: block; padding: 22px 40px; border-bottom: 1px solid #ddd; font-size: 14px; }
.side-menu > a:hover { background: var(--green); color: white; }
.directory-lead { margin-bottom: 30px; }
.service-directory { grid-template-columns: 1fr; gap: 0; }
.service-directory .service-card { padding: 28px 0; }
.detail-photo { width: 100%; aspect-ratio: 770 / 440; object-fit: cover; margin-bottom: 35px; }
.company-photo { width: 100%; aspect-ratio: 770 / 440; object-fit: contain; margin-bottom: 40px; }
.lead { font-size: 16px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 25px; border-top: 1px solid #ddd; padding: 24px 0; }
.step-number { font-size: 26px; color: var(--green); }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { font-size: 14px; }
.company-table { margin: 0; }
.company-table > div { display: grid; grid-template-columns: 25% 75%; border: 1px solid #ddd; border-bottom: 0; }
.company-table > div:last-child { border-bottom: 1px solid #ddd; }
.company-table dt, .company-table dd { padding: 20px; font-size: 14px; margin: 0; }
.company-table dt { background: #f5f5f5; border-right: 1px solid #ddd; font-weight: 400; }
.related-list { display: flex; flex-direction: column; gap: 15px; font-size: 14px; }
@media (max-width: 1000px) {
  .site-header { gap: 20px; padding: 0 4%; }
  .site-nav { gap: 18px; font-size: 12px; }
  .side-title { padding: 30px 20px; }
  .side-menu > a { padding: 20px; }
  .service-grid { gap: 20px; }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .site-header { height: 60px; justify-content: space-between; padding: 0 20px; }
  .brand img { width: 125px; }
  .menu-toggle { display: block; padding: 6px 0 6px 15px; background: white; border: 0; color: #000; font: inherit; font-size: 12px; }
  .site-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; margin: 0; background: white; border-bottom: 1px solid #ddd; padding: 10px 20px 20px; }
  .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > * { padding: 13px 0; font-size: 14px; border-bottom: 1px solid #eee; }
  .hero { min-height: 500px; height: calc(100svh - 60px); max-height: 850px; }
  .hero-copy { padding: 20px; }
  .hero h1 { font-size: clamp(23px, 5.4vw, 36px); line-height: 1.85; letter-spacing: 0; }
  .hero-photo { object-position: center; }
  .intro { padding: 65px 20px 0; }
  .intro h2 { font-size: 24px; line-height: 1.8; }
  .desktop-break { display: none; }
  .intro p { font-size: 14px; }
  .people-image { margin-top: 35px; }
  .section { padding: 55px 20px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading .eyebrow { font-size: 30px; }
  .section-heading h2 { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; gap: 30px; }
  .service-card h3 { font-size: 23px; }
  .card-body { padding-bottom: 20px; }
  .media-photo { aspect-ratio: 1.7; object-fit: contain; background: white; }
  .media-list { grid-template-columns: 1fr; }
  .media-list > * { padding: 15px; font-size: 20px; }
  .contact-strip { padding: 45px 20px; }
  .contact-strip h2 { font-size: 24px; }
  .contact-strip .text-link { display: table; margin: 15px auto 0; }
  .site-footer { padding: 45px 20px 90px; flex-direction: column; align-items: flex-start; gap: 25px; }
  .site-footer .brand img { width: 150px; }
  .breadcrumb { padding: 12px 20px; font-size: 11px; }
  .inner-layout { width: 100%; display: block; }
  .inner-article { padding: 0 20px; }
  .article-title { padding: 35px 0; }
  .article-title h1 { font-size: 24px; }
  .inner-article .section { padding: 35px 0 25px; }
  .inner-article .section-heading h2 { font-size: 22px; }
  .inner-article .contact-strip { margin-right: 0; }
  .side-menu { border-left: 0; margin: 30px 20px 45px; }
  .side-title { padding: 25px; font-size: 24px; }
  .side-menu > a { padding: 18px 25px; border-left: 1px solid #ddd; border-right: 1px solid #ddd; }
  .company-table dt, .company-table dd { padding: 15px 10px; font-size: 13px; overflow-wrap: anywhere; }
  .company-table > div { grid-template-columns: 27% 73%; }
  .company-photo { margin-bottom: 25px; }
  .review { padding-top: 30px; padding-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a { transition: none; }
}

/* v6: ZOZOの情報整理を参照したUI改善 */
:root { --green: #076bb6; --hover: #005692; }
[hidden] { display: none !important; }
section[id], h2[id] { scroll-margin-top: 110px; }
.site-header { height: 76px; padding: 0 5%; gap: 30px; box-shadow: none; border-bottom: 1px solid #e7e7e7; }
.brand img { width: 145px; }
.site-nav { gap: 30px; margin: 0 0 0 auto; font-size: 13px; font-weight: 600; }
.site-nav > a, .nav-disclosure { min-height: 48px; display: flex; align-items: center; }
.nav-group { position: relative; }
.nav-disclosure { gap: 8px; background: none; border: 0; padding: 0; font: inherit; color: #111; cursor: pointer; }
.nav-disclosure:hover, .nav-disclosure[aria-expanded="true"] { color: var(--green); }
.nav-disclosure span { display: inline !important; }
.site-nav .nav-contact { background: #111; color: #fff; padding: 0 22px; min-height: 43px; }
.site-nav .nav-contact:hover { background: var(--green); }
.nav-panel { position: absolute; top: calc(100% + 13px); left: -25px; width: 310px; padding: 25px; background: white; border: 1px solid #ddd; box-shadow: 0 15px 30px #0001; }
.nav-panel p { font-size: 10px; letter-spacing: .15em; color: #777; margin-bottom: 12px; }
.nav-panel a { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid #eee; }
.search-open, .search-close { background: none; border: none; color: #111; cursor: pointer; width: 44px; height: 44px; flex-shrink: 0; }
.search-open svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
dialog { border: 1px solid #ddd; padding: 35px; width: min(640px,calc(100% - 32px)); max-height: 85svh; color: #111; }
dialog::backdrop { background: #0008; backdrop-filter: blur(3px); }
.search-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.search-heading h2 { font-size: 23px; }
.search-close { font-size: 32px; }
dialog label { font-size: 12px; display: block; margin-bottom: 8px; }
dialog input { border: 1px solid #999; width: 100%; padding: 15px; border-radius: 0; font: inherit; }
.search-count { font-size: 12px; margin: 15px 0; color: #555; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results a { display: block; padding: 15px 0; border-top: 1px solid #ddd; }
.search-results small { display: block; font-size: 12px; color: #666; margin-top: 4px; }
body.dialog-open { overflow: hidden; }
.hero { height: min(690px,calc(100svh - 76px)); min-height: 520px; }
.hero-photo { object-position: center 38%; }
.hero-copy { flex-direction: column; align-items: flex-start; text-align: left; max-width: 1180px; margin: auto; padding: 0 30px 25px; }
.hero-label { font-family: var(--site-font); font-size: 11px; letter-spacing: .25em; margin-bottom: 22px; }
.hero h1 { font-size: clamp(36px,4.5vw,58px); letter-spacing: .02em; line-height: 1.6; }
.hero-action { display: inline-flex; gap: 50px; align-items: center; padding: 13px 0; margin-top: 30px; border-bottom: 1px solid #111; font-size: 13px; }
.hero-action:hover { color: #000; border-bottom-color: var(--green); }
.hero .scroll-label { display: none; }
.quick-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); max-width: 1120px; margin: 0 auto; border-bottom: 1px solid #ddd; }
.quick-nav a { display: flex; align-items: center; gap: 12px; padding: 27px 20px; font-size: 13px; }
.quick-nav a:hover { background: #f3f8f5; }
.quick-nav span { font-size: 10px; color: #777; }
.quick-nav b { font-size: 16px; font-weight: 400; margin-left: auto; }
.section { max-width: 1240px; padding: 90px 60px; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; text-align: left; max-width: 1240px; padding: 100px 60px; align-items: center; }
.intro .eyebrow { display: block; font-family: var(--site-font); font-size: 12px; letter-spacing: .15em; color: #555; text-transform: uppercase; margin-bottom: 20px; }
.intro h2 { font-size: 28px; line-height: 1.8; margin-bottom: 22px; }
.intro .desktop-break { display: none; }
.intro p { font-size: 14px; line-height: 2.1; }
.people-image { width: 100%; height: 420px; object-fit: cover; margin: 0; }
.intro .text-link { border: 0; border-bottom: 1px solid #111; padding: 10px 0; margin-top: 20px; }
.intro .text-link:hover { background: none; color: var(--green); }
.section-heading { display: flex; align-items: baseline; gap: 25px; margin-bottom: 40px; }
.section-heading .eyebrow { font-family: var(--site-font); font-size: 43px; line-height: 1.2; letter-spacing: -.04em; font-weight: 700; }
.section-heading h2 { font-size: 14px; margin-top: 0; }
.service-grid { gap: 28px; }
.service-photo { aspect-ratio: 1.5; object-fit: cover; transition: transform .3s; }
.service-card { position: relative; border-bottom: 0; overflow: hidden; }
.card-index { display: block; font-size: 11px; color: #777; margin-bottom: 12px; letter-spacing: .05em; }
.service-card h3 { font-family: var(--site-font); font-size: 20px; color: #111; }
.service-card h3 .pending-link { color: #222; }
.service-card h3 span[aria-hidden] { font-weight: 400; }
.service-card p { color: #555; line-height: 1.9; }
.card-body { padding-top: 22px; }
.card-hitarea { position: absolute; inset: 0; z-index: 2; }
.linked-card:has(a:hover) .service-photo { transform: scale(1.025); }
.linked-card:has(a:focus-visible) { outline: 3px solid #0068b7; outline-offset: 4px; }
.section:has(.media-list) { background: #f6f7f5; }
.media-photo { aspect-ratio: 2.7; object-fit: cover; }
.media-list > * { border: 0; border-right: 1px solid #ddd; background: white; font-family: var(--site-font); font-size: 18px; padding: 24px 18px; color: #222; }
.media-list > :last-child { border-right: 0; }
#works { border-bottom: 1px solid #ddd; }
#news { display: grid; grid-template-columns: 280px 1fr; gap: 0 60px; }
#news .section-heading { grid-row: span 2; display: block; margin-bottom: 0; }
#news .section-heading h2 { margin-top: 12px; }
.news-intro { border-top: 1px solid #111; padding: 25px 0; font-size: 14px; }
.news-link { text-decoration: underline; text-underline-offset: 4px; }
.integration-note { font-size: 11px; margin: 0; border: 0; padding: 0; }
.contact-strip { background: #edf3ef; padding: 65px 30px; }
.contact-strip h2 { font-family: var(--site-font); font-size: 28px; }
.button { background: #111; min-width: 270px; text-align: center; padding: 17px 28px; }
.button:hover { color: white; background: var(--green); }
.review { font-size: 12px; padding-top: 25px; padding-bottom: 25px; }
.review summary { color: #666; cursor: pointer; }
.review > div { margin-top: 20px; }
.site-footer { display: block; padding: 60px max(5%,calc((100% - 1120px) / 2)) 70px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 45px; }
.back-top { font-size: 12px; display: flex; gap: 25px; }
.footer-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px; }
.footer-nav p { font-size: 13px; font-weight: 700; margin-bottom: 20px; }
.footer-nav a { display: block; font-size: 12px; margin-bottom: 10px; color: #555; }
.footer-nav a:hover { color: var(--green); text-decoration: underline; }
.site-footer .copyright { font-size: 10px; color: #777; margin-top: 50px; }
.preview-notice { position: static; max-width: none; border: 0; background: #f7f7f7; padding: 5px 5%; font-size: 10px; }
.preview-notice span { display: inline; margin-left: 15px; }
.breadcrumb { color: #777; border: 0; background: #f7f7f7; }
.breadcrumb a span { display: none; }
.inner-layout { max-width: 1120px; grid-template-columns: minmax(0,1fr) 240px; gap: 60px; padding-bottom: 60px; }
.article-title { padding: 50px 0 35px; border: 0; }
.article-title::after { display: none; }
.article-title h1 { font-size: 38px; color: #111; font-family: var(--site-font); font-weight: 700; }
.inner-article .section { padding: 40px 0; }
.inner-article .section-heading { display: block; }
.inner-article .section-heading h2 { font-family: var(--site-font); font-size: 24px; }
.inner-article .contact-strip { margin-right: 0; }
.page-toc { background: #f6f7f5; padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 10px 25px; }
.page-toc p { width: 100%; font-size: 11px; font-weight: 700; color: #555; margin-bottom: 5px; }
.page-toc a { font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.side-menu { border-left: 0; padding-top: 50px; align-self: start; position: sticky; top: 76px; }
.side-title { padding: 0 0 22px; background: white; color: #111; font-family: var(--site-font); font-size: 18px; font-weight: 700; border-bottom: 1px solid #111; }
.side-title span { font-size: 10px; letter-spacing: .12em; color: #666; margin-top: 6px; font-weight: 400; }
.side-menu > a { padding: 18px 12px; font-size: 12px; }
.side-menu > a[aria-current="page"] { border-left: 3px solid var(--green); color: var(--green); font-weight: 700; background: #f6f7f5; }
.service-directory { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
.service-directory .service-card { padding: 24px 0; border-top: 1px solid #ddd; }
.service-directory .service-card h3 { font-size: 18px; }
.company-table dt { font-weight: 600; }
@media (max-width: 1050px) {
  .site-nav { gap: 16px; }
  .site-header { gap: 15px; }
  .brand img { width: 125px; }
  .quick-nav a { font-size: 12px; padding: 24px 14px; }
  .intro { gap: 35px; }
  .inner-layout { gap: 35px; grid-template-columns: minmax(0,1fr) 210px; }
}
@media (max-width: 760px) {
  section[id], h2[id] { scroll-margin-top: 85px; }
  .site-header { height: 64px; padding: 0 20px; gap: 8px; }
  .menu-toggle { min-height: 44px; margin-left: auto; order: 3; }
  .search-open { order: 2; margin-left: auto; width: 40px; }
  .menu-toggle { margin-left: 0; }
  .site-nav { top: 64px; max-height: calc(100svh - 64px); overflow-y: auto; padding: 12px 20px 25px; }
  .nav-group { width: 100%; padding: 0; border-bottom: 1px solid #eee; }
  .nav-disclosure { width: 100%; justify-content: space-between; min-height: 52px; }
  .nav-panel { position: static; width: 100%; padding: 10px 16px 15px; box-shadow: none; border: 0; background: #f7f7f7; }
  .nav-panel a { font-size: 13px; }
  .site-nav .nav-contact { margin-top: 16px; justify-content: center; }
  .hero { height: 520px; min-height: 0; }
  .hero-photo { object-position: 58% center; }
  .hero-copy { padding: 25px 22px; }
  .hero-label { font-size: 10px; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(25px,6vw,40px); }
  .hero-action { font-size: 12px; margin-top: 25px; }
  .quick-nav { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0 20px; }
  .quick-nav a { padding: 18px 10px; border-bottom: 1px solid #eee; font-size: 12px; gap: 7px; }
  .quick-nav span { display: none; }
  .section { padding: 55px 22px; }
  .intro { display: flex; flex-direction: column; gap: 32px; align-items: stretch; padding: 60px 22px; }
  .intro h2 { font-size: 23px; }
  .people-image { height: auto; max-height: 380px; aspect-ratio: 1.2; object-fit: cover; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading .eyebrow { font-size: 36px; }
  .section-heading h2 { font-size: 13px; margin-top: 8px; }
  .service-grid { gap: 30px; }
  .service-photo { aspect-ratio: 1.65; }
  .service-card h3 { font-size: 21px; }
  .media-photo { aspect-ratio: 1.7; object-fit: contain; }
  .media-list > * { border-right: 0; border-bottom: 1px solid #eee; padding: 18px; font-size: 17px; }
  #news { display: block; }
  #news .section-heading { margin-bottom: 28px; }
  .contact-strip h2 { font-size: 24px; }
  .button { min-width: 0; width: 100%; }
  .site-footer { padding: 45px 22px; }
  .footer-top { gap: 25px; }
  .site-footer .brand img { width: 125px; }
  .back-top { gap: 10px; font-size: 10px; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-nav p { font-size: 12px; margin-bottom: 15px; }
  .footer-nav a { font-size: 11px; }
  .preview-notice span { display: none; }
  .inner-layout { display: block; padding-bottom: 0; }
  .article-title { padding: 35px 0 25px; }
  .article-title h1 { font-size: 29px; }
  .page-toc { padding: 20px; gap: 12px; }
  .page-toc a { width: 100%; font-size: 12px; }
  .inner-article .section { padding: 32px 0; }
  .inner-article .section-heading h2 { font-size: 22px; }
  .side-menu { position: static; padding-top: 15px; margin-top: 15px; }
  .side-menu > a { border-left: 0; border-right: 0; }
  .service-directory { grid-template-columns: 1fr; gap: 0; }
  dialog { padding: 22px; }
  .search-heading h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* v9：v6の配置を維持し、番号と矢印による装飾を整理。 */
.hero-action {
  gap: 0;
}
.text-link {
  border: 0;
  border-bottom: 1px solid #333;
  padding: 10px 0;
}
.text-link:hover {
  background: none;
  color: var(--green);
  border-bottom-color: var(--green);
}
.nav-panel a {
  justify-content: flex-start;
}
.nav-panel a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.service-card h3 a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.linked-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.back-top {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.page-toc a:hover {
  text-decoration-thickness: 2px;
}
.nav-disclosure span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 16px;
  font-size: 14px;
  font-weight: 400;
}

/* v10：添付の青いカプセル型ボタンに合わせた会社概要リンク。 */
.intro .company-profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  max-width: 100%;
  min-height: 70px;
  margin-top: 28px;
  padding: 16px 30px;
  border: 0;
  border-radius: 999px;
  background: #076bb6;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color .2s;
}
.intro .company-profile-button:hover {
  background: #005692;
  color: #fff;
  border: 0;
  text-decoration: none;
}
.intro .company-profile-button:focus-visible {
  outline: 3px solid #111;
  outline-offset: 5px;
}
@media (prefers-reduced-motion: reduce) {
  .intro .company-profile-button {
    transition: none;
  }
}

/* v13 下層共通 */
.content-list {
  padding-left: 1.5em;
  margin: 20px 0;
}
.content-list li {
  margin-bottom: 12px;
}
.content-subhead {
  font-size: 19px;
  margin: 30px 0 18px;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
}
.content-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.content-table th, .content-table td {
  border: 1px solid #ddd;
  padding: 18px 15px;
  vertical-align: top;
  text-align: left;
}
.content-table th {
  background: #f5f7f5;
}
.inner-article .section > p + p {
  margin-top: 20px;
}
.inner-article .section a:not(.button):not(.text-link):not(.recruit-button) {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.side-menu {
  max-height: calc(100svh - 100px);
  overflow-y: auto;
}
.draft-page {
  min-height: 220px;
}
.inquiry-chooser {
  border: 1px solid #ddd;
  padding: 28px;
  background: #f7f8f6;
}
.inquiry-chooser label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}
.inquiry-chooser select {
  width: 100%;
  padding: 14px;
  border: 1px solid #aaa;
  background: white;
  color: #111;
  font: inherit;
}
.inquiry-chooser .button {
  margin-top: 20px;
}
.inquiry-chooser [role="status"] {
  font-size: 13px;
  margin-top: 12px;
}
@media (max-width: 760px) {
  .content-table th, .content-table td {
    padding: 12px 10px;
    min-width: 110px;
    font-size: 13px;
  }
  .side-menu {
    max-height: none;
  }
  .inquiry-chooser {
    padding: 20px;
  }
}

/* v14：TCDの全幅タイトル帯を参考にした独立実装。 */
.page-title-band {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 48px 25px;
  overflow: hidden;
  isolation: isolate;
  background: #dcf2e8;
}
.page-title-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18%;
  background:
    radial-gradient(ellipse at 75% 5%, #8de1dc 0%, transparent 53%),
    radial-gradient(ellipse at 25% 0%, #c1eee4 0%, transparent 52%),
    radial-gradient(ellipse at 45% 110%, #eff4d9 0%, transparent 65%),
    linear-gradient(105deg, #e0f0dd, #b2e7e6 52%, #e4f2d9);
  animation: title-band-drift 18s ease-in-out infinite alternate;
}
.page-title-inner {
  width: 100%;
  max-width: 1120px;
  text-align: center;
}
.page-title-band h1 {
  margin: 0;
  color: #354b60;
  font-family: var(--site-font);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: .08em;
  overflow-wrap: anywhere;
  animation: page-title-arrive .9s cubic-bezier(.22,.61,.36,1) both;
}
.page-title-band ~ .inner-layout {
  padding-top: 45px;
}
.page-title-band ~ .inner-layout .side-menu {
  padding-top: 0;
}
@keyframes title-band-drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 2%, 0) scale(1.04);
  }
}
@keyframes page-title-arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 760px) {
  .page-title-band {
    min-height: 165px;
    padding: 34px 22px;
  }
  .page-title-band h1 {
    font-size: 23px;
    letter-spacing: .04em;
  }
  .page-title-band ~ .inner-layout {
    padding-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-title-band::before,
  .page-title-band h1 {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

/* v15：トップのみ見出しと会社紹介を中央へ。 */
.home-page main h2 {
  text-align: center;
}
.home-page .section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.home-page .section-heading h2 {
  width: 100%;
}
.home-page .intro.section {
  display: block;
  padding-top: 90px;
  padding-bottom: 90px;
  text-align: center;
}
.home-page .intro-copy {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.home-page .intro h2 {
  font-size: 30px;
  line-height: 1.9;
  margin-bottom: 28px;
}
.home-page .intro p {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  line-height: 2.2;
}
.home-page .intro .company-profile-button {
  margin-top: 30px;
}
.home-page .intro .people-image {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  aspect-ratio: 770 / 440;
  object-fit: contain;
  margin: 50px auto 0;
}
.home-page #news .section-heading {
  display: flex;
  text-align: center;
}
@media (max-width: 760px) {
  .home-page .intro.section {
    padding: 55px 22px;
  }
  .home-page .intro h2 {
    font-size: 23px;
    line-height: 1.85;
    margin-bottom: 24px;
  }
  .home-page .intro .people-image {
    height: auto;
    max-height: none;
    margin-top: 35px;
  }
}

/* v16：トップのヒーロー見出しを上下左右の中央へ。 */
.home-page .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: none;
  margin: 0;
  padding: 30px;
  text-align: center;
}
.home-page .hero h1 {
  width: 100%;
  text-align: center;
}
@media (max-width: 760px) {
  .home-page .hero-copy {
    padding: 22px;
  }
}

@media (max-width: 760px) {
  .home-page .hero h1 {
    font-size: clamp(20px, 5.6vw, 40px);
  }
}

/* v18：全ページを同じゴシック系の書体に統一。 */
body, button, input, select, textarea {
  font-family: var(--site-font);
}
.home-page .intro h2.company-intro-title {
  font-size: clamp(15px, 4.6vw, 30px);
  line-height: 1.9;
}
.company-intro-title > span {
  display: block;
  white-space: nowrap;
}

/* v19：ヒーローの見出しを太字に。 */
.home-page .hero h1 {
  font-weight: 800;
}

/* v20：英字見出しのみArial、日本語はゴシック系を維持。 */
.section-heading .eyebrow,
.intro .eyebrow,
.contact-strip .eyebrow,
.nav-panel > p,
.side-title > span {
  font-family: Arial, sans-serif;
}
.home-page .intro-copy h2.company-intro-title {
  font-size: clamp(14px, 4.2vw, 26px);
}

/* v21: supplied answer sheet and requested image width */
.home-page .intro .people-image {
  width: 100%;
  max-width: 770px;
  height: auto;
  margin-inline: auto;
}
.service-status {
  display: inline-block;
  padding: 0.25em 0.8em;
  border-radius: 999px;
  background: #edf3f6;
  color: #375367;
  font-size: 0.85rem;
  font-weight: 700;
}

/* v22: compact company profile button */
.home-page .intro .company-profile-button {
  width: 220px;
  min-height: 52px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
}

/* v23: hero heading weight */
.home-page .hero .hero-copy h1 {
  font-weight: 700;
}

/* v25: existing official publication images, preserve the complete image */
.publication-cover {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  margin: 24px auto;
}
.publication-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}
.publication-layout .publication-cover {
  margin: 0;
}
@media (max-width: 760px) {
  .publication-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .publication-layout .publication-cover {
    max-width: 280px;
    margin-inline: auto;
  }
}

/* v26: full publication samples */
.publication-full-view {
  margin-top: 24px;
}
.publication-full-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 16px;
  border: 1px solid #e3e8eb;
}
.publication-sample-note {
  font-size: 13px;
  color: #58646e;
}
.publication-full-view .button {
  margin-top: 12px;
}

/* v27: supplied top-page corrections */
.home-page #services .service-grid {
  gap: 48px 24px;
}
.home-page #services .service-card {
  overflow: visible;
}
.home-page #services .service-card-link {
  display: block;
  height: 100%;
  color: #111;
  text-decoration: none;
}
.home-page #services .service-image-frame {
  overflow: hidden;
  aspect-ratio: 1.5;
}
.home-page #services .service-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.home-page #services .service-card-link:hover .service-photo,
.home-page #services .service-card-link:focus-visible .service-photo {
  transform: scale(1.06);
}
.home-page #services .service-card h3 {
  text-decoration: none;
  border: 0;
  padding-bottom: 0;
}
.home-page #services .service-card h3::after {
  display: none;
}
.home-section-action {
  margin-top: 36px;
  text-align: center;
}
.home-list-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 240px;
  max-width: 100%;
  padding: 10px 28px;
  border-radius: 999px;
  background: #076bb6;
  color: #fff;
  font-size: 17px;
  line-height: 1.5;
}
.home-list-button:hover {
  background: #005692;
  color: #fff;
}
.home-page #media .media-photo {
  aspect-ratio: 2.7;
  object-fit: contain;
}
.home-page #news {
  display: block;
  max-width: 1000px;
  border-top: 0;
}
.home-page #news .section-heading {
  display: block;
  text-align: center;
  margin-bottom: 60px;
}
.home-page #news h2 {
  text-align: center;
}
.home-page .contact-actions {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
}
.home-page .contact-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 290px;
  min-width: 0;
  min-height: 64px;
  margin: 0;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.6;
}
.home-page .contact-actions .text-link {
  border: 2px solid #111;
}
.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}
.hamburger-icon i {
  display: block;
  height: 2px;
  width: 24px;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}
.menu-label {
  font-size: 10px;
  line-height: 1;
}
.menu-toggle[aria-expanded="true"] .hamburger-icon i:first-child {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger-icon i:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .hamburger-icon i:last-child {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    padding: 4px;
    border: 0;
    background: transparent;
    color: #111;
  }
  .home-page #services .service-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .home-page .contact-actions {
    gap: 10px;
  }
  .home-page .contact-actions > a {
    flex: 1;
    width: auto;
    padding: 12px 8px;
    font-size: 12px;
    min-height: 60px;
  }
  .home-page #news .section-heading {
    margin-bottom: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-page #services .service-photo,
  .hamburger-icon i {
    transition: none;
  }
  .home-page #services .service-card-link:hover .service-photo,
  .home-page #services .service-card-link:focus-visible .service-photo {
    transform: none;
  }
}

/* v28: mobile page-top control */
.mobile-page-top {
  display: none;
}
@media (max-width: 760px) {
  .mobile-page-top {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
  }
  .mobile-page-top:hover {
    background: #333;
    color: #fff;
  }
  .mobile-page-top:focus-visible {
    outline: 3px solid #076bb6;
    outline-offset: 4px;
  }
  body:has(.site-nav.is-open) .mobile-page-top,
  body:has(dialog[open]) .mobile-page-top {
    display: none;
  }
  .menu-toggle {
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* v29: current SOLARIS news list, without loading the theme into the static site */
.wp-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #ddd;
}
.wp-news-list li {
  margin: 0;
  padding: 0;
}
.wp-news-row {
  display: flex;
  align-items: center;
  min-height: 70px;
  gap: 0;
  padding: 16px 30px;
  border: 1px solid #ddd;
  border-top: 0;
  text-decoration: none;
  color: #111;
}
.wp-news-row time {
  flex: 0 0 93px;
  color: #999;
  font: 14px Arial, sans-serif;
}
.wp-news-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.wp-news-row:hover {
  color: #076bb6;
  background: #f8fafb;
}
.wp-news-status {
  font-size: 12px;
  color: #666;
  margin-top: 16px;
}
.wp-news-archive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 55px;
  padding: 12px 28px;
  background: #076bb6;
  color: #fff;
  border-radius: 999px;
}
.wp-news-archive:hover {
  color: #fff;
  background: #005692;
}
@media (max-width: 760px) {
  .wp-news-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
  }
  .wp-news-row time {
    flex-basis: auto;
  }
  .wp-news-title {
    font-size: 14px;
  }
}

.footer-policy {
  margin: 28px 0 12px;
  font-size: 13px;
}
.footer-policy a:hover,
.privacy-guidance a {
  color: #076bb6;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.privacy-guidance {
  padding-top: 28px;
  font-size: 14px;
}

/* Mobile footer accordion */
.footer-group {
  min-width: 0;
}
.footer-group > summary {
  display: block;
  list-style: none;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-group > summary::-webkit-details-marker {
  display: none;
}
.footer-group > summary::marker {
  content: "";
}
.footer-group-links {
  min-width: 0;
}
@media (min-width: 761px) {
  .footer-group:not([open]) > .footer-group-links {
    display: block;
  }
}
@media (max-width: 760px) {
  .site-footer .footer-nav {
    display: block;
  }
  .footer-group {
    border-top: 1px solid #d8dfdc;
  }
  .footer-group:last-child {
    border-bottom: 1px solid #d8dfdc;
  }
  .footer-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 58px;
    margin: 0;
    padding: 16px 4px;
    cursor: pointer;
    font-size: 14px;
  }
  .footer-group > summary::after {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s;
  }
  .footer-group[open] > summary::after {
    transform: rotate(225deg);
  }
  .footer-group > summary:focus-visible {
    outline: 3px solid #076bb6;
    outline-offset: -3px;
  }
  .footer-group-links {
    padding: 0 12px 18px;
  }
  .footer-group-links a {
    display: block;
    padding: 9px 0;
    margin-bottom: 0;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-group > summary::after {
    transition: none;
  }
}

/* P18: supplied greeting image, preserve its full proportions. */
.greeting-photo {
  max-width: 770px;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
}

/* P17: preserve the supplied square image without enlargement. */
.philosophy-photo {
  display: block;
  width: 100%;
  max-width: 770px;
  height: auto;
  aspect-ratio: 770 / 440;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 35px;
}

/* P17: three philosophy image and text sections */
.philosophy-page .inner-layout {
  max-width: 1280px;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 48px;
}
.philosophy-page .inner-article .philosophy-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding: 65px 0;
  border-bottom: 1px solid #e5e9e7;
}
.philosophy-page .philosophy-row:last-child {
  border-bottom: 0;
}
.philosophy-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.65;
}
.philosophy-copy p {
  line-height: 2.1;
}
.philosophy-visual {
  margin: 0;
  min-width: 0;
}
.philosophy-visual img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: auto;
  object-fit: contain;
}
.philosophy-row:last-child .philosophy-visual img {
  max-width: 335px;
}
@media (max-width: 1000px) {
  .philosophy-page .inner-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}
@media (max-width: 760px) {
  .philosophy-page .inner-layout {
    display: block;
  }
  .philosophy-page .inner-article .philosophy-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 0;
  }
  .philosophy-copy h2 {
    font-size: 23px;
    margin-bottom: 20px;
  }
  .philosophy-visual img {
    max-width: 320px;
  }
  .philosophy-row:last-child .philosophy-visual img {
    max-width: 300px;
  }
}

/* P17: highlight the middle philosophy section with a background band. */
.philosophy-page .inner-article .philosophy-row {
  border-bottom: 0;
  position: relative;
  isolation: isolate;
}
.philosophy-page .philosophy-row:nth-child(2)::before {
  content: "";
  position: absolute;
  inset: 0 -24px;
  z-index: -1;
  background: #edf3ef;
}
@media (max-width: 760px) {
  .philosophy-page .philosophy-row:nth-child(2)::before {
    inset-inline: -5.56%;
  }
}

/* P15: recruitment overview, supplied reference layout */
.recruit-page .inner-layout {
  display: block;
  max-width: 1200px;
}
.recruit-page .inner-layout > .side-menu {
  display: none;
}
.recruit-page .inner-article .section {
  max-width: none;
  padding: 70px 0;
}
.recruit-page .inner-article .recruit-vision {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}
.recruit-label {
  margin: 0 0 20px;
  color: #076bb6;
  font: 700 clamp(40px, 5vw, 64px)/1.2 Arial, sans-serif;
}
.recruit-vision-copy h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 32px;
}
.recruit-vision-copy > p:not(.recruit-label) {
  font-size: 17px;
  line-height: 2;
}
.recruit-vision-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 500px;
  margin: auto;
}
.recruit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 16px 24px;
  background: #111;
  color: #fff;
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  text-decoration: none;
}
.recruit-button:hover {
  background: #076bb6;
  color: #fff;
}
.recruit-vision-copy .recruit-button {
  max-width: 340px;
  margin-top: 32px;
}
.recruit-page .inner-article .recruit-category {
  text-align: center;
  background: #edf3ef;
  box-shadow: 0 0 0 100vmax #edf3ef;
  clip-path: inset(0 -100vmax);
}
.recruit-large-heading {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 30px;
}
.recruit-category .recruit-large-heading {
  font-family: Arial, sans-serif;
}
.recruit-status {
  margin-bottom: 24px;
  font-size: 14px;
}
.recruit-category-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
}
.recruit-contact {
  text-align: center;
}
.recruit-contact > p {
  margin-bottom: 28px;
}
.recruit-contact .recruit-button {
  max-width: 480px;
  margin: auto;
}
@media (max-width: 760px) {
  .recruit-page .inner-article .section {
    padding: 45px 0;
  }
  .recruit-page .inner-article .recruit-vision {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .recruit-vision-copy h2 {
    font-size: 32px;
  }
  .recruit-vision-copy > p:not(.recruit-label) {
    font-size: 15px;
  }
  .recruit-desktop-break {
    display: none;
  }
  .recruit-vision-image {
    max-width: 400px;
  }
  .recruit-category-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .recruit-button {
    min-height: 60px;
    font-size: 15px;
  }
}

/* P15: align heading and button sizing with the other pages. */
.recruit-page .recruit-label {
  font-size: 38px;
}
.recruit-page .recruit-vision-copy h2 {
  font-size: 28px;
  line-height: 1.65;
}
.recruit-page .recruit-large-heading {
  font-size: 28px;
  line-height: 1.65;
}
.recruit-page .recruit-vision-copy > p:not(.recruit-label) {
  font-size: 16px;
}
.recruit-page .recruit-button,
.recruit-page .recruit-button:hover,
.recruit-page .recruit-button:focus-visible {
  min-height: 55px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 0;
}
.recruit-page .recruit-button::after {
  display: none;
}
.recruit-page .recruit-vision-copy .recruit-button {
  max-width: 270px;
}
.recruit-page .recruit-category-links {
  max-width: 650px;
  margin-inline: auto;
  gap: 24px;
}
.recruit-page .recruit-contact .recruit-button {
  max-width: 270px;
}
@media (max-width: 760px) {
  .recruit-page .recruit-label {
    font-size: 30px;
  }
  .recruit-page .recruit-vision-copy h2,
  .recruit-page .recruit-large-heading {
    font-size: 24px;
  }
  .recruit-page .recruit-vision-copy > p:not(.recruit-label) {
    font-size: 14px;
  }
  .recruit-page .recruit-category-links {
    gap: 16px;
  }
}

/* P15: leading recruitment image, separate from the VISION image. */
.recruit-top-image {
  padding-top: 45px;
}
.recruit-top-photo {
  display: block;
  width: 100%;
  max-width: 770px;
  height: auto;
  margin-inline: auto;
}
@media (max-width: 760px) {
  .recruit-top-image {
    padding-top: 28px;
  }
}

/* Detail links: use the same blue capsule treatment as the top company button. */
.inner-article .section a.detail-pill-button,
.recruit-page .recruit-vision-copy a.detail-pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  height: auto;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: #076bb6;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color .2s;
}
.inner-article .section a.detail-pill-button:hover,
.recruit-page .recruit-vision-copy a.detail-pill-button:hover {
  background: #005692;
  color: #fff;
  text-decoration: none;
}
.inner-article .section a.detail-pill-button:focus-visible {
  outline: 3px solid #111;
  outline-offset: 5px;
}
@media (prefers-reduced-motion: reduce) {
  .inner-article .section a.detail-pill-button {
    transition: none;
  }
}

/* Capsule labels stay on one line; longer labels determine the button width. */
.inner-article .section a.detail-pill-button,
.recruit-page .recruit-vision-copy a.detail-pill-button {
  width: max-content;
  min-width: 220px;
  max-width: 100%;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .inner-article .section a.detail-pill-button,
  .recruit-page .recruit-vision-copy a.detail-pill-button {
    min-width: min(220px, 100%);
    padding-inline: 18px;
    font-size: clamp(12px, 3.2vw, 15px);
  }
}

.graphic-sample {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 28px;
}

/* P02: introduce three service areas before their related services. */
.service-directory-page .service-category-label {
  color: #076bb6;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}
.service-directory-page .service-category .section-heading {
  margin-bottom: 24px;
}
.service-directory-page .service-category .section-heading h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.65;
}
.service-category-description {
  line-height: 2;
  margin-bottom: 32px;
}
.service-category-image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 32px;
}
.related-services-title {
  font-size: 18px;
  margin-bottom: 18px;
}
.related-services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
}
.service-directory-page .inner-article .section .related-services-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  min-height: 64px;
  padding: 16px 20px;
  border: 1px solid #d7dfdc;
  color: #111;
  background: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.7;
}
.service-directory-page .inner-article .section .related-services-list a:hover {
  color: #076bb6;
  border-color: #076bb6;
  background: #f3f7fb;
}
.related-services-list .service-status {
  margin: 0;
}
.service-directory-page .service-category:nth-of-type(2) {
  position: relative;
  isolation: isolate;
}
.service-directory-page .service-category:nth-of-type(2)::before {
  content: "";
  position: absolute;
  inset: 0 -20px;
  z-index: -1;
  background: #edf3ef;
}
@media (max-width: 760px) {
  .service-directory-page .service-category .section-heading h2 {
    font-size: 24px;
  }
  .related-services-list {
    grid-template-columns: 1fr;
  }
  .service-directory-page .service-category:nth-of-type(2)::before {
    inset-inline: -5.56%;
  }
}

/* P02 related services: thumbnail and blue circle-chevron caption. */
.service-directory-page .related-services-list {
  gap: 30px 24px;
}
.service-directory-page .inner-article .section .related-services-list a.related-service-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  min-height: 0;
  border: 0;
  background: transparent;
  color: #076bb6;
  text-decoration: none;
}
.related-service-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.related-service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.related-service-caption {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 8px 4px;
}
.related-service-icon {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.related-service-icon::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 9px;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.related-service-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}
.related-service-name .service-status {
  display: table;
  margin-top: 8px;
}
.service-directory-page .inner-article .section .related-services-list a.related-service-card:hover {
  background: transparent;
  color: #005692;
}
.related-service-card:hover img,
.related-service-card:focus-visible img {
  transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
  .related-service-image img {
    transition: none;
  }
  .related-service-card:hover img,
  .related-service-card:focus-visible img {
    transform: none;
  }
}

/* Service navigation aligned with the three business areas. */
#service-menu {
  width: 300px;
}
.service-category h2[id] {
  scroll-margin-top: 110px;
}
.home-page #services .home-category-photo {
  object-position: center;
}
@media (max-width: 760px) {
  #service-menu {
    width: 100%;
  }
}

.side-menu .side-category-title {
  margin: 24px 0 8px;
  padding: 0 12px;
  color: #076bb6;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}

.online-media-image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 28px;
}

/* P26: separate each online publication into its own card. */
.online-media-page .inner-article .online-media-card {
  margin: 0 35px 40px 0;
  padding: 30px;
  border: 1px solid #dce3e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 18px rgb(0 0 0 / 4%);
}
.online-media-card .section-heading {
  margin-bottom: 16px;
}
.online-media-card .section-heading h2 {
  color: #076bb6;
}
.online-media-card .online-media-image {
  margin-bottom: 24px;
}
.online-media-card p + p {
  margin-top: 18px;
}
@media (max-width: 760px) {
  .online-media-page .inner-article .online-media-card {
    margin: 0 0 28px;
    padding: 20px;
  }
}

/* P13: publication cards match the online media cards. */
.publication-media-page .inner-article .publication-media-card {
  margin: 0 35px 40px 0;
  padding: 30px;
  border: 1px solid #dce3e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 18px rgb(0 0 0 / 4%);
}
.publication-media-card .section-heading {
  margin-bottom: 24px;
}
.publication-media-card .section-heading h2 {
  color: #076bb6;
}
@media (max-width: 760px) {
  .publication-media-page .inner-article .publication-media-card {
    margin: 0 0 28px;
    padding: 20px;
  }
}

/* P13: publication, web and official Instagram categories. */
.publication-media-page .inner-article .media-category-heading {
  padding-bottom: 28px;
}
.publication-media-card .section-heading h3 {
  margin: 0;
  font-size: 22px;
  color: #076bb6;
}
.publication-media-page .inner-article .media-category-card {
  margin: 45px 35px 40px 0;
  padding: 30px;
  border: 1px solid #dce3e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 18px rgb(0 0 0 / 4%);
}
.media-category-card .section-heading {
  margin-bottom: 24px;
}
.media-category-card .detail-pill-button {
  margin-top: 24px;
}
.publication-media-page h2[id] {
  scroll-margin-top: 110px;
}
@media (max-width: 760px) {
  .publication-media-page .inner-article .media-category-card {
    margin: 30px 0 28px;
    padding: 20px;
  }
}

/* P13: one publication category, with detail pages for individual media. */
.media-category-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 28px 0;
}
.publication-category-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.publication-media-page .inner-article .section .publication-category-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 16px;
  border: 1px solid #dce3e1;
  color: #076bb6;
  text-decoration: none;
  line-height: 1.7;
}
.publication-category-links a:hover {
  background: #f3f7fb;
}
@media (max-width: 760px) {
  .publication-category-links {
    grid-template-columns: 1fr;
  }
}

/* P13: show each supplied category image uncropped at its natural ratio. */
.publication-media-page .media-category-image {
  display: block;
  width: 100%;
  max-width: 770px;
  height: auto;
  object-fit: contain;
  margin: 28px auto;
}

/* Top-page media categories use the same cards as the service categories. */
.home-page #media.home-media-categories {
  max-width: none;
  padding-inline: max(5%, calc((100vw - 1152px) / 2));
  background: #f6f7f5;
}
.home-page #media .service-grid {
  gap: 48px 24px;
}
.home-page #media .service-card-link {
  display: block;
  height: 100%;
  color: #111;
  text-decoration: none;
}
.home-page #media .service-image-frame {
  overflow: hidden;
  aspect-ratio: 1.5;
  background: #fff;
}
.home-page #media .service-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s ease;
}
.home-page #media .service-card-link:hover .service-photo,
.home-page #media .service-card-link:focus-visible .service-photo {
  transform: scale(1.06);
}
.home-page #media .service-card h3 {
  color: #111;
  text-decoration: none;
}
#media-menu {
  width: 260px;
}
@media (max-width: 760px) {
  .home-page #media.home-media-categories {
    padding-inline: 22px;
  }
  .home-page #media .service-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  #media-menu {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-page #media .service-photo {
    transition: none;
  }
  .home-page #media .service-card-link:hover .service-photo,
  .home-page #media .service-card-link:focus-visible .service-photo {
    transform: none;
  }
}

/* Top media cards: consistent ratio with no letterboxing. */
.home-page #media .service-image-frame {
  aspect-ratio: 16 / 9;
  background: transparent;
}
.home-page #media .service-photo {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

/* P13: consistent 16:9 category images without letterboxing. */
.publication-media-page .media-category-image {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

/* P16: secondary contact details beneath the primary form route. */
.inquiry-alternative {
  margin: 0 35px 30px 0;
  padding: 20px 0;
  border-top: 1px solid #e3e8e5;
  color: #555;
  font-size: 13px;
}
.inquiry-alternative h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
}
.inquiry-alternative a {
  display: inline-block;
  color: #076bb6;
  padding-block: 5px;
}
.inquiry-alternative-divider {
  margin-inline: 14px;
  color: #aaa;
}
@media (max-width: 760px) {
  .inquiry-alternative {
    margin-right: 0;
  }
  .inquiry-alternative a {
    display: block;
  }
  .inquiry-alternative-divider {
    display: none;
  }
}

/* Independent inquiry form */
.inquiry-field { margin-bottom: 24px; }
.inquiry-field > label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.inquiry-field input, .inquiry-field select, .inquiry-field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cbd3d0; border-radius: 4px; background: #fff; color: #111; font: inherit; font-size: 16px; }
.inquiry-field textarea { resize: vertical; }
.required-label { display: inline-block; padding: 1px 7px; margin-left: 8px; color: #076bb6; background: #edf3fa; font-size: 11px; font-weight: 500; }
.inquiry-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.inquiry-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 6px; }
.inquiry-consent a { color: #076bb6; text-decoration: underline; }
.inquiry-form-status { margin: 20px 0; font-size: 14px; }
.inquiry-form button { border: 0; cursor: pointer; font-family: inherit; }
.inquiry-form button:disabled { opacity: .5; cursor: not-allowed; }
.inquiry-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.cf7-inquiry-frame {
  display: block;
  width: 100%;
  height: 1200px;
  border: 0;
}
.cf7-inquiry-frame[hidden],
.inquiry-form[hidden] {
  display: none;
}

/* P16: select the consultation type before completing the form. */
.inquiry-type-options {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.inquiry-type-legend { margin-bottom: 14px; font-size: 15px; }
.inquiry-type-option {
  display: grid;
  grid-template-columns: 20px minmax(180px, 1fr) minmax(0, 1.2fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid #dce3e7;
  border-radius: 6px;
  margin-bottom: 8px;
  cursor: pointer;
}
.inquiry-type-option:has(input:checked) { background: #edf5fc; border-color: #076bb6; }
.inquiry-type-option:focus-within { outline: 2px solid #076bb6; outline-offset: 2px; }
.inquiry-type-option input { width: 18px; height: 18px; accent-color: #076bb6; }
.inquiry-type-name { font-weight: 700; }
.inquiry-type-description { color: #555; font-size: 14px; }
@media (max-width: 600px) {
  .inquiry-type-option { grid-template-columns: 20px minmax(0, 1fr); gap: 5px 10px; padding: 14px; }
  .inquiry-type-description { grid-column: 2; }
}

/* P34 FAQ: bordered questions with expandable light-gray answers. */
.faq-list { border: 1px solid #ddd; }
.faq-list .faq-item { margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.faq-list .faq-item + .faq-item { border-top: 1px solid #ddd; }
.faq-list .faq-question {
  position: relative;
  display: block;
  margin: 0;
  padding: 24px 62px 24px 30px;
  list-style: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #111;
  cursor: pointer;
  transition: color .2s ease;
}
.faq-list .faq-question::-webkit-details-marker { display: none; }
.faq-list .faq-question::marker { content: ''; }
.faq-list .faq-question::after { content: none; }
.faq-list .faq-question:hover,
.faq-list .faq-item[open] > .faq-question { color: #076bb6; }
.faq-list .faq-question:focus-visible { outline: 2px solid #076bb6; outline-offset: -3px; }
.faq-toggle-icon { position: absolute; right: 24px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); }
.faq-toggle-icon::before,
.faq-toggle-icon::after { content: ''; position: absolute; background: currentColor; }
.faq-toggle-icon::before { left: 0; top: 6px; width: 14px; height: 1px; }
.faq-toggle-icon::after { left: 6px; top: 0; width: 1px; height: 14px; }
.faq-item[open] > .faq-question .faq-toggle-icon::after { display: none; }
.faq-list .faq-answer { padding: 36px 45px; border-top: 1px solid #e5e5e5; background: #f7f7f7; }
.inner-article .faq-answer p { margin: 0; line-height: 2; }
.inner-article .faq-answer p + p { margin-top: 18px; }
@media (max-width: 600px) {
  .faq-list .faq-question { padding: 20px 46px 20px 18px; font-size: 15px; }
  .faq-toggle-icon { right: 18px; }
  .faq-list .faq-answer { padding: 24px 20px; }
}

/* Media introductions linked from advertising services. */
.service-media-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 24px 0 0; list-style: none; }
.inner-article .section a.service-media-link:not(.button):not(.text-link):not(.recruit-button) { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; height: 100%; padding: 24px; border: 1px solid #dce5e0; border-radius: 8px; background: #fff; color: #076bb6; text-decoration: none; }
.service-media-link img { display: block; width: auto; max-width: 100%; height: 28px; object-fit: contain; object-position: left center; }
.service-media-link > span { align-self: flex-end; font-size: 14px; }
.inner-article .section a.service-media-link:not(.button):not(.text-link):not(.recruit-button):hover { border-color: #076bb6; background: #f0f6fb; text-decoration: none; }
.service-media-link:focus-visible { outline: 2px solid #076bb6; outline-offset: 3px; }
@media (max-width: 600px) { .service-media-links { grid-template-columns: minmax(0, 1fr); } }

.online-media-page .online-media-card[id] { scroll-margin-top: 110px; }

/* Advertising media links match the logo-and-chevron layout on P13. */
.inner-article .section a.service-media-link:not(.button):not(.text-link):not(.recruit-button) { flex-direction: row; align-items: center; justify-content: space-between; gap: 18px; min-height: 92px; }
.service-media-link img { max-width: calc(100% - 30px); }
.service-media-link > span { align-self: center; font-size: 20px; }

#instagram-parenting, #instagram-care { scroll-margin-top: 110px; }

/* Match circular service arrows to the adjacent label size. */
.related-service-icon { flex: 0 0 1.2em; width: 1.2em; height: 1.2em; font-size: 16px; border-width: 1px; }
.related-service-icon::after { top: 50%; left: 46%; width: .38em; height: .38em; border-width: 1.5px; transform: translate(-50%, -50%) rotate(45deg); }

/* Vertically center the service arrow with its label. */
.related-service-caption { align-items: center; }

/* Black-and-white action buttons share the P14 corner radius. */
.button:not(.detail-pill-button),
.recruit-button:not(.detail-pill-button),
.site-nav .nav-contact { border-radius: 10px; }

/* Match the adjacent contact button corner radius. */
.home-page .service-list-button { border-radius: 10px; }

/* Requested line breaks apply on mobile only. */
br.mobile-copy-break { display: none; }
@media (max-width: 760px) {
  br.mobile-copy-break { display: initial; }
}

/* Separate detailed LP links from the preceding copy. */
.inner-article .section .section-action.service-detail-action { margin-top: 28px; }
