/* ---- base ---- */
:root {
  --text: rgba(0, 0, 0, 0.8);
  --heading: rgba(0, 0, 0, 0.9);
  --bg: #f2f1f3;
  --panel: #fff;
  --muted: #888;
  --line: #e2e2e2;
  --soft: #f7f7f7;
  --header-h: 56px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  overflow-wrap: anywhere;
}
img, video { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.5; margin: 0; }
p { margin: 0 0 1em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.only-sp { display: none; }
:focus-visible { outline: 2px solid #1a73e8; outline-offset: 2px; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--panel);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.site-header-inner {
  position: relative;
  max-width: 1200px; margin: 0 auto; padding: 0 16px;
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 13px; color: var(--text); min-height: 44px; }
.site-logo img { display: block; width: 150px; height: auto; }
.site-logo .vertical-line { width: 1px; height: 22px; background: var(--muted); }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; }
.site-nav li { position: relative; }
.site-nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--muted); font-size: 14px; text-decoration: none;
}
.site-nav a:hover, .site-nav a:focus-visible { color: #000; }
.site-nav .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 160px;
  background: var(--panel); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: block; }
.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--heading);
}
.menu-toggle svg { width: 24px; height: 24px; fill: currentColor; margin: 0 auto; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---- layout ---- */
.page { max-width: 1000px; margin: 24px auto 48px; padding: 0 16px; }
.panel { background: var(--panel); padding: 40px 32px; }
.mv video { display: block; width: 100%; background: var(--panel); }
.video-sp { display: none; }
.section-title { font-size: 19px; font-weight: 700; text-align: center; margin: 56px 0 24px; letter-spacing: 0.05em; }
.section-title.first { margin-top: 32px; }
.section-title::after { content: ""; display: block; width: 32px; height: 2px; background: var(--heading); margin: 12px auto 0; }
.view-more { text-align: center; margin: 32px 0 0; }
.view-more a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 200px; min-height: 48px; padding: 0 32px;
  background: var(--panel); color: #000; border: 1px solid #000; text-decoration: none; font-weight: 700;
}
.view-more a:hover { background: #000; color: #fff; }

/* mission */
.mission { display: flex; align-items: center; gap: 32px; }
.mission-img { flex: 0 0 45%; }
.mission-img img { display: block; margin: 0 auto; }
.mission h3 { font-size: 22px; margin-bottom: 16px; }

/* service */
.service-img { text-align: center; margin-bottom: 24px; }
.service-img img { display: inline-block; }
.service-detail { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-bottom: 24px; }
.service-detail > div { grid-column: span 3; }
.service-detail.three > div { grid-column: span 2; }
.service-detail h4 { font-size: 16px; margin-bottom: 0; padding-left: 10px; border-left: 4px solid #000; }
.service-detail h4 a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.service-detail h4 a:hover { text-decoration: underline; }
.service-detail p { margin: 0; }

/* faq */
.faq details { background: var(--soft); margin-bottom: 8px; }
.faq summary {
  position: relative; display: block; min-height: 48px; padding: 12px 56px 12px 16px;
  cursor: pointer; list-style: none; font-weight: 700; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: var(--text);
}
.faq summary::after { transform: rotate(90deg); transition: transform 0.2s; }
.faq details[open] > summary::after { transform: rotate(0); }
.faq .answer { padding: 16px; border-top: 1px solid var(--line); background: var(--panel); }
.faq .answer p:last-child { margin-bottom: 0; }
.table-scroll { overflow-x: auto; margin: 0 0 1em; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 420px; text-align: center; }
.table-scroll th, .table-scroll td { border: 1px solid var(--line); padding: 8px 12px; }
.table-scroll th { background: var(--soft); }
.line-through { text-decoration: line-through; }

/* client type */
.client-type .center { text-align: center; margin-bottom: 32px; }
.client-type h3 { font-size: 19px; margin-bottom: 16px; }
.client-type ul { display: inline-block; text-align: left; margin: 0 0 24px; padding-left: 1.2em; }
.client-type .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.client-type .row img { display: block; }
.client-type .row picture { flex: 1 1 0; min-width: 0; }
.client-type .row.two picture { flex-basis: 320px; }
/* client-type bar charts (widths are relative to the largest value in each chart) */
.bar-charts { align-items: flex-start; gap: 32px 48px; }
.bar-chart { flex: 1 1 320px; max-width: 460px; margin: 0; text-align: left; }
.bar-chart figcaption { text-align: center; font-size: 19px; font-weight: bold; color: var(--heading); margin-bottom: 20px; }
.client-type .bar-chart ul { display: block; list-style: none; margin: 0; padding: 0; }
.bar-chart li { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.bar { display: block; min-height: 44px; padding: 8px 12px; background: #6dc5f2; color: #fff; font-weight: bold; line-height: 28px; white-space: nowrap; min-width: max-content; }
.bar-main { background: #00a0e9; }
.bar-value { flex: none; font-weight: bold; color: var(--heading); }
.w-100 { width: calc(100% - 4.5em); }
.w-67 { width: calc((100% - 4.5em) * 0.667); }
.w-63 { width: calc((100% - 4.5em) * 0.625); }
.w-38 { width: calc((100% - 4.5em) * 0.375); }
.w-25 { width: calc((100% - 4.5em) * 0.25); }

/* footer */
.site-footer { background: var(--soft); color: var(--text); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 40px 16px 16px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 13px; min-height: 44px; }
.footer-logo img { display: block; width: 190px; height: auto; }
.footer-logo .vertical-line { width: 1px; height: 22px; background: var(--muted); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; flex-wrap: wrap; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 14px; }
.footer-nav a:hover { text-decoration: underline; }
.footer-nav .sub-menu a { color: var(--muted); font-size: 13px; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 8px 16px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }

/* floating contact */
.float-contact { position: fixed; right: 8px; top: 50%; transform: translateY(-50%); z-index: 40; }
.float-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.float-contact a { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; }
.float-contact img { display: block; width: 44px; height: auto; max-height: 44px; object-fit: contain; }

/* ---- tablet / mobile ---- */
@media (max-width: 1023px) {
  .panel { padding: 32px 24px; }
}
@media (max-width: 767px) {
  .only-sp { display: inline; }
  .page { margin: 0 auto 24px; padding: 0; }
  .panel { padding: 24px 16px; }
  .site-logo img { width: 120px; }
  .site-logo { font-size: 12px; gap: 8px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--panel); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .menu-toggle[aria-expanded="true"] + .site-nav { display: block; }
  .site-nav > ul { display: block; padding: 8px 0; }
  .site-nav a { padding: 0 20px; font-size: 16px; color: var(--text); }
  .site-nav .sub-menu { display: block; position: static; box-shadow: none; }
  .site-nav .sub-menu a { padding-left: 40px; font-size: 15px; color: var(--muted); }
  .video-pc { display: none; }
  .video-sp { display: block; }
  .mission { flex-direction: column; gap: 16px; }
  .mission-img { flex-basis: auto; }
  .mission h3 { font-size: 20px; }
  .service-detail, .service-detail.three { display: block; }
  .service-detail > div { margin-bottom: 20px; }
  .client-type .row.three { flex-wrap: nowrap; gap: 8px; }
  .footer-inner { flex-direction: column; padding-top: 24px; }
  .footer-nav { gap: 0 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 88px; }
  .float-contact { top: auto; bottom: 0; left: 0; right: 0; transform: none; background: var(--panel); box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.12); padding: 4px 8px; }
  .float-contact ul { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; justify-items: center; }
  .float-contact a { width: 100%; height: 48px; }
  .float-contact img { width: auto; height: 36px; }
}

/* ---- inner pages: shared ---- */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.page-hero {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 200px; margin-bottom: 40px; padding: 24px 16px; background: var(--soft); text-align: center; overflow: hidden;
}
.page-hero h1 { font-size: 32px; font-weight: 500; }
.page-hero img { position: absolute; right: 10%; top: 50%; transform: translateY(-50%); height: 150px; width: auto; }
.sub-title { font-size: 18px; text-align: center; margin: 48px 0 20px; }
.sub-title::before { content: "/\00a0\00a0"; }
.sub-title::after { content: "\00a0\00a0/"; }
.note-lead { text-align: center; }
.em { font-weight: 700; background: linear-gradient(transparent 60%, #fff0a8 60%); }
.center-text { text-align: center; margin-top: 24px; }

/* ---- service ---- */
.service-menu ul { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.service-menu a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 72px; padding: 8px; border: 1px solid var(--line); background: var(--panel);
  color: var(--text); text-align: center; text-decoration: none;
}
.service-menu a:hover { background: var(--soft); }
.service-menu .arrow { color: var(--muted); font-size: 12px; line-height: 1; }
.svc { margin-bottom: 72px; }
.svc-head { display: grid; grid-template-columns: 1fr 220px; gap: 32px; align-items: center; margin-bottom: 32px; }
.svc-head img { justify-self: center; width: 220px; }
.block-title { display: inline-block; margin: 0 0 16px; padding: 4px 20px; background: #555; color: #fff; font-size: 20px; }
.table-scroll .plan-table { min-width: 720px; }
.table-scroll .price-table { min-width: 720px; }
.table-scroll .compare-table { min-width: 560px; }
.price-table thead tr:nth-child(2) th { white-space: nowrap; }
.compare-table thead th, .compare-table td { white-space: nowrap; }
.table-scroll .fee-table { max-width: 640px; margin: 0 auto; }
.table-scroll td.left { text-align: left; vertical-align: top; }
.table-scroll td ul { margin: 0; padding-left: 1.2em; }
.table-scroll td p { margin: 0 0 4px; }
.table-scroll .compare-table th[scope="row"] { text-align: left; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-grid.two { grid-template-columns: repeat(2, 1fr); }
.feature { border: 1px solid var(--line); padding: 20px 16px; }
.feature .number { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.2; text-align: center; color: var(--muted); }
.feature h4 { margin: 8px 0 12px; font-size: 16px; text-align: center; }
.feature p:last-child { margin-bottom: 0; }
.notes { margin: 16px 0 0; padding-left: 1.4em; }
.flow-box { margin: 32px 0 0; padding: 24px 16px; background: #eaf7ff; }
.flow-title { margin-bottom: 24px; font-size: 18px; text-align: center; }
.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.flow li { width: calc(50% - 8px); padding: 16px; background: var(--panel); border-top: 3px solid #ff8a8a; }
.flow li.company { align-self: flex-end; border-top-color: #3a8fd0; }
.flow .actor { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 700; }
.flow .actor img { height: 40px; width: auto; }
.flow h4 { margin-bottom: 8px; font-size: 16px; }
.flow p { margin: 0 0 0.5em; }
.flow p:last-child { margin-bottom: 0; }
.timeline { display: block; margin-top: 24px; }
.timeline img { display: block; width: 100%; height: auto; }
.callout { margin-bottom: 8px; padding: 24px; background: var(--soft); }
.callout h3 { margin-bottom: 16px; font-size: 18px; text-align: center; }
.callout ul { max-width: 560px; margin: 0 auto 16px; padding-left: 1.4em; }
.callout ul ul { margin: 0; list-style: circle; }
.callout-note { margin: 0; text-align: center; }
.callout .gold, .callout-note .gold { color: #8a5f00; }
.price-box { margin-bottom: 16px; padding: 20px; border: 1px solid var(--line); text-align: center; }
.price-box h4 { margin-bottom: 8px; font-size: 16px; }
.price-text { margin: 0; }
.price { display: inline-block; margin-top: 8px; font-size: 24px; font-weight: 700; }
.price-note { margin: 8px 0 0; }

@media (max-width: 1023px) {
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .page-hero { min-height: 160px; margin-bottom: 32px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero img { right: 5%; height: 100px; }
  .note-lead { text-align: left; }
  .service-menu ul { grid-template-columns: repeat(2, 1fr); margin-bottom: 40px; }
  .svc { margin-bottom: 56px; }
  .svc-head { grid-template-columns: 1fr; gap: 16px; }
  .svc-head img { width: min(220px, 60%); }
  .feature-grid.two { grid-template-columns: 1fr; }
  .flow li { width: 100%; }
  .callout { padding: 20px 16px; }
}

/* ---- about / privacy ---- */
.page-h2 { position: relative; margin: 0 0 40px; padding-bottom: 36px; font-size: 24px; text-align: center; }
.page-h2::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 24px; background: #000; }
.page-h2.bar { padding: 8px 0; background: #000; color: #fff; font-size: 20px; font-weight: 400; }
.page-h2.bar::after { display: none; }
.about section { margin-bottom: 64px; }
.about-flex { display: flex; align-items: center; gap: 40px; max-width: 800px; margin: 0 auto; }
.about-flex .img { flex: 0 0 40%; text-align: center; }
.about-flex .img img { display: block; margin: 0 auto; }
.about-flex .text { flex: 1 1 0; min-width: 0; font-weight: 700; }
.about-flex h3 { margin-bottom: 16px; font-size: 20px; color: #00789f; }
.about-flex .text p:last-child { margin-bottom: 0; }
.about-vision { padding: 40px 24px; background: var(--soft); }
.about-vision .img { flex-basis: 25%; }
.about-vision .hang { padding-left: 1em; text-indent: -1em; }
.about-profile .about-flex .img { flex-basis: 35%; }
.about-profile .text { font-weight: 400; }
.about-profile ul { margin: 0; padding: 0; list-style: none; }
.about-profile li { margin-bottom: 4px; }
.about-profile li.gap { margin-bottom: 1.5em; }
.about-values dl, .about-company dl { max-width: 640px; margin: 0 auto; }
.about-values dl > div { display: flex; align-items: baseline; gap: 24px; margin: 16px 0; }
.about-values dt { flex: 0 0 40%; font-weight: 600; text-align: right; }
.about-values dd { position: relative; flex: 1 1 0; margin: 0; }
.about-company { padding: 40px 24px; background: var(--soft); }
.about-company dl > div { display: flex; gap: 32px; padding: 8px 0; border-bottom: 1px solid #ccc; }
.about-company dt { flex: 0 0 5.5em; }
.about-company dd { flex: 1 1 0; margin: 0; min-width: 0; }
.about-access { text-align: center; }
.privacy { max-width: 760px; margin: 0 auto; }
.privacy h3 { margin: 40px 0 12px; font-size: 18px; }
.privacy h3:first-child { margin-top: 0; }
.privacy h4 { margin: 24px 0 8px; font-size: 16px; }
.privacy p.gap { margin-top: 2em; }
.privacy p.right { margin-top: 40px; text-align: right; }

@media (max-width: 767px) {
  .page-h2 { margin-bottom: 32px; font-size: 22px; }
  .page-h2.bar { font-size: 18px; }
  .about section { margin-bottom: 48px; }
  .about-flex { flex-direction: column; gap: 24px; }
  .about-flex .img, .about-vision .img, .about-profile .about-flex .img { flex-basis: auto; width: 100%; }
  .about-mission .img img { width: 80%; }
  .about-vision .img img { width: 50%; }
  .about-vision, .about-company { padding: 32px 16px; }
  .about-values dl > div { display: block; margin: 0 0 24px; text-align: center; }
  .about-values dt { text-align: center; }
  .about-company dl > div { gap: 16px; }
  .about-company dt { flex-basis: 4.5em; }
}

/* ---- contact / recruit forms ---- */
.form-wrap { max-width: 560px; margin: 0 auto 24px; }
.form-lead { margin: 0 0 24px; }
.req { color: #c0392b; }
.field { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: block; margin-bottom: 8px; padding: 0; font-weight: 700; }
.field .help { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.entry-form input[type="text"], .entry-form input[type="email"], .entry-form input[type="tel"],
.entry-form input[type="date"], .entry-form input[type="number"], .entry-form textarea {
  display: block; width: 100%; min-height: 44px; padding: 8px 12px;
  font: inherit; font-size: 16px; color: var(--text); background: var(--panel);
  border: 1px solid #555; border-radius: 4px;
}
.entry-form textarea { min-height: 160px; resize: vertical; }
.entry-form [aria-invalid="true"] { border-color: #c0392b; }
.with-unit { display: flex; align-items: center; gap: 8px; }
.with-unit input { flex: 0 1 160px; }
.radio-list { display: grid; gap: 4px; }
.radio-list.inline { display: flex; gap: 24px; }
.radio { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.radio input { flex: 0 0 auto; width: 22px; height: 22px; margin: 0; accent-color: #333; }
.field-error, .form-error { margin: 6px 0 0; color: #c0392b; font-size: 14px; }
.form-error { margin: 16px 0; font-size: 16px; }
.field-error[hidden], .form-error[hidden], .form-done[hidden], .entry-form[hidden] { display: none; }
.form-submit { margin: 24px 0 0; text-align: center; }
.btn-submit {
  min-width: 200px; min-height: 48px; padding: 0 32px; font: inherit; font-weight: 700; cursor: pointer;
  background: #000; color: #fff; border: 1px solid #000;
}
.btn-submit:hover:not(:disabled) { background: var(--panel); color: #000; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.cf-turnstile { margin: 24px 0 0; min-height: 65px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.noscript-note { margin: 0 0 24px; padding: 12px 16px; background: var(--soft); }
.form-done { margin: 0; padding: 24px 16px; background: var(--soft); text-align: center; font-weight: 700; }
.form-done:focus { outline: none; }

/* recruit */
.recruit-intro { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.recruit-lang { margin: 0 0 8px; color: var(--muted); }
.recruit-catch { margin-bottom: 24px; font-size: 24px; }
.nowrap { display: inline-block; }
.recruit-photo { display: block; width: 100%; max-width: 760px; margin: 32px auto 0; }
.recruit-block { max-width: 760px; margin: 0 auto 48px; }
.recruit-block ul { margin: 0 0 1em; padding-left: 1.4em; }
.recruit-block .list-head { margin: 0 0 4px; font-weight: 700; }
.terms-table { min-width: 560px; text-align: left; }
.table-scroll .terms-table th { width: 8em; text-align: left; vertical-align: top; white-space: nowrap; }
.table-scroll .terms-table td { vertical-align: top; }
.select-flow { list-style: none; margin: 0 0 16px; padding: 0; display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 8px; }
.select-flow li { display: flex; align-items: center; min-height: 44px; padding: 8px 16px; background: var(--soft); font-weight: 700; }
.select-flow li + li::before { content: "\2192"; margin-right: 16px; margin-left: -8px; color: var(--muted); }
.flow-note { margin: 0; font-size: 14px; }

@media (max-width: 767px) {
  .recruit-catch { font-size: 20px; }
  .recruit-intro { text-align: left; }
  .radio-list.inline { gap: 16px; }
  .select-flow { flex-direction: column; align-items: stretch; }
  .select-flow li + li::before { content: "\2193"; margin: 0 12px 0 0; }
  .field .help, .field-error, .flow-note { font-size: 16px; }
  .float-contact a { min-width: 44px; min-height: 48px; }
  .float-contact img { min-width: 36px; }
}

/* ---- tablet / PC (>=768px): full-width page like the live site ----
   .page is a size container, so 100cqi = page width (scrollbar excluded).
   Bands break out of the centered .panel with margin calc(50% - 50cqi). */
@media (min-width: 768px) {
  :root { --header-h: 80px; --wrap: 1300px; --gutter: 64px; --mv-max: 1300px; }
  body { background: var(--panel); }
  .site-header-inner { max-width: 1400px; padding: 0 24px; }
  .site-logo img { width: 275px; }
  .site-nav a { padding: 0 22px; font-size: 16px; letter-spacing: 0.05em; }
  .page { max-width: none; margin: 0; padding: 0; container-type: inline-size; }
  .panel { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 96px; background: none; }
  .mv { width: min(var(--mv-max), 100cqi); margin-inline: calc((100% - min(var(--mv-max), 100cqi)) / 2); }
  .section-title { margin: 96px 0 56px; font-size: 30px; font-weight: 600; }
  .section-title.first { margin-top: 80px; }
  .section-title::after { width: 1px; height: 30px; margin-top: 20px; background: #000; }
  .faq .section-title { font-size: 24px; }
  .view-more { margin-top: 40px; text-align: right; }
  .view-more a { position: relative; min-width: 0; min-height: 40px; padding: 0 75px; font-size: 15px; font-weight: 400; letter-spacing: 0.1em; }
  .view-more a::after {
    content: ""; position: absolute; right: 16px; top: 50%; width: 32px; height: 6px; margin-top: -6px;
    border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: skewX(45deg);
  }
  /* full-width gray bands */
  .top-service, .client-type, .about-vision, .about-company {
    margin-inline: calc(50% - 50cqi); padding: 96px calc(50cqi - 50%); background: var(--soft);
  }
  .top-service, .client-type { margin-top: 96px; }
  .client-type:last-child { margin-bottom: -96px; }
  .top-service .section-title, .client-type .section-title { margin-top: 0; }
  /* top: mission */
  .mission { width: min(100%, 73cqi); margin: 0 auto; gap: 0; }
  .mission-img { flex: 0 0 50%; }
  .mission-img img { width: 70%; }
  .mission > div:last-child { flex: 1 1 0; min-width: 0; }
  .mission h3 { margin-bottom: 20px; }
  .mission p, .service-detail p { font-size: 15px; font-weight: 700; line-height: 1.7; letter-spacing: 0.08em; }
  /* top: service cards (2 + 3) with black labels over the top-left edge */
  .service-img { margin-bottom: 56px; }
  .service-img img { width: min(455px, 35cqi); }
  .service-detail { grid-template-columns: 5fr 4fr; gap: 52px; max-width: 1240px; margin: 0 auto 52px; padding-left: 30px; }
  .service-detail.three { grid-template-columns: repeat(3, 1fr); }
  .service-detail > div, .service-detail.three > div { grid-column: auto; padding: 22px 15px 24px; background: var(--panel); }
  .service-detail h4 { display: inline-block; margin: 0 0 16px -45px; padding: 0 30px; border-left: 0; background: #000; color: #fff; font-size: 15px; letter-spacing: 0.1em; }
  .service-detail h4 a { min-height: 36px; }
  /* top: faq / client type */
  .faq details { max-width: 780px; margin-inline: auto; }
  .client-type h3 { font-size: 20px; }
  .client-type .row.three { max-width: 950px; margin: 0 auto; gap: 30px; }
  .bar-charts { max-width: 950px; margin: 0 auto; gap: 30px; }
  .bar-chart { padding: 24px 32px; background: var(--panel); }
  /* inner pages */
  .page-hero { margin: 0 calc(50% - 50cqi) 75px; padding: 24px calc(50cqi - 50%); }
  .page-hero img { right: auto; left: calc(50% + 180px); height: 175px; }
  .service-menu, .svc { max-width: 960px; margin-left: auto; margin-right: auto; }
  .about-flex { max-width: clamp(800px, 70cqi, 1134px); }
  .about-vision, .about-company { padding-top: 75px; padding-bottom: 75px; }
  .page-h2.bar { width: fit-content; margin-left: auto; margin-right: auto; padding: 8px 48px; }
  .about-values dl, .about-company dl { max-width: clamp(640px, 60cqi, 900px); }
  .privacy, .recruit-intro, .recruit-block { max-width: clamp(760px, 60cqi, 1100px); }
  .recruit-photo { width: 100cqi; max-width: none; height: auto; aspect-ratio: 1905 / 864; object-fit: cover; margin: 40px calc(50% - 50cqi) 0; }
  .form-wrap { max-width: clamp(560px, 40cqi, 760px); }
  /* footer */
  .footer-inner, .footer-bottom { max-width: 1400px; padding-left: 24px; padding-right: 24px; }
  .footer-logo img { width: 275px; }
}
@media (min-width: 1600px) {
  :root { --mv-max: 1500px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .site-logo img { width: 180px; }
  .site-nav a { padding: 0 12px; font-size: 15px; }
  .mission { width: 100%; }
  .service-detail { gap: 40px 32px; }
  .page-hero img { left: calc(50% + 140px); height: 150px; }
  .footer-logo img { width: 200px; }
}
