/* トップページ（2026-11 作り直し）。c-s-one.jp のトップを PC 1440px・SP 375px で実測し、寸法・色・文字組みを合わせている */
:root {
  --cs-ink: #333333;
  --cs-teal: #1D9F60;
  --cs-teal-card: #FFFFFF;
  --cs-pale: #ECF8E5;
  --cs-line: #E3DED9;
  --cs-gray: #888888;
  --cs-grad: linear-gradient(90deg, #1D9F60 0%, #1D9F60 100%);
  --cs-en: "Inter", "Noto Sans JP", sans-serif;
  --cs-beige: #F9F6F1;
  --cs-illust-bg: rgba(205, 230, 207, .4);
  --cs-border: #84D98C;
}
body.cs-body { margin: 0; color: var(--cs-ink); font-family: "Noto Sans JP", sans-serif; font-size: 16px; line-height: 1.75; letter-spacing: .06em; background: #fff; overflow-x: hidden; }
.cs-body a { color: inherit; text-decoration: none; }
.cs-body img { max-width: 100%; }
.cs-body h1, .cs-body h2, .cs-body h3, .cs-body p, .cs-body ul, .cs-body dl { margin: 0; padding: 0; }
.cs-body ul { list-style: none; }
.cs-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; position: relative; }

/* 丸い矢印 */
.cs-circle { position: relative; display: inline-block; flex: none; border-radius: 50%; border: 1px solid var(--cs-line); background: #fff; transition: background .3s, border-color .3s; }
.cs-circle::after { content: ""; position: absolute; inset: 0; margin: auto; width: 26%; height: 2px; max-width: 18px; background: var(--cs-teal); }
.cs-circle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-top: 2px solid var(--cs-teal); border-right: 2px solid var(--cs-teal); transform: translate(calc(-50% + 4px), -50%) rotate(45deg); }
.cs-circle-80 { width: 80px; height: 80px; }
.cs-circle-64 { width: 64px; height: 64px; }
.cs-circle-32 { width: 32px; height: 32px; }
.cs-circle-32::before { width: 5px; height: 5px; transform: translate(calc(-50% + 2px), -50%) rotate(45deg); }
.cs-circle-20 { width: 20px; height: 20px; border-color: rgba(255,255,255,.7); background: transparent; }
.cs-circle-20::after { background: #fff; width: 8px; height: 1.5px; }
.cs-circle-20::before { width: 4px; height: 4px; border-width: 1.5px; border-color: #fff; transform: translate(calc(-50% + 1.5px), -50%) rotate(45deg); }
/* c-s-one の .arrowCircle_green と同じ: ホバーで緑に塗り、矢印を白に */
a:hover .cs-circle:not(.cs-circle-20) { background: var(--cs-teal); border-color: transparent; }
a:hover .cs-circle:not(.cs-circle-20)::after { background: #fff; }
a:hover .cs-circle:not(.cs-circle-20)::before { border-color: #fff; }

/* ボタン */
/* c-s-one の .button と同じ: 225deg #63C5B5→#004C92 を 150% 幅で敷き、ホバーで左へ滑らせて濃い青に寄せる */
.cs-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; color: #fff !important; font-weight: 700; letter-spacing: 0; border-radius: 45px; background: linear-gradient(225deg, #63C5B5 0, #004C92 100%); background-size: 150% 100%; background-position: 75% 0; white-space: nowrap; transition: background-position .3s linear; }
.cs-button:hover { background-position: 0 0; }
.cs-button-header { font-size: 14px; line-height: 1.75; padding: 12px 32px; }
.cs-button-cta { font-size: 16px; width: min(240px, 100%); padding: 16px 24px; box-shadow: 0 0 30px 1px rgba(0, 0, 0, .2); }
.cs-arrow-circle { flex: none; width: 32px; height: 32px; border: 1px solid #fff; border-radius: 50%; position: relative; }
.cs-arrow-circle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; background: #fff; transform: translate(-55%, -50%); }
.cs-arrow-circle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; transform: translate(10%, -50%) rotate(45deg); }

/* 下線つきの丸矢印リンク */
.cs-link-circle { display: inline-flex; align-items: center; gap: 16px; }
.cs-link-circle-text { font-size: 16px; font-weight: 700; line-height: 1.75; padding-bottom: 8px; border-bottom: 2px solid var(--cs-teal); margin-right: -36px; padding-right: 48px; }

/* セクション見出し */
.cs-en { display: flex; align-items: center; gap: 8px; font-family: var(--cs-en); font-size: 14px; line-height: 1.75; color: var(--cs-teal); }
.cs-en::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.cs-jp { font-size: 23px; font-weight: 700; line-height: 1.4; margin-top: 32px !important; }
.cs-section-sub { font-size: 18px; line-height: 1.75; margin-top: 40px !important; }
.cs-section-text { font-size: 16px; line-height: 1.8; margin-top: 40px !important; }
.cs-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }

/* ヘッダー */
.cs-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 81px; padding: 16px 64px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.96); box-sizing: border-box; transition: box-shadow .3s; }
.cs-header.is-scrolled { box-shadow: 0 0 16px rgba(0,0,0,.08); }
.cs-logo img { display: block; width: 128px; height: auto; }
.cs-nav { display: flex; align-items: center; gap: 40px; }
.cs-menu { display: flex; align-items: center; gap: 32px; }
.cs-menu-item { position: relative; }
.cs-menu-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; line-height: 1.75; }
.cs-plus { width: 16px; height: 16px; border: 1px solid var(--cs-line); border-radius: 50%; position: relative; }
.cs-plus::before, .cs-plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 6px; height: 1px; background: var(--cs-teal); transform: translate(-50%, -50%); }
.cs-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.cs-sub { position: absolute; top: 100%; left: -24px; padding: 24px !important; background: #fff; border-radius: 8px; box-shadow: 0 0 16px rgba(0,0,0,.1); white-space: nowrap; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s; }
.cs-sub li + li { margin-top: 16px; }
.cs-sub a { font-size: 14px; font-weight: 700; }
.cs-sub a:hover { color: var(--cs-teal); }
.cs-has-sub:hover .cs-sub, .cs-has-sub:focus-within .cs-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.cs-burger { display: none; }
.cs-drawer[hidden] { display: none; }

/* ファーストビュー */
.cs { padding-top: 81px; }
.cs-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 44%; align-items: center; padding: 40px 0 0 max(40px, calc((100% - 1120px) / 2 - 78px)); min-height: 640px; }
.cs-hero-text { position: relative; z-index: 2; padding-left: 0; }
.cs-hero-title { font-size: 41px; font-weight: 700; line-height: 1.8; letter-spacing: 0; }
.cs-hero-title span, .cs-hero-lead span { display: block; }
.cs-hero-lead { font-size: 16px; line-height: 1.75; margin-top: 48px !important; }
.cs-hero .cs-button-cta { margin-top: 48px; }
.cs-hero-image { padding-right: 24px; }
.cs-hero-image img { display: block; width: 100%; height: auto; }
.cs-loop { grid-column: 1 / -1; overflow: hidden; white-space: nowrap; margin-top: -60px; pointer-events: none; }
.cs-loop { width: 100vw; margin-left: calc(-1 * max(40px, calc((100vw - 1120px) / 2 - 78px))); }
.cs-loop span { display: inline-block; font-family: var(--cs-en); font-size: 104px; font-weight: 100; line-height: 1.75; color: rgba(57, 188, 180, .16); animation: cs-loop 80s linear infinite; }
@keyframes cs-loop { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 全体像 */
/* c-s-one 実測: 本文の列は幅 627px で右端を中身の幅（1120px）にそろえ、図は画面幅に合わせて大きくなる（吹き出し 1440px で 158px・1920px で 242px） */
.cs-intro { display: grid; grid-template-columns: minmax(0, 1fr) 627px; gap: clamp(64px, 6vw, 120px); align-items: center; padding: 120px max(40px, min(calc((100% - 1120px) / 2), 180px)) 160px 0; }
.cs-intro-figure { position: relative; }
.cs-intro-circle { position: relative; width: min(calc(100% + 60px), 900px); aspect-ratio: 1; margin-left: -60px; border-radius: 50%; background: var(--cs-pale); display: flex; align-items: center; justify-content: center; }
.cs-intro-img { width: 86%; height: auto; mix-blend-mode: multiply; }
.cs-intro-item { position: absolute; width: clamp(158px, calc(158px + (100vw - 1440px) * .175), 242px); height: auto; aspect-ratio: 1; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 0 16px rgba(0,0,0,.06); }
/* 英字は上に置き、日本語 2 行を円の中心に置く（下の行が円の縁に掛からないように） */
.cs-intro-item em { position: absolute; top: 20%; left: 0; right: 0; font-style: normal; font-family: var(--cs-en); font-size: 12px; }
.cs-intro-item b { font-size: 17px; font-weight: 700; line-height: 1.6; letter-spacing: 0; white-space: nowrap; margin-top: 10%; }
.cs-intro-item-1 { top: 6%; left: 18%; }
.cs-intro-item-2 { top: 22%; right: 2%; }
.cs-intro-item-3 { bottom: 10%; left: max(10%, 76px); }
.cs-intro-title span { display: inline-block; }
.cs-intro-title { font-size: 41px; font-weight: 700; line-height: 1.8; }
.cs-intro-text { font-size: 16px; line-height: 2.93; margin-top: 40px !important; }
.cs-intro-text + .cs-intro-text { margin-top: 32px !important; }
.cs-intro .cs-link-circle { margin-top: 56px; }

/* 白いカード（上に重なる） */
.cs-card { position: relative; background: #fff; border-radius: 64px 64px 0 0; box-shadow: 0 0 16px rgba(0,0,0,.1); padding: 120px 0 240px; margin-top: -120px; }
.cs-intro + .cs-card { margin-top: 0; }
.cs-solutions { z-index: 1; }
.cs-features { z-index: 2; background: var(--cs-teal); color: #fff; }
.cs-case { z-index: 3; padding-bottom: 160px; }
.cs-partners { z-index: 4; padding-bottom: 160px; border-radius: 64px 64px 0 0; }

/* 事業 */
.cs-section-title-2 { margin-top: 120px; }
.cs-service { display: grid; grid-template-columns: 400px 1fr; gap: 160px; align-items: center; margin-top: 80px; }
.cs-service-image img { display: block; width: 100%; height: auto; }
.cs-service-sub { display: block; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--cs-teal); }
.cs-service-title { display: flex; align-items: baseline; gap: 12px; font-size: 32px; font-weight: 700; line-height: 1.5; margin-top: 8px !important; }
.cs-service-no { font-family: var(--cs-en); font-size: 13px; color: var(--cs-teal); }
.cs-service-text { font-size: 16px; line-height: 1.75; margin-top: 20px !important; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px !important; }
.cs-tags li { width: 104px; height: 104px; border-radius: 50%; background: var(--cs-pale); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.5; }
.cs-service .cs-link-circle { margin-top: 40px; }

/* 強み */
.cs-features .cs-en, .cs-features .cs-jp { color: #fff; }
.cs-features-spot { position: absolute; right: 0; top: -40px; width: 180px; height: auto; }
.cs-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; }
.cs-features-item { background: var(--cs-teal-card); border-radius: 8px; padding: 16px; }
.cs-features-item img { display: block; width: 100%; height: auto; aspect-ratio: 315 / 195; object-fit: cover; border-radius: 4px; }
.cs-features-title { font-size: 23px; font-weight: 700; line-height: 1.75; padding: 0 16px; margin-top: 24px !important; }
.cs-features-text { font-size: 16px; line-height: 1.75; padding: 0 16px 24px; margin-top: 24px !important; }

/* 事例 */
.cs-case .cs-section-head { margin-bottom: 64px; }
.cs-slider { overflow: hidden; padding-left: max(20px, calc((100% - 1120px) / 2)); }
.cs-slider-track { margin-left: -260px; }
.cs-slider-track { display: flex; gap: 40px; transition: transform .5s; }
.cs-slide { flex: none; width: 492px; }
.cs-slide a { position: relative; display: block; aspect-ratio: 492 / 296; border-radius: 4px; overflow: hidden; color: #fff; }
.cs-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-slide a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(34,117,158,.62), rgba(34,90,120,.72)); z-index: 1; }
.cs-slider-track { align-items: flex-start; }
.cs-slide:nth-child(even) { margin-top: 56px; }
.cs-slide-body { position: relative; z-index: 2; padding: 32px 24px; }
.cs-slide-client { font-size: 12px; font-weight: 700; }
.cs-slide-title { font-size: 23px; font-weight: 700; line-height: 1.4; margin-top: 20px !important; }
.cs-slide-meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; margin-top: 24px !important; font-size: 13px; font-weight: 700; }
.cs-slide-meta dt { background: rgba(255,255,255,.2); border-radius: 24px; padding: 0 12px; font-size: 12px; }
.cs-slide-meta dd { margin: 0; }
.cs-slide-arrow { position: absolute; right: 24px; bottom: 24px; z-index: 2; }
.cs-slider-ui { display: flex; align-items: center; gap: 24px; margin-top: 40px; }
.cs-progress { flex: 1; height: 4px; background: rgba(0,0,0,.25); position: relative; }
.cs-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 25%; background: var(--cs-teal); transition: width .5s; }
.cs-prev, .cs-next { cursor: pointer; padding: 0; }
.cs-prev::before { transform: translate(calc(-50% - 2px), -50%) rotate(-135deg); }
.cs-prev[disabled], .cs-next[disabled] { opacity: .35; cursor: default; }

