/* トップページの導入事例（2026-10-19 利用者の指示：AIエースLPの導入事例3社をそのまま差し替え）
   ai-ace/ai-ace.css の導入事例の部分を .hc の中だけに効くように写したもの */
.hc { --a-brand: #003681; --a-brand2: #12448A; --a-pale: #CCD7E6; --a-soft: #A1B5D1; --a-deep: #001A3D; --a-white: #FFFFFF; --a-tint: rgba(204, 215, 230, .28); --a-tint2: rgba(204, 215, 230, .5); --a-line: rgba(204, 215, 230, .9); --a-err: #B42318; --a-gutter: clamp(20px, 4vw, 40px); --a-hdr: 68px; }

.hc .ax-h3 { font-family: var(--mincho); color: var(--a-brand); word-break: auto-phrase; }

.hc .ax-h3 { margin: 0 0 10px; font-weight: 700; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; }

.hc .ax-case-who { margin: 0 0 8px; font-size: 14.5px; font-weight: 700; color: var(--a-brand2); }

.hc .ax-proto-col .ax-h3 { color: var(--a-white); font-size: 18px; }

.hc .ax-proto-col.is-later .ax-h3 { color: var(--a-brand); }

.hc { --a-grad: linear-gradient(120deg, #001A3D 0%, #003681 45%, #12448A 100%); --a-shadow: 0 18px 40px -24px rgba(0, 54, 129, .45); --a-hdr: 80px; }

.hc .ax-h3 { font-family: var(--gothic); }

.hc .ax-h3 { font-weight: 700; }

.hc .ax-em { font-style: normal; color: var(--a-brand2); background: linear-gradient(transparent 64%, rgba(204, 215, 230, .95) 64%, rgba(204, 215, 230, .95) 92%, transparent 92%); padding: 0 .04em; }

@media (max-width: 600px) {

  .hc { --a-hdr: 64px; }

}

.hc { --a-accent: #0890F8; --a-accent2: #0055C4; --a-grad: linear-gradient(120deg, #001A3D 0%, #003681 38%, #0055C4 100%); --a-grad-bright: linear-gradient(120deg, #003681 0%, #0055C4 55%, #0890F8 100%); }

.hc .ax-em { color: var(--a-accent2); background: linear-gradient(transparent 62%, rgba(8, 144, 248, .2) 62%, rgba(8, 144, 248, .2) 94%, transparent 94%); }

.hc { --a-hdr: 96px; }

@media (max-width: 600px) {

  .hc { --a-hdr: 72px; }

}

.hc .ax-who { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--a-brand2); background: var(--a-white); box-shadow: inset 0 0 0 1px var(--a-line); }

.hc .ax-pc.is-ai .ax-who { background: var(--a-accent2); color: var(--a-white); box-shadow: none; }

.hc .ax-cases2 { display: grid; gap: clamp(40px, 5vw, 64px); }

.hc .ax-cs-title { margin: 2px 0 14px; font-size: clamp(20px, 2.1vw, 27px); font-weight: 900; line-height: 1.5; }

.hc .ax-cs-metrics { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

.hc .ax-cs-metrics li { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; padding: 8px 18px; border-radius: 999px; background: rgba(8, 144, 248, .08); box-shadow: inset 0 0 0 1px rgba(8, 144, 248, .3); }

.hc .ax-cs-metrics span { font-size: 13px; font-weight: 700; color: var(--a-brand2); }

.hc .ax-cs-metrics b { font-size: 19px; font-weight: 900; color: var(--a-accent2); }

@media (min-width: 1001px) {

  .hc .ax-cs-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .hc .ax-cs-steps .ax-pc:not(:last-child)::after { display: block; }

}

.hc .ax-tl-step.is-ai .ax-who, .hc .ax-r3.is-ai .ax-who { background: var(--a-accent2); color: var(--a-white); box-shadow: none; }

.hc .ax-row3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }

.hc .ax-r3 { position: relative; display: flex; flex-direction: column; padding: 22px 22px 24px; border-radius: 18px; background: var(--a-white); box-shadow: 0 0 0 1px rgba(204, 215, 230, .95), 0 24px 44px -32px rgba(0, 54, 129, .55); }

.hc .ax-r3.is-ai { background: linear-gradient(180deg, rgba(8, 144, 248, .07), #FFFFFF 38%); box-shadow: 0 0 0 1px rgba(8, 144, 248, .35), 0 24px 44px -32px rgba(0, 85, 196, .6); }

.hc .ax-r3-head { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }

.hc .ax-r3-no { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--a-grad); color: var(--a-white); font-weight: 900; font-size: 20px; line-height: 1; box-shadow: 0 10px 20px -8px rgba(0, 85, 196, .7); }

.hc .ax-r3-head b { font-size: clamp(18px, 1.7vw, 22px); font-weight: 900; line-height: 1.4; }

.hc .ax-r3.is-ai .ax-r3-head b { color: var(--a-accent2); }

.hc .ax-r3-img img { display: block; width: 100%; height: auto; border-radius: 12px; }

.hc .ax-r3-desc { margin: 14px 0 0; font-size: 15.5px; line-height: 1.7; word-break: auto-phrase; }

.hc .ax-r3-desc .ax-who { display: flex; width: fit-content; margin-bottom: 6px; }

.hc .ax-r3:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -38px; width: 28px; height: 28px; transform: translateY(-50%);

  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M3 14h15' stroke='%230890F8' stroke-width='4.5' stroke-linecap='round'/%3E%3Cpath d='M15 5.5 26 14 15 22.5z' fill='%230890F8'/%3E%3C/svg%3E") center / contain no-repeat; }

@media (max-width: 900px) {

  .hc .ax-row3 { grid-template-columns: minmax(0, 1fr); gap: 44px; max-width: 560px; }

  .hc .ax-r3:not(:last-child)::after { top: auto; right: auto; left: 50%; bottom: -37px; transform: translateX(-50%) rotate(90deg); }

}

.hc { --a-hdr: 76px; }

@media (max-width: 600px) {

  .hc { --a-hdr: 58px; }

}

.hc .ax-steps .ax-h3 { margin: 0; font-size: 19px; }

.hc .ax-cases2 { gap: clamp(32px, 4vw, 48px); }

.hc .ax-cs-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 14px; }

.hc .ax-cs-head .ax-case-who { order: 2; margin: 0; padding: 2px 10px; border-radius: 4px; background: rgba(0, 85, 196, .08); font-size: 13px; }

.hc .ax-cs-title { margin: 0; font-size: clamp(19px, 1.8vw, 23px); }

.hc .ax-row3 { gap: 36px; }

.hc .ax-r3 { padding: 14px 16px 16px; border-radius: 16px; }

.hc .ax-r3-head { margin-bottom: 8px; gap: 10px; }

.hc .ax-r3-no { width: 34px; height: 34px; font-size: 16px; }

.hc .ax-r3-head b { font-size: clamp(16px, 1.4vw, 19px); }

.hc .ax-r3-img img { aspect-ratio: 16 / 9; object-fit: contain; background: var(--a-white); border-radius: 10px; }

.hc .ax-r3-desc { margin-top: 10px; font-size: 14.5px; line-height: 1.6; }

.hc .ax-r3-desc .ax-who { margin-bottom: 4px; }

.hc .ax-r3:not(:last-child)::after { right: -32px; width: 24px; height: 24px; }

.hc .ax-r3-gain { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin: 10px 0 0; padding: 8px 12px; border-radius: 10px;

  background: var(--a-grad); color: var(--a-white); box-shadow: 0 12px 24px -14px rgba(0, 85, 196, .8); }

.hc .ax-r3-gain span { font-size: 12.5px; font-weight: 700; color: var(--a-pale); }

.hc .ax-r3-gain b { font-size: 20px; font-weight: 900; letter-spacing: .02em; }

.hc .ax-r3 { display: flex; flex-direction: column; }

.hc .ax-r3-gain { margin-top: auto; }

.hc .ax-r3-desc { margin-bottom: 10px; }

@media (max-width: 900px) {

  .hc .ax-r3:not(:last-child)::after { bottom: -31px; }

  .hc .ax-row3 { gap: 36px; }

}

.hc .ax-r3-img img { aspect-ratio: 2 / 1; }

.hc .ax-cs-head { margin-bottom: 12px; }

.hc .ax-cs-head { display: block; margin-bottom: 16px; }

.hc .ax-cs-head .ax-case-who { order: 0; display: inline-block; margin: 0 0 8px; padding: 3px 12px; border-radius: 4px; background: var(--a-grad); color: var(--a-white); font-size: 13.5px; font-weight: 700; letter-spacing: .04em; }

.hc .ax-cs-title { margin: 0; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.55; word-break: auto-phrase; }

.hc .ax-cs-gains { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

.hc .ax-cs-gains li { display: inline-flex; align-items: baseline; gap: 10px; padding: 8px 18px; border-radius: 12px; background: var(--a-white); box-shadow: inset 0 0 0 1.5px rgba(0, 85, 196, .35), 0 12px 24px -18px rgba(0, 85, 196, .6); }

.hc .ax-cs-gains span { font-size: 13.5px; font-weight: 700; color: var(--a-brand2); }

.hc .ax-cs-gains b { font-size: clamp(22px, 2vw, 28px); font-weight: 900; line-height: 1.2; background: var(--a-grad-bright); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hc .ax-r3-desc { font-size: 16px; line-height: 1.65; margin-bottom: 0; }

.hc .ax-r3-desc .ax-who { font-size: 12.5px; }

.hc .ax-r3-img img { aspect-ratio: 2.3 / 1; }

.hc .ax-cs-title { font-size: clamp(18px, 1.7vw, 22px); }

.hc .ax-cs-gains { margin-top: 10px; }

.hc .ax-cs-gains li { padding: 5px 14px; }

.hc .ax-cs-gains b { font-size: clamp(20px, 1.8vw, 25px); }

.hc .ax-r3 { padding: 12px 14px 14px; }

.hc .ax-r3-head { margin-bottom: 6px; }

.hc .ax-r3-desc { margin-top: 8px; }

.hc .ax-cs-head .ax-case-who { display: block; margin: 0 0 4px; padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--a-accent2); font-size: 14.5px; font-weight: 900; letter-spacing: .06em; }

.hc .ax-cs-title { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.5; }

.hc .ax-cs-before { display: block; font-weight: 700; color: var(--a-brand2); }

.hc .ax-cs-title .ax-cs-after { display: inline; margin-top: 2px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; line-height: 1.45; color: var(--a-accent2); }

.hc .ax-r3-img img { aspect-ratio: 2.6 / 1; }

.hc .ax-cs-head { margin-bottom: 10px; }

.hc .ax-cs-head .ax-case-who { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 6px; padding: 0; background: none; color: var(--a-brand); letter-spacing: .02em; }

.hc .ax-cs-head .ax-case-who b { font-size: clamp(17px, 1.5vw, 20px); font-weight: 900; color: var(--a-brand); }

.hc .ax-cs-head .ax-case-who span { padding: 2px 10px; border-radius: 6px; background: rgba(8, 144, 248, .1); color: var(--a-accent2); font-size: 13.5px; font-weight: 700; }

.hc .ax-swipe { display: none; }

@media (max-width: 640px) {

  .hc .ax-swipe { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: -6px 0 8px; font-size: 12.5px; font-weight: 700; color: var(--a-accent2); }

  .hc .ax-swipe::after { content: "→"; font-size: 15px; }

  .hc .ax-cases2 { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;

    margin: 0 calc(-1 * var(--a-gutter)); padding: 4px var(--a-gutter) 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }

  .hc .ax-cases2::-webkit-scrollbar { display: none; }

  .hc .ax-cs { flex: 0 0 88%; scroll-snap-align: center; padding: 16px 16px 18px; border-radius: 18px; background: var(--a-white); box-shadow: 0 0 0 1px rgba(204, 215, 230, .95), 0 20px 36px -28px rgba(0, 54, 129, .5); }

  .hc .ax-cs-title { font-size: 15px; }

  .hc .ax-cs-title .ax-cs-after { font-size: 20px; }

  .hc .ax-cs-gains li { padding: 4px 12px; }

  .hc .ax-cs-gains b { font-size: 19px; }

  .hc .ax-row3 { gap: 10px; max-width: none; margin-top: 4px; }

  .hc .ax-r3 { padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--a-line); background: var(--a-white); }

  .hc .ax-r3.is-ai { background: rgba(8, 144, 248, .06); box-shadow: inset 0 0 0 1px rgba(8, 144, 248, .28); }

  .hc .ax-r3-img { display: none; }

  .hc .ax-r3-head { margin: 0 0 2px; }

  .hc .ax-r3-no { width: 26px; height: 26px; font-size: 13px; }

  .hc .ax-r3-head b { font-size: 15.5px; }

  .hc .ax-r3-desc { margin-top: 2px; font-size: 14px; line-height: 1.6; }

  .hc .ax-r3-desc .ax-who { display: none; }

  .hc .ax-r3:not(:last-child)::after { bottom: -11px; width: 14px; height: 14px; }

  .hc .ax-steps .ax-h3 { font-size: 16.5px; }

}



/* トップの .wrap の左右の余白に合わせる */
.hc { --a-gutter: var(--gutter); }

/* 2026-10-20 （AIエースLPと同じ） スマホ：導入事例の3件を横に並べたときに、行の位置（会社名・前・後・成果・①②③）と高さをそろえる（利用者の指示）
   カードの中の行を、並び全体の行（subgrid）に合わせる */
@media (max-width: 640px) {
  .hc .ax-cases2 { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; grid-template-rows: repeat(7, auto); column-gap: 12px; row-gap: 0; }
  .hc .ax-cs { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 8px; align-content: start; }
  .hc .ax-cs-head { display: contents; }
  .hc .ax-cs-head > * { margin: 0; }
  .hc .ax-cs-title { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 2px; margin: 0; }
  .hc .ax-cs-title > * { align-self: start; }
  .hc .ax-cs-gains { margin: 0; align-self: start; }
  .hc .ax-cs-gains b { white-space: nowrap; }
  .hc .ax-row3 { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 10px; margin: 0; }
  .hc .ax-r3 { align-self: stretch; }
}

/* 2026-10-20 スマホ：成果の札（例：受注入力の作業 月50時間 → 月10時間）が狭い画面で1文字ずつ折り返すのを防ぐ */
@media (max-width: 640px) {
  .hc .ax-cs-gains li { flex-wrap: wrap; column-gap: 8px; row-gap: 0; }
  .hc .ax-cs-gains span { flex: none; white-space: nowrap; }
}