/* 監修パートナー（既存の部品 top-style.css を新しい余白に合わせる） */
.cs-partners .partners-search-box { margin-top: 64px; }
.cs-partners .btn-search { background: var(--cs-grad); border: 0; border-radius: 45px; }
.cs-partners .pagination-item.active, .cs-partners .pagination-item.current { background: var(--cs-teal); border-color: var(--cs-teal); }

/* 企業情報 */
.cs-company { padding: 120px 0; }
.cs-company-nav { margin-top: 64px !important; }
.cs-company-nav a { display: grid; grid-template-columns: 96px 1fr 1fr 32px; gap: 32px; align-items: center; padding: 16px 0; }
.cs-company-nav img { width: 96px; height: 96px; object-fit: cover; border-radius: 5px; border: 1px solid var(--cs-line); }
.cs-company-nav h3 { font-size: 18px; font-weight: 500; }
.cs-company-nav p { font-size: 13px; line-height: 1.75; }

/* メディア実績（お知らせの型） */
.cs-news { padding: 40px 0 120px; border-bottom: 1px solid var(--cs-line); }
.cs-news-inner { display: grid; grid-template-columns: 248px 1fr; gap: 72px; }
.cs-news-head .cs-link-circle { margin-top: 40px; }
.cs-news-spot { display: block; width: 140px; height: auto; margin-top: 80px; }
.cs-news-list li { position: relative; padding: 24px 24px 24px 48px; border-radius: 8px; box-shadow: 0 0 16px rgba(0,0,0,.1); }
.cs-news-list li + li { margin-top: 16px; }
.cs-news-list li::before { content: ""; position: absolute; left: 24px; top: 24px; bottom: 24px; width: 2px; background: var(--cs-teal); }
.cs-news-type { font-family: var(--cs-en); font-size: 13px; font-weight: 700; color: var(--cs-gray); }
.cs-news-title { font-size: 16px; font-weight: 700; line-height: 1.4; margin-top: 4px !important; }

/* 採用 */
.cs-recruit { padding: 120px 0 0; }
.cs-recruit-photo { display: block; width: 100%; max-width: none !important; height: 600px; object-fit: cover; margin-top: 64px; }

/* お問い合わせ */
.cs-contact { padding: 120px 0 160px; }
.cs-contact-box { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 64px 0; border-top: 1px solid var(--cs-line); border-bottom: 1px solid var(--cs-line); }

/* 右下の固定ボタン */
.cs-float { position: fixed; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; gap: 12px; width: 265px; padding: 12px 16px 12px 12px; background: #fff; border-radius: 8px 0 0 0; box-shadow: 0 0 16px rgba(0,0,0,.1); box-sizing: border-box; }
.cs-float img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
.cs-float-badge { display: inline-block; background: var(--cs-teal); color: #fff; font-size: 12px; font-weight: 700; border-radius: 24px; padding: 0 10px; }
.cs-float-text { display: block; font-size: 13px; font-weight: 700; line-height: 1.4; margin-top: 4px; }

/* フッター */
.cs-footer { background: var(--cs-ink); color: #fff; border-radius: 64px 64px 0 0; padding: 120px 0; }
.cs-footer-inner { display: grid; grid-template-columns: 1fr 248px 248px; gap: 64px; }
.cs-footer-brand img { width: 128px; height: auto; }
.cs-footer-address { font-size: 13px; line-height: 1.8; margin-top: 64px !important; }
.cs-footer-copy { font-family: var(--cs-en); font-size: 13px; font-weight: 500; margin-top: 40px !important; }
.cs-footer-group { border-top: 1px solid rgba(255,255,255,.4); padding: 24px 0 32px; }
.cs-footer-col .cs-footer-group:last-child { border-bottom: 1px solid rgba(255,255,255,.4); }
.cs-footer-head { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.cs-footer-group ul { margin-top: 16px !important; }
.cs-footer-group li + li { margin-top: 6px; }
.cs-footer-group li a { font-size: 13px; font-weight: 400; opacity: .9; }
.cs-footer-group a:hover { opacity: .7; }

/* タブレット */
@media (max-width: 1119px) {
  .cs-header { padding: 16px 24px; }
  .cs-menu { gap: 20px; }
  .cs-nav { gap: 24px; }
  .cs-hero { padding-left: 40px; }
  .cs-loop { margin-left: -40px; }
  .cs-service { grid-template-columns: 320px 1fr; gap: 64px; }
}

/* タブレット（768〜1119px）。c-s-one はこの幅でも 2 列を保つので、中身の寸法だけ縮める */
@media (min-width: 768px) and (max-width: 1119px) {
  .cs-hero-title { font-size: clamp(30px, 3.6vw, 41px); }
  .cs-intro { grid-template-columns: minmax(0, 48%) 1fr; gap: 40px; padding: 100px 40px 140px 0; }
  .cs-intro-circle { width: calc(100% + 60px); }
  .cs-intro-item { width: 124px; height: 124px; }
  .cs-intro-item b { font-size: 13px; line-height: 1.5; white-space: nowrap; letter-spacing: 0; }
  .cs-intro-item-3 { left: max(6%, 66px); }
  .cs-intro-title { font-size: clamp(28px, 3.4vw, 41px); }
  .cs-intro-text { line-height: 2.2; }
  .cs-service { grid-template-columns: 34% 1fr; gap: 48px; }
  .cs-service-title { font-size: clamp(23px, 2.8vw, 32px); }
  .cs-features-title { font-size: 18px; }
  .cs-features-text { font-size: 14px; }
  .cs-footer-inner { grid-template-columns: 1fr 1fr; gap: 48px 40px; }
  .cs-footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 768px) and (max-width: 919px) {
  .cs-features-grid { grid-template-columns: 1fr; gap: 24px; }
  .cs-features-item { display: grid; grid-template-columns: 40% 1fr; column-gap: 16px; align-items: center; }
  .cs-features-item img { grid-row: 1 / span 2; }
  .cs-features-title, .cs-features-text { grid-column: 2; }
  .cs-features-text { padding-bottom: 8px; }
}

/* ヘッダーのメニュー（c-s-one は 919px 以下でハンバーガー） */
@media (max-width: 919px) {
  .cs-header { height: 64px; padding: 12px 20px; }
  .cs-logo img { width: 96px; }
  .cs-nav { display: none; }
  .cs-burger { display: block; position: relative; width: 32px; height: 32px; border: 0; background: none; padding: 0; cursor: pointer; }
  .cs-burger span { position: absolute; left: 2px; right: 2px; height: 2px; background: var(--cs-ink); transition: .3s; }
  .cs-burger span:nth-child(1) { top: 8px; }
  .cs-burger span:nth-child(2) { top: 15px; }
  .cs-burger span:nth-child(3) { top: 22px; }
  .cs-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .cs-burger[aria-expanded="true"] span:nth-child(1) { top: 15px; transform: rotate(45deg); }
  .cs-burger[aria-expanded="true"] span:nth-child(3) { top: 15px; transform: rotate(-45deg); }
  .cs-drawer { position: fixed; inset: 64px 0 0; z-index: 99; background: #fff; overflow-y: auto; padding: 24px 20px 120px; }
  .cs-drawer-list > li { border-bottom: 1px solid var(--cs-line); padding: 16px 0; }
  .cs-drawer-list > li > a { font-size: 14px; font-weight: 700; }
  .cs-drawer-list ul { margin-top: 8px !important; padding-left: 20px !important; }
  .cs-drawer-list ul a { font-size: 14px; font-weight: 700; color: var(--cs-gray); line-height: 2.2; }
  .cs-button-wide { width: 100%; padding: 16px; margin-top: 32px; font-size: 15px; }
  .cs { padding-top: 64px; }
}

/* スマートフォン（c-s-one は 767px 以下で 1 列・左右 20px） */
@media (max-width: 767px) {

  .cs-hero { display: flex; flex-direction: column; padding: 16px 0 0; min-height: 0; }
  .cs-hero-image { order: -1; width: calc(100% - 40px); margin: 0 auto; }
  .cs-hero-image img { border-radius: 8px; }
  .cs-hero-text { width: calc(100% - 40px); margin: 32px auto 0; }
  .cs-hero-title { font-size: 23px; line-height: 1.8; }
  .cs-hero-lead { margin-top: 8px !important; }
  .cs-hero-lead span { display: inline; }
  .cs-hero .cs-button-cta { margin-top: 32px; }
  .cs-loop { width: 100%; margin: 16px 0 0; }
  .cs-loop span { font-size: 56px; }

  .cs-intro { display: flex; flex-direction: column; gap: 40px; padding: 64px 20px 120px; }
  .cs-intro-body { order: -1; }
  .cs-intro-title { font-size: 26px; line-height: 1.8; }
  .cs-intro-title br { display: none; }
  .cs-intro-text { line-height: 1.75; margin-top: 32px !important; }
  .cs-intro .cs-link-circle { margin-top: 32px; }
  .cs-intro-circle { width: calc(100% + 40px); margin: 0 -20px; border-radius: 50%; }
  .cs-intro-item-3 { left: 10%; }
  .cs-intro-item { width: 108px; height: 108px; }
  .cs-intro-item b { font-size: 11px; line-height: 1.5; letter-spacing: 0; white-space: nowrap; }
  .cs-intro-item em { font-size: 10px; }

  .cs-card { border-radius: 32px 32px 0 0; padding: 64px 0 160px; margin-top: -80px; }
  .cs-jp { margin-top: 16px !important; }
  .cs-section-sub, .cs-section-text { font-size: 16px; margin-top: 24px !important; }
  .cs-section-text br { display: none; }
  .cs-section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cs-link-circle-text { font-size: 14px; }
  .cs-circle-80 { width: 48px; height: 48px; }

  .cs-section-title-2 { margin-top: 80px; }
  .cs-service { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
  .cs-service-image { width: 72%; margin: 0 auto; }
  .cs-service-sub { font-size: 14px; }
  .cs-service-title { font-size: 23px; }
  .cs-service-text { margin-top: 16px !important; }
  .cs-tags { margin-top: 24px !important; }
  .cs-tags li { width: 76px; height: 76px; font-size: 11px; }
  .cs-service .cs-link-circle { margin-top: 32px; }

  .cs-features-spot { width: 110px; top: -24px; }
  .cs-features-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .cs-features-title { font-size: 16px; line-height: 1.75; }
  .cs-features-text { font-size: 14px; }

  .cs-case .cs-section-head { margin-bottom: 40px; }
  .cs-slider { padding-left: 20px; }
  .cs-slider-track { gap: 16px; }
  .cs-slide { width: calc(100vw - 56px); }
  .cs-slide a { aspect-ratio: 303 / 260; }
  .cs-slide-body { padding: 24px 16px; }
  .cs-slide-title { font-size: 16px; margin-top: 12px !important; }
  .cs-slider-ui { margin-top: 24px; gap: 12px; }
  .cs-slider-ui .cs-circle-64 { width: 48px; height: 48px; }

  .cs-partners .partners-search-box { margin-top: 40px; }

  .cs-company { padding: 80px 0; }
  .cs-company-nav { margin-top: 32px !important; }
  .cs-company-nav a { grid-template-columns: 96px 1fr 32px; grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px; }
  .cs-company-nav img { grid-row: 1 / span 2; }
  .cs-company-nav p { grid-column: 2; }
  .cs-company-nav .cs-circle { grid-column: 3; grid-row: 1 / span 2; }

  .cs-news { padding: 40px 0 80px; }
  .cs-news-inner { grid-template-columns: 1fr; gap: 32px; }
  .cs-news-head { display: flex; flex-direction: column; align-items: flex-start; }
  .cs-news-head .cs-link-circle { margin-top: 24px; }
  .cs-news-spot { display: none; }
  .cs-news-list li { padding: 20px 16px 20px 36px; }
  .cs-news-list li::before { left: 18px; top: 20px; bottom: 20px; }

  .cs-recruit { padding-top: 80px; }
  .cs-recruit-photo { height: 240px; margin-top: 40px; }
  .cs-contact { padding: 80px 0 120px; }
  .cs-contact-box { flex-direction: column; align-items: center; text-align: center; padding: 48px 0; }
  .cs-contact-box .cs-en { justify-content: center; }
  .cs-contact-box .cs-button-cta { width: 100%; }

  .cs-float { width: auto; left: auto; padding: 8px 12px 8px 8px; }
  .cs-float img { width: 48px; height: 48px; }
  .cs-float-text { font-size: 12px; }

  .cs-footer { border-radius: 32px 32px 0 0; padding: 64px 0 140px; }
  .cs-footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .cs-footer-address { margin-top: 32px !important; }
  .cs-footer-copy { margin-top: 24px !important; }
}

.cs-partners .pagination-item { white-space: nowrap; }

/* 2026-11-05 検品の反映 */
.cs-features { overflow: hidden; }
.cs-features-wave { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cs-features-wave path { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1.2; }
.cs-features .cs-inner { z-index: 1; }
.cs-footer { position: relative; }
.cs-footer-stand { position: absolute; right: 12%; top: -104px; width: 30px; height: auto; }
@media (min-width: 768px) {
  .cs-company-nav img { display: none; }
  .cs-company-nav a { grid-template-columns: 1fr 1fr 32px; padding: 32px 24px; }
}
@media (max-width: 767px) {
  .cs-slider-track { margin-left: 0; }
  .cs-slide:nth-child(even) { margin-top: 0; }
  .cs-slide a { aspect-ratio: auto; min-height: 260px; }
  .cs-footer-inner { display: flex; flex-direction: column; }
  .cs-footer-brand { order: 3; text-align: center; }
  .cs-footer-stand { right: 24px; top: -82px; width: 24px; }
}

/* ファーストビューの「with AI時代の」だけ緑のグラデーションで色を変える（ボタンと同じ --cs-grad。大内病院寄せで単色の緑） */
.cs-hero-accent { font-style: normal; background: var(--cs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-hero-accent i { font-style: normal; font-family: var(--cs-en); font-weight: 700; margin-right: .2em; }

/* 2026-11-06 細部の突合: scripts/compare_components.py で c-s-one と部品ごとに計算済みの値を比べ、違っていたものを合わせる */
.cs-header { background: #fff; }
/* 字間: c-s-one は本文の 0.96px を見出しにもそのまま継ぐ（em で書くと大きい文字ほど広がる） */
body.cs-body { letter-spacing: .96px; }
.cs-hero-title { letter-spacing: .96px; }
.cs-menu-item > .cs-menu-link { position: relative; }
.cs-menu-item > .cs-menu-link::before { content: ""; position: absolute; left: 0; bottom: -16px; width: 0; height: 1px; background: var(--cs-teal); transition: width .3s linear; }
.cs-menu-item:hover > .cs-menu-link::before { width: 100%; }
.cs-plus { width: 20px; height: 20px; }
.cs-sub { border-radius: 16px; box-shadow: 0 0 30px rgba(0, 0, 0, .2); }
.cs-sub a { display: inline-flex; align-items: center; gap: 8px; }
.cs-sub a::after { content: ""; flex: none; width: 20px; height: 20px; box-sizing: border-box; border: 1px solid var(--cs-line); border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 7'%3E%3Cpath d='M0 3.5h7M4.2 .7 7 3.5 4.2 6.3' fill='none' stroke='%231D9F60' stroke-width='1'/%3E%3C/svg%3E") center / 8px 7px no-repeat; }
.cs-hero-lead { letter-spacing: normal; }
.cs-intro-item { box-shadow: none; }
/* 丸矢印リンクの下線: c-s-one は文字の幅だけ、1px、文字の 15px 下 */
.cs-link-circle-text { position: relative; padding: 0; margin-right: 0; border-bottom: 0; }
.cs-link-circle-text::before { content: ""; position: absolute; left: 0; right: 0; top: calc(100% + 15px); height: 1px; background: var(--cs-teal); }
.cs-service-title { line-height: 1.4; gap: 10px; }
.cs-tags li { line-height: 1.75; }
.cs-features .cs-features-title { padding: 0 16px; }
.cs-features .cs-features-text { padding: 0 16px 24px; }
.cs-features-grid { margin-top: 48px; }
.cs-slide-meta { column-gap: 8px; font-size: 14px; }
.cs-slide-meta dt { font-size: 12px; line-height: 1.75; padding: 6px 12px; background: rgba(255, 255, 255, .3); }
.cs-slide-client { font-size: 14px; line-height: 1.75; }
.cs-company-nav h3 { line-height: 1.4; }
/* お知らせの行: c-s-one は 24px の余白・左に 1px×36px の線・日付と題を縦に積む */
.cs-news-list li { display: grid; grid-template-columns: 1px 1fr; column-gap: 24px; align-items: center; padding: 24px; }
.cs-news-list li::before { position: static; grid-row: 1 / span 2; width: 1px; height: 36px; }
.cs-news-type { grid-column: 2; line-height: 1.4; }
.cs-news-title { grid-column: 2; margin-top: 0 !important; }
.cs-footer-head { font-size: 16px; line-height: 1.75; gap: 12px; }
.cs-footer-group ul { margin-top: 8px !important; }
.cs-footer-group li + li { margin-top: 8px; }
.cs-footer-group li a { opacity: 1; }
.cs-footer-copy { line-height: 1.4; }
@media (min-width: 1120px) {
  .cs-service { gap: 120px; }
  .cs-intro-item b { font-size: 18px; line-height: 1.75; letter-spacing: .96px; }
  .cs-slide { width: 540px; }
  .cs-slide a { aspect-ratio: 540 / 360; }
  .cs-slider-ui { gap: 32px; }
  .cs-slider-ui .cs-circle-64 { width: 80px; height: 80px; }
}
@media (max-width: 767px) {
  .cs-header { height: 54px; padding: 8px 16px; }
  .cs-logo img { width: auto; height: 24px; }
  .cs { padding-top: 54px; }
  .cs-drawer { inset: 54px 0 0; }
  .cs-hero .cs-button-cta { margin-top: 24px; }
  .cs-intro-item { width: 140px; height: 140px; }
  .cs-intro-item em { font-size: 11px; }
  .cs-intro-item b { font-size: 14px; line-height: 1.75; letter-spacing: .96px; }
  .cs-slide-client { font-size: 11px; }
  .cs-footer-copy { margin-top: 40px !important; }
  .cs-service-image { width: 100%; }
  .cs-service-title { font-size: 18px; gap: 12px; }
  .cs-service-text { margin-top: 24px !important; }
  .cs-tags li { width: 105px; height: 105px; font-size: 13px; }
  .cs-features-grid { margin-top: 24px; gap: 16px; }
  .cs-slide { width: calc(100vw - 40px); }
  .cs-slide a { min-height: 224px; }
  .cs-slide-title { margin-top: 16px !important; }
  .cs-slider-ui .cs-prev, .cs-slider-ui .cs-next { display: none; }
  .cs-slider-ui { width: calc(100vw - 40px); margin: 24px 0 0; }
  .cs-slide-arrow.cs-circle-64 { width: 48px; height: 48px; right: 16px; bottom: 16px; }
  .cs-slide-body { padding: 24px 16px; }
  .cs-slide .cs-slide-meta { margin-right: 56px; }
  .cs-company-nav li { border-top: 1px solid var(--cs-line); }
  .cs-company-nav a { padding: 16px 0; }
  .cs-news-list li { padding: 24px; }
  .cs-footer { padding: 64px 0; }
  .cs-footer-brand { text-align: left; }
}

/* ==== 大内病院寄せの配色・書体・箱（2026-11-06） ==== */
/* 文字の大きさ・太さ・字間は c-s-one と社内の文字サイズ基準（本文 16px）に合わせる。大内病院寄せは色・箱・背景だけ（2026-11-06 福澤さん指摘「フォントの文字サイズに違和感」） */
/* ボタン: 単色の緑・角丸 8px（グラデーションと丸ボタンをやめる） */
.cs-button { border-radius: 8px; background: var(--cs-teal); background-size: auto; transition: background-color .3s, opacity .3s; }
.cs-button:hover { background: #178A52; }
.cs-button-cta { box-shadow: none; min-height: 60px; }
/* 英字ラベル: 見出しの補助として淡いグレージュ、点を消す */
.cs-en { color: #B8AEA7; }
.cs-en::before { display: none; }

/* 区画: 大きな角丸と影の重なりをやめ、白とベージュの帯で区切る */
.cs-card { border-radius: 0; box-shadow: none; margin-top: 0; padding: 120px 0; }
.cs-case { background: var(--cs-beige); }
/* イラストの地: 淡い緑の角丸の箱に入れる（白地は乗算で地の色に溶かす） */
.cs-hero-image { padding: 24px; margin-right: 24px; background: #EBF5EC; border-radius: 16px; }
.cs-hero-image img { mix-blend-mode: multiply; }
.cs-intro-circle { background: var(--cs-illust-bg); }
.cs-intro-img { mix-blend-mode: multiply; }
.cs-intro-item { box-shadow: 3px 3px 10px rgba(0, 0, 0, .1); }
.cs-loop span { color: rgba(29, 159, 96, .08); }
/* 事例カード: 写真の上の青いかぶせを、文字が読める程度の濃い影に */
.cs-slide a::before { background: linear-gradient(rgba(0, 0, 0, .15), rgba(0, 0, 0, .55)); }
/* フッター: 濃い紺の大きな角丸をやめ、ベージュの地に濃い文字 */
.cs-footer { background: var(--cs-beige); color: var(--cs-ink); border-radius: 0; }
.cs-footer-group { border-top-color: rgba(0, 0, 0, .12); }
.cs-footer-col .cs-footer-group:last-child { border-bottom-color: rgba(0, 0, 0, .12); }
.cs-footer .cs-circle-20 { border-color: var(--cs-teal); background: var(--cs-teal); }
@media (max-width: 767px) {
  .cs-card { border-radius: 0; padding: 64px 0; margin-top: 0; }
  .cs-footer { border-radius: 0; }
  .cs-hero-image { padding: 12px; margin-right: auto; }
}

/* ==== 2026-11-06 配置の突合（c-s-one のレイアウト・余白・レスポンシブに合わせる。色・書体・ボタンの形は上の大内病院寄せのまま） ==== */
.cs-plus { transition: transform .3s; }
.cs-has-sub:hover .cs-plus { transform: rotate(180deg); }
.cs-footer-group li + li { margin-top: 0; }
@media (min-width: 1120px) {
  /* ファーストビュー: c-s-one は見出しの上端がページ上端から 294px */
  .cs-hero { padding-top: 115px; }
  /* 事例: カードの上端をそろえる・進み具合の線は中身の左端から・送りボタンは 80px で間 16px */
  .cs-slide:nth-child(even) { margin-top: 0; }
  .cs-slide-arrow.cs-circle-64 { width: 80px; height: 80px; }
  .cs-slider-ui { gap: 16px; margin-left: 0; }
  .cs-slider-ui .cs-prev { margin-left: 48px; }
  .cs-case .cs-section-head { align-items: flex-start; }
  /* 企業情報の行: 中身より左右 112px 広い・行の高さ 128px・ホバーで影と画像が左から出る */
  .cs-company-nav { margin: 32px -112px 0 !important; }
  .cs-company-nav a { grid-template-columns: 0 538px 1fr 32px; column-gap: 32px; padding: 16px 48px 16px 131px; min-height: 128px; box-sizing: border-box; transition: grid-template-columns .3s, box-shadow .3s; }
  .cs-company-nav img { display: block; width: 96px; height: 96px; opacity: 0; transform: translateX(-96px); transition: opacity .3s, transform .3s; }
  .cs-company-nav a:hover { grid-template-columns: 96px 410px 1fr 32px; box-shadow: 0 0 16px rgba(0, 0, 0, .1); }
  .cs-company-nav a:hover img { opacity: 1; transform: translateX(0); }
  /* お問い合わせの箱: 中身より左右 112px 広く、上下 120px */
  .cs-contact-box { margin: 0 -112px; padding: 120px 112px; }
  /* フッター: 右の 2 列は 320px・間 64px */
  .cs-footer-inner { grid-template-columns: 1fr 320px 320px; }
}
@media (max-width: 767px) {
  /* ハンバーガー: 24×20 の箱に 24px の線を 10px 間隔で 3 本 */
  .cs-burger { width: 24px; height: 20px; }
  .cs-burger span { left: 0; right: 0; }
  .cs-burger span:nth-child(1) { top: 0; }
  .cs-burger span:nth-child(2) { top: 9px; }
  .cs-burger span:nth-child(3) { top: 18px; }
  .cs-burger[aria-expanded="true"] span:nth-child(1), .cs-burger[aria-expanded="true"] span:nth-child(3) { top: 9px; }
  /* SP メニュー: 下の階層は閉じておき「+」で開く。行は上下 24px で区切り線 */
  .cs-drawer-list > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 24px 0; }
  .cs-drawer-list > li > ul { flex-basis: 100%; display: none; }
  .cs-drawer-list > li.is-open > ul { display: block; }
  .cs-drawer-toggle { width: 20px; height: 20px; padding: 0; border: 1px solid var(--cs-line); border-radius: 50%; background: #fff; position: relative; cursor: pointer; }
  .cs-drawer-toggle::before, .cs-drawer-toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 1px; background: var(--cs-teal); transform: translate(-50%, -50%); }
  .cs-drawer-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
  .cs-drawer-list > li.is-open .cs-drawer-toggle::after { transform: translate(-50%, -50%) rotate(0); }
  /* 事業: 番号は 20px、小見出しは見出しの文字の位置にそろえる */
  .cs-service-no { font-size: 20px; }
  .cs-service-sub { padding-left: 44px; }
  /* 事例: 次のカードを右端にのぞかせない */
  .cs-slider-track { gap: 20px; }
  /* フッター: 列の境目の線を 1 本に */
  .cs-footer-col + .cs-footer-col .cs-footer-group:first-child { border-top: 0; }
  .cs-hero-lead { margin-top: 0 !important; }
}

/* 事例カード: 画像を上、文字を下の濃い面に分ける（写真やロゴの上に文字を重ねない・全カード同じ高さ）。2026-11-06 */
.cs-slider-track { align-items: stretch !important; }
.cs-slide { display: flex; }
.cs-slide a { display: flex; flex-direction: column; width: 100%; aspect-ratio: auto !important; min-height: 0 !important; height: auto; background: #3D3D3D; }
.cs-slide a::before { display: none !important; }
.cs-slide img { position: static !important; flex: none; width: 100%; height: 200px; object-fit: cover; }
.cs-slide-logo img { object-fit: contain; background: #fff; padding: 28px 32px; box-sizing: border-box; }
.cs-slide-body { position: relative; flex: 1; padding: 24px 104px 28px 24px !important; }
.cs-slide-title { margin-top: 12px !important; }
@media (max-width: 767px) {
  .cs-slide img { height: 160px; }
  .cs-slide-logo img { padding: 20px 24px; }
  .cs-slide-body { padding: 20px 16px 76px !important; }
}
.cs-slide-note { font-size: 12px; line-height: 1.6; margin-top: 12px !important; opacity: .9; }

/* ==== 2026-11-06 広い画面（1441px〜）: 絵と文字を中央にまとめる（c-s-one は 1920px で左右 120px の余白の中に収める） ==== */
@media (min-width: 1441px) {
  .cs-hero { grid-template-columns: minmax(0, 640px) minmax(0, 760px); justify-content: center; column-gap: 96px; padding-left: 40px; padding-right: 40px; }
  .cs-hero-image { margin-right: 0; }
  .cs-loop { margin-left: -40px; }
  .cs-intro { grid-template-columns: minmax(0, 900px) 627px; justify-content: center; column-gap: 120px; padding-left: 60px; padding-right: 40px; }
}

/* ==== 2026-11-06 文字サイズの段（社内の文字サイズ基準 shared/design-system/typography-scale.md に合わせる） ====
   PC: 注記 12 / 小 14 / 本文 16 / リード 18 / 小見出し 20 / 見出し 24 / 大見出し 32 / 特大 40
   SP: 注記 11 / 小 13 / 本文 16 / 小見出し 18 / 見出し 20 / 大見出し 24 / 特大 28
   c-s-one の 13px・23px・41px は、いちばん近い段（14・24・40）に寄せた */
.cs-hero-title, .cs-intro-title { font-size: 40px; }
.cs-hero-lead { font-size: 18px; }
.cs-jp, .cs-slide-title { font-size: 24px; }
.cs-footer-group li a, .cs-footer-address, .cs-footer-copy, .cs-float-text, .cs-service-no, .cs-company-nav p, .cs-news-type, .cs-slide-meta, .cs-tags li, .cs-slide-client { font-size: 14px; }
.cs-slide-meta dt, .cs-float-badge { font-size: 12px; }
@media (min-width: 768px) and (max-width: 1119px) {
  .cs-hero-title { font-size: clamp(32px, 3.6vw, 40px); }
  .cs-intro-title { font-size: clamp(28px, 3.4vw, 40px); }
}
@media (max-width: 767px) {
  .cs-hero-title { font-size: 24px; }
  .cs-hero-lead { font-size: 16px; }
  .cs-intro-title { font-size: 28px; }
  .cs-jp, .cs-slide-title { font-size: 20px; }
  .cs-footer-group li a, .cs-footer-address, .cs-footer-copy, .cs-float-text, .cs-float-badge, .cs-company-nav p, .cs-news-type, .cs-slide-meta, .cs-slide-client, .cs-en { font-size: 13px; }
  .cs-slide-meta dt { font-size: 11px; }
  .cs-link-circle-text { font-size: 16px; }
  .cs-tags li { width: 88px; height: 88px; font-size: 13px; }
  .cs-intro-item { width: 124px; height: 124px; }
  .cs-intro-item b { font-size: 13px; }
}
@media (max-width: 767px) {
  .cs-service-sub, .cs-service-no, .cs-slide-meta dd { font-size: 13px; }
  .cs-slide-note { font-size: 11px; }
}
/* 2026-11-06 横はみ出しの修正: 企業情報の行とお問い合わせの箱の左右 112px のはみ出しは、画面に余白がある分だけにする（1280px で 32px はみ出していた） */
@media (min-width: 1120px) {
  .cs-company-nav { margin-left: calc(-1 * clamp(0px, (100vw - 1136px) / 2, 112px)) !important; margin-right: calc(-1 * clamp(0px, (100vw - 1136px) / 2, 112px)) !important; }
  .cs-contact-box { margin-left: calc(-1 * clamp(0px, (100vw - 1136px) / 2, 112px)); margin-right: calc(-1 * clamp(0px, (100vw - 1136px) / 2, 112px)); }
}
/* 広い画面: 流れる英字は、中央にまとめたヒーローの左端から画面の左端まで戻して全幅にする */
@media (min-width: 1441px) { .cs-loop { margin-left: calc(-1 * (100vw - 1496px) / 2); } }
/* 吹き出しの日本語は段（PC 16px・タブレット 14px）に合わせる */
.cs-intro-item b { font-size: 16px; }
@media (min-width: 768px) and (max-width: 1119px) { .cs-intro-item b { font-size: 14px; } }
@media (max-width: 767px) { .cs-intro-item b { font-size: 13px; } }
@media (min-width: 768px) and (max-width: 1119px) { .cs-intro-item { width: 136px; height: 136px; } }

/* ==== 2026-11-06 ヒーローの絵を町の見下ろし（作風A）に差し替え。大内病院のトップと同じく、絵を背景として右から画面の約80%幅・約90%高さに敷き、文字は白い板に載せて左に重ねる ==== */
@media (min-width: 768px) {
  .cs-hero { --hero-h: clamp(520px, 44vw, 860px); display: block; position: relative; min-height: 0; padding: 0; }
  .cs-hero-image { position: absolute; top: 0; right: 0; width: 80%; height: var(--hero-h); margin: 0; padding: 0; background: none; border-radius: 0 0 0 40px; overflow: hidden; z-index: 0; }
  .cs-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: normal; }
  .cs-hero-wrap { position: relative; z-index: 2; min-height: var(--hero-h); display: flex; align-items: center; padding-left: max(40px, calc((100% - 1200px) / 2)); }
  .cs-hero-text { width: min(620px, 52%); margin: 40px 0; padding: 48px; background: rgba(255, 255, 255, .95); border-radius: 16px; box-shadow: 0 8px 32px rgba(0, 0, 0, .08); box-sizing: border-box; }
  .cs-hero-lead { margin-top: 32px !important; }
  .cs-hero .cs-button-cta { margin-top: 32px; }
  .cs-loop, .cs-hero .cs-loop { width: 100vw; margin: 8px 0 0 calc(50% - 50vw); }
}
@media (min-width: 768px) and (max-width: 1119px) {
  .cs-hero { --hero-h: clamp(460px, 60vw, 600px); }
  .cs-hero-text { width: min(520px, 62%); padding: 36px; }
  .cs-hero-lead span { display: inline; }
}
@media (max-width: 767px) {
  .cs-hero-wrap { display: contents; }
  .cs-hero-image { width: 100%; margin: 0; padding: 0; background: none; border-radius: 0; }
  .cs-hero-image img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% center; border-radius: 0; mix-blend-mode: normal; }
}
@media (min-width: 1120px) { .cs-hero-text { width: min(680px, 52%); } }

/* ==== 2026-11-06 事例の送り: 右端で見切れるカードを、薄くなるグラデーションで消す（福澤さん指示） ==== */
.cs-slider { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 320px), rgba(0, 0, 0, .15) calc(100% - 24px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 320px), rgba(0, 0, 0, .15) calc(100% - 24px), transparent); }
@media (max-width: 767px) {
  .cs-slider { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 72px), transparent); }
}
@media (min-width: 768px) and (max-width: 1119px) { .cs-hero-text { width: min(540px, 64%); } .cs-hero .cs-hero-title { font-size: 32px; } }

/* ==== 2026-11-06 ヒーローの画角を直す（福澤さん「画像の画角がおかしい」）
   前の版は絵を横長の枠に cover で敷いたため上下が切れ、さらに左の3分の1（テレビの居間・新聞のベンチ）が文字の板の下に隠れていた。
   絵は切らず（3:2 のまま全体を見せる）、文字と重ねない。絵は右端まで寄せて画面幅の約60%で大きく見せる ==== */
@media (min-width: 768px) {
  .cs-hero { display: grid; grid-template-columns: minmax(0, 1fr) 60%; align-items: center; column-gap: 48px; padding: 32px 0 0 max(40px, calc((100% - 1200px) / 2)); }
  .cs-hero-wrap { display: block; min-height: 0; padding: 0; }
  .cs-hero-text { width: auto; margin: 0; padding: 0; background: none; border-radius: 0; box-shadow: none; }
  .cs-hero-image { position: static; width: auto; height: auto; aspect-ratio: 3 / 2; border-radius: 24px 0 0 24px; }
  .cs-hero-image img { height: 100%; object-fit: contain; }
  .cs-hero-lead span { display: inline; }
  .cs-loop, .cs-hero .cs-loop { grid-column: 1 / -1; }
}
@media (min-width: 768px) and (max-width: 1119px) {
  .cs-hero { grid-template-columns: 1fr; row-gap: 32px; padding-left: 0; }
  .cs-hero-wrap { order: 2; padding: 0 40px; }
  .cs-hero-image { order: 1; border-radius: 0; }
  .cs-hero .cs-loop { order: 3; }
}
@media (max-width: 767px) {
  .cs-hero-image img { aspect-ratio: 3 / 2; object-fit: contain; }
}
@media (min-width: 1120px) {
  .cs-hero { grid-template-columns: max(40px, calc((100% - 1200px) / 2)) minmax(0, 1fr) 60%; column-gap: 0; padding: 32px 0 0; }
  .cs-hero-wrap { grid-column: 2; padding-right: 48px; }
  .cs-hero-image { grid-column: 3; }
  .cs-hero .cs-loop { grid-column: 1 / -1; width: auto; margin: 8px 0 0; }
}
@media (min-width: 768px) and (max-width: 1119px) { .cs-hero .cs-loop { width: auto; margin: 8px 0 0; } }
@media (min-width: 1120px) {
  .cs-hero { grid-template-columns: max(40px, calc((100% - 1200px) / 2)) minmax(0, 1fr) min(60%, calc(100% - max(40px, (100% - 1200px) / 2) - 600px)); }
}

/* ==== 2026-11-06 事例: PC は3件を横に並べて全部見せる（送りの線と矢印・右端のグラデーションをやめる）
   3件しかないため、広い画面では送る先がなく、緑の進み具合の線が意味を持たなかった（福澤さん「緑の線なんだ？」）。スマホと 1119px 以下は送りのまま ==== */
@media (min-width: 1120px) {
  .cs-slider { -webkit-mask-image: none; mask-image: none; padding: 0; max-width: 1120px; margin: 0 auto; overflow: visible; }
  .cs-slider-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-left: 0; transform: none !important; }
  .cs-slide { width: auto; }
  .cs-slide a { aspect-ratio: auto; height: 100%; }
  .cs-slider-ui { display: none; }
}
@media (min-width: 1120px) {
  .cs-slider .cs-slide-body { padding: 24px 24px 104px !important; }
  .cs-slider .cs-slide-title { font-size: 20px; }
  .cs-slider .cs-slide a { display: flex; flex-direction: column; }
}
@media (min-width: 768px) and (max-width: 1119px) {
  .cs-hero-wrap { order: 1; padding-top: 48px; }
  .cs-hero-image { order: 2; width: calc(100% - 80px); margin: 0 auto; border-radius: 16px; }
}

/* ==== 2026-11-06 導入の絵を作風A（端まで描いた町）に差し替え。円の中を絵で満たし、円を窓として町をのぞく形にする ==== */
.cs-intro-circle { overflow: visible; }
.cs-intro-img.cs-intro-img-a { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; border-radius: 50%; mix-blend-mode: normal; }
.cs-intro-item { z-index: 2; }
/* 円で切ると端まで描いた町が大きく欠ける（ヒーローの指摘と同じ）。絵は 3:2 のまま角丸の窓で全体を見せる */
.cs-intro-circle { aspect-ratio: 3 / 2; width: 100%; margin-left: 0; border-radius: 24px; }
.cs-intro-img.cs-intro-img-a { border-radius: 24px; }
@media (max-width: 767px) { .cs-intro-circle { width: 100%; margin: 0; border-radius: 16px; } .cs-intro-img.cs-intro-img-a { border-radius: 16px; } }
/* 丸の見出し3つは絵の上に散らさず、絵の下辺に少しかかる形で横に並べる（絵の中身を隠さない） */
.cs-intro-circle { aspect-ratio: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4%; background: none; }
.cs-intro-img.cs-intro-img-a { position: static; flex: 0 0 100%; height: auto; aspect-ratio: 3 / 2; }
.cs-intro-circle .cs-intro-item { position: static; inset: auto; margin-top: -48px; width: clamp(124px, 11vw, 160px); height: clamp(124px, 11vw, 160px); }
.cs-intro { padding-left: max(40px, calc((100% - 1200px) / 2)); }
@media (max-width: 767px) {
  .cs-intro { padding-left: 20px; }
  .cs-intro-circle { gap: 0 3%; }
  .cs-intro-circle .cs-intro-item { margin-top: -32px; width: 104px; height: 104px; }
  .cs-intro-item b { font-size: 11px; }
}
.cs-intro-circle .cs-intro-item { position: relative; width: min(30%, 156px); height: auto; aspect-ratio: 1; flex: none; }
.cs-intro-circle .cs-intro-item b { font-size: 14px; }
@media (min-width: 1441px) { .cs-intro-circle .cs-intro-item b { font-size: 16px; } }
@media (max-width: 767px) {
  .cs-intro-circle .cs-intro-item { width: 30%; margin-top: -28px; }
  .cs-intro-circle .cs-intro-item b { font-size: 11px; }
  .cs-intro-circle .cs-intro-item em { font-size: 10px; top: 18%; }
}

/* ==== 2026-11-06 事例のカード（PC 3件横並び）: 改行と読みやすさ（福澤さん「改行がおかしいし、事例紹介は見づらい」）
   濃い灰の板に白文字だと3枚並べたとき重く、狭い幅で語の途中（「あ／んよ」「メディ／ア」）で折れていた。
   白い板に濃い文字、日本語は文節で折る（word-break: auto-phrase）、依頼主名は1段小さく ==== */
.cs-slide-client, .cs-slide-title, .cs-slide-meta dd, .cs-slide-note { word-break: auto-phrase; text-wrap: pretty; }
@media (min-width: 1120px) {
  .cs-slider .cs-slide a { background: #fff; color: var(--cs-ink); border: 1px solid rgba(0, 0, 0, .08); border-radius: 12px; }
  .cs-slider .cs-slide a::before { display: none; }
  .cs-slider .cs-slide-body { background: #fff !important; color: var(--cs-ink); padding: 24px 24px 96px !important; }
  .cs-slider .cs-slide-client { font-size: 12px; color: #6b6b6b; line-height: 1.6; }
  .cs-slider .cs-slide-title { font-size: 20px; line-height: 1.6; margin-top: 8px !important; }
  .cs-slider .cs-slide-meta { font-size: 14px; }
  .cs-slider .cs-slide-meta dt { background: var(--cs-pale, #EBF5EC); color: var(--cs-ink); }
  .cs-slider .cs-slide-note { color: #6b6b6b; }
  .cs-slider .cs-slide img { border-bottom: 1px solid rgba(0, 0, 0, .06); }
}
@media (min-width: 1120px) {
  .cs-slider .cs-slide-arrow.cs-circle-64 { width: 56px; height: 56px; }
  .cs-slider .cs-slide-body { padding-bottom: 88px !important; }
}
h1, h2, h3, h4 { word-break: auto-phrase; text-wrap: pretty; }

/* ==== 2026-11-06 ヒーロー: 大内病院のように絵を背景に敷く形（パターンB）で確定（福澤さん「普通にこれくらいでいいんじゃない？」）。
   絵は右から画面幅の80%で 3:2 のまま敷き、文字の板は小さくしてロゴの左端にそろえ、テレビの居間と新聞のベンチを隠さない ==== */
@media (min-width: 1120px) {
  .cs-hero.is-bg { display: block; position: relative; padding: 0; }
  .cs-hero.is-bg .cs-hero-image { position: absolute; top: 0; right: 0; width: 80%; height: auto; aspect-ratio: 3 / 2; margin: 0; border-radius: 0 0 0 40px; overflow: hidden; z-index: 0; }
  .cs-hero.is-bg .cs-hero-image img { width: 100%; height: 100%; object-fit: cover; }
  .cs-hero.is-bg .cs-hero-wrap { position: relative; z-index: 2; min-height: calc(80vw * 2 / 3); padding: 24px 0 0 64px; }
  .cs-hero.is-bg .cs-hero-text { width: 460px; box-sizing: border-box; padding: 28px 32px; background: rgba(255, 255, 255, .96); border-radius: 16px; box-shadow: 0 8px 32px rgba(0, 0, 0, .1); }
  .cs-hero.is-bg .cs-hero-title { font-size: 28px; }
  .cs-hero.is-bg .cs-hero-lead { font-size: 14px; line-height: 1.8; margin-top: 16px !important; }
  .cs-hero.is-bg .cs-button-cta { margin-top: 20px; }
  .cs-hero.is-bg .cs-loop { margin-top: 0; }
}

/* ==== 2026-11-06 右下の固定ボタン: 居間の絵の切り抜きをやめ、ボタン専用の正方形の絵（マイクの前で話す医師）にする。切れないので cover を外す ==== */
.cs-float img { object-fit: contain; border-radius: 50%; }
.cs-footer-stand { display: none; }

/* 企業情報: 行に名前と説明を左右へ離して並べる形をやめ、挿絵つきのカード3枚に（2026-11-06 福澤さん「こんな構成する会社ある。。？？？」）。
   「企業情報を見る」は会社概要と同じ行き先なので外した */
.cs-company-cards { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cs-company-cards a { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--cs-line); border-radius: 12px; overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .3s; }
.cs-company-cards a:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.cs-company-cards img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #f6f8f6; }
.cs-company-card-body { display: block; padding: 24px 24px 72px; }
.cs-company-cards h3 { font-size: 20px; font-weight: 700; line-height: 1.4; margin: 0 0 8px; word-break: auto-phrase; }
.cs-company-cards p { font-size: 14px; line-height: 1.8; margin: 0; word-break: auto-phrase; text-wrap: pretty; }
.cs-company-cards .cs-circle { position: absolute; right: 24px; bottom: 24px; }
@media (max-width: 1023px) {
  .cs-company-cards { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .cs-company-cards a { flex-direction: row; align-items: center; }
  .cs-company-cards img { width: 120px; flex: none; }
  .cs-company-card-body { padding: 16px 56px 16px 16px; }
  .cs-company-cards h3 { font-size: 16px; margin-bottom: 4px; }
  .cs-company-cards p { font-size: 13px; }
  .cs-company-cards .cs-circle { top: 50%; bottom: auto; right: 16px; transform: translateY(-50%); }
}
.cs-company .cs-company-cards { margin-top: 48px !important; }
.cs-section-text { word-break: auto-phrase; text-wrap: pretty; }
@media (max-width: 1023px) {
  .cs-company .cs-company-cards { margin-top: 32px !important; }
  .cs-company-cards img { width: 96px; }
}
.cs-nowrap { white-space: nowrap; }
/* 事例カード: 丸矢印は普段から塗らず、ほかの丸ボタンと同じく hover で塗る。カード自体も hover で浮かせる（2026-11-06 福澤さん「〇→の部分フーバーの反応あってる？？」） */
.cs-slider .cs-slide a { transition: box-shadow .3s; }
.cs-slider .cs-slide a:hover { box-shadow: 0 0 16px rgba(0, 0, 0, .1); }

/* 事業のタグ: 決まった大きさの丸に語を入れると「ウェブサイト監修」「イベント出演」が丸からはみ出す（2026-11-06 福澤さん「なんでウェブサイト監修って文字が〇はみ出してんだ」）。
   丸をやめ、語の長さに合わせて伸びる角丸の札にする。小見出し（テレビ・ラジオ・記事）は番号の左端にそろえる */
.cs-tags { gap: 8px; }
.cs-tags li { width: auto; height: auto; aspect-ratio: auto; border-radius: 999px; padding: 8px 18px; white-space: nowrap; font-size: 14px; line-height: 1.6; }
.cs-service-sub { padding-left: 0; }
@media (max-width: 767px) {
  .cs-tags li { padding: 6px 14px; font-size: 13px; }
}

/* ヒーロー: 文字は小さくしない（2026-11-06 福澤さん「文字のサイズは小さくしなくていいだろ」）。板は左上の隅に寄せず（「左上すぎるし、サイズもおかしい」）、
   ほかの節と同じ左端にそろえ、絵の縦の真ん中に置く */
@media (min-width: 1120px) {
  .cs-hero.is-bg .cs-hero-wrap { display: flex; align-items: center; min-height: calc(80vw * 2 / 3); padding: 0 0 0 max(40px, calc((100% - 1200px) / 2)); box-sizing: border-box; }
  .cs-hero.is-bg .cs-hero-text { width: 540px; padding: 40px; }
  .cs-hero.is-bg .cs-hero-title { font-size: 32px; }
  .cs-hero.is-bg .cs-hero-lead { font-size: 16px; line-height: 1.9; margin-top: 24px !important; }
  .cs-hero.is-bg .cs-button-cta { margin-top: 28px; }
}

/* ヒーロー: 絵を最初の画面に収め（高さを画面の高さまで）、文字の板はロゴと同じ左端から絵の縁にまたがせる。
   板を絵の中に浮かせると、左の白い空きと板が離れて不自然（2026-11-06 福澤さん「いや、だから、これ不自然じゃない？」） */
@media (min-width: 1120px) {
  .cs-hero.is-bg { --hero-w: min(80vw, calc((100vh - 81px) * 1.5)); }
  .cs-hero.is-bg .cs-hero-image { width: var(--hero-w); }
  .cs-hero.is-bg .cs-hero-wrap { min-height: calc(var(--hero-w) * 2 / 3); padding: 0 0 0 64px; }
}

/* 事例の注記: 推計値であることは残し、短く小さくする（2026-11-06 福澤さん「すくなくともだいぶ小さい文字で残すべき」） */
.cs-slider .cs-slide-note, .cs-slide-note { font-size: 10px !important; line-height: 1.5; color: #8a8a8a; margin-top: 8px !important; opacity: 1; }

/* 事例カード: スマホ・タブレットも PC と同じ白い板に濃い文字にする。濃い灰の板に白文字は、スマホでも重く見づらい（2026-11-06 福澤さん「濃い灰色カードの上の白文字…なおしたほうがいいんじゃない？」） */
@media (max-width: 1119px) {
  .cs-slider .cs-slide a { background: #fff; color: var(--cs-ink); border: 1px solid rgba(0, 0, 0, .08); border-radius: 12px; }
  .cs-slider .cs-slide a::before { display: none; }
  .cs-slider .cs-slide-body { background: #fff !important; color: var(--cs-ink); }
  .cs-slider .cs-slide-client { color: #6b6b6b; }
  .cs-slider .cs-slide-meta dt { background: var(--cs-pale, #EBF5EC); color: var(--cs-ink); }
  .cs-slider .cs-slide-meta dd { color: var(--cs-ink); }
  .cs-slider .cs-slide img { border-bottom: 1px solid rgba(0, 0, 0, .06); }
}

/* ヒーローの説明文: 「集客／のコンサルティング」「良い情／報」と語の途中で折れていた（2026-11-06 福澤さん「改行の位置がきになっちゃう」）。文節で折る */
.cs-hero-lead, .cs-hero-title, .cs-section-text, .cs-service-text, .cs-intro-text { word-break: auto-phrase; text-wrap: pretty; }
@media (min-width: 1120px) { .cs-hero.is-bg .cs-hero-lead span { display: block; } }

/* 紹介の区画: 下の事業の区画と同じ中身の幅（1120px）にそろえ、絵を左端・文を右にそろえる */
@media (min-width: 1120px) {
  .cs-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); column-gap: 80px; justify-content: stretch; max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; box-sizing: content-box; }
}

/* ヒーロー: 絵を横2：縦1の町の絵に差し替え（2026-11-07 福澤さん「1でいいね」）。枠の比率を絵に合わせ、左右が切れないようにする */
@media (min-width: 768px) {
  .cs-hero.is-bg .cs-hero-image { aspect-ratio: 2 / 1; }
  .cs-hero.is-bg .cs-hero-wrap { min-height: calc(80vw / 2); }
}
@media (min-width: 1120px) {
  .cs-hero.is-bg { --hero-w: min(80vw, calc((100vh - 81px) * 2)); }
  .cs-hero.is-bg .cs-hero-wrap { min-height: calc(var(--hero-w) / 2); }
}

/* ヒーロー: 大きな画面で、絵だけ大きくなり文字の板が小さく見える釣り合いを直す（2026-11-07 福澤さん「デカいモニタの時の左のカードとイラストのサイズのバランス」）。
   1440px を超えたら、板の幅・余白・文字を画面幅に合わせて大きくする（1440px で今と同じ大きさ） */
@media (min-width: 1441px) {
  .cs-hero.is-bg .cs-hero-text { width: calc(540px * 100vw / 1440px); width: clamp(540px, 37.5vw, 760px); padding: clamp(40px, 2.8vw, 56px); }
  .cs-hero.is-bg .cs-hero-title { font-size: clamp(32px, 2.22vw, 44px); }
  .cs-hero.is-bg .cs-hero-lead { font-size: clamp(16px, 1.11vw, 21px); }
  .cs-hero.is-bg .cs-hero-wrap { padding-left: clamp(64px, 4.4vw, 96px); }
  .cs-hero.is-bg .cs-button-cta { margin-top: clamp(28px, 1.9vw, 40px); transform-origin: left center; }
}
@media (min-width: 1800px) { .cs-hero.is-bg .cs-button-cta { font-size: 17px; padding-top: 22px; padding-bottom: 22px; } }

/* 紹介の区画の丸ラベル: 文字の大きさを丸の幅に合わせて決め、どの画面幅でも丸からはみ出さないようにする
   （2026-11-07 福澤さん「何回目かわかんないけど、集客コンサルティングの文字が円をはみ出してる」） */
.cs-intro-item { container-type: inline-size; }
.cs-intro-item b { font-size: min(9.5cqi, 20px) !important; line-height: 1.5 !important; letter-spacing: 0 !important; white-space: nowrap; }
.cs-intro-item em { font-size: min(6cqi, 13px) !important; }

/* 紹介の区画の丸ラベル: 会社の趣旨なので文字は大きく保ち、丸と絵の大きさの側で合わせる（2026-11-07 福澤さん「フォント小さすぎ。画像のサイズと〇のサイズ側で調整」）。
   丸は絵の幅の3等分（最大 176px）まで大きくし、文字は丸の幅から決める（最大 18px）。PC は文の列を 540px・見出しを 36px にして絵の列を広げる */
.cs-intro-circle { justify-content: space-between !important; gap: 0 !important; }
.cs-intro-item { width: min(176px, calc((100% - 8px) / 3)) !important; height: auto !important; aspect-ratio: 1; flex: 0 0 auto; }
.cs-intro-item b { font-size: min(10.8cqi, 18px) !important; }
.cs-intro-item em { font-size: min(7cqi, 12px) !important; }
@media (min-width: 1120px) {
  .cs-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); column-gap: 48px; }
  .cs-intro-title { font-size: 36px !important; }
}
