/* 写真・図解・アイコン */
img[src*="/renewal/"] { max-width: 100%; }
.ec-hero__visual > img[src*=".webp"],
.ec-figure img[src*=".webp"] { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; border-radius:20px; }
.ec-hero__visual > img[src*=".webp"] { box-shadow:0 18px 48px rgba(27,58,92,.13); }
.ec-role-card .ec-card__img { padding:0 !important; }
.ec-role-card .ec-card__img img[src*=".webp"] { width:100%; aspect-ratio:3/2; height:auto; object-fit:cover; border-radius:16px 16px 0 0; }
.ec-step__img img { width:100%; max-width:240px; height:auto; }
.ec-versus__head > img, .rc-model__head > img { width:64px; height:64px; object-fit:cover; border-radius:50%; flex:0 0 64px; }
.ec-ivp-photo img[src$=".svg"] { width:100%; height:100%; object-fit:cover; }

/* 背景写真を隠さない：白いグラデーションは重ねず、文字の白いふちで読みやすさを確保 */
body#page-top .modern-hero__overlay { background:none !important; }
body#page-top .modern-hero__content { width:100%; max-width:1200px; margin:0 auto; padding:2rem 1.5rem; text-align:left !important; }
body#page-top .modern-hero__title { max-width:760px; }
body#page-top .modern-hero__subtitle { max-width:650px; margin-left:0; }
body#page-top .ec-top-badges { max-width:690px; justify-content:flex-start; }
body#page-top .modern-hero__actions { justify-content:flex-start; }
@media(max-width:767px) {
 body#page-top .modern-hero__overlay { background:none !important; }
 body#page-top .modern-hero__content { padding:2rem 1.25rem; }
 .ec-hero__visual > img[src*=".webp"] { border-radius:16px; }
 
}


/* 人物・キャリア・技術の写真レイアウト */
body#page-top section.modern-hero.ec-people-hero {
 display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); gap:2.5rem; align-items:center;
 height:auto !important; min-height:720px; max-height:none; overflow:hidden;
 padding:4.5rem max(1.5rem, calc((100vw - 1200px)/2)) 5.5rem;
 background:radial-gradient(ellipse at 90% 8%,#ccecf7,transparent 50%),linear-gradient(135deg,#f5fbfe,#e9f5fb) !important;
}
body#page-top .ec-people-hero .modern-hero__content {height:auto;min-width:0;padding:0 !important;margin:0;z-index:2;}
body#page-top .ec-people-hero .modern-hero__title {font-size:clamp(2.1rem,3.4vw,3.15rem);line-height:1.38;letter-spacing:-.025em;}
body#page-top .ec-people-hero .modern-hero__eyebrow {font-size:.8rem;margin-bottom:1rem;line-height:1.7;}
body#page-top .ec-people-hero .modern-hero__subtitle {font-size:1rem;line-height:1.95;margin-bottom:1.25rem;}
body#page-top .ec-people-hero .ec-top-badges {gap:.5rem;margin:0 0 1.5rem;}
body#page-top .ec-people-hero .ec-top-badges li {font-size:.8rem;line-height:1.6;}
body#page-top .ec-people-hero .modern-hero__actions {gap:.65rem;flex-wrap:wrap;}
body#page-top .ec-people-hero .btn-hero-primary {font-size:.875rem;padding:.95rem 1.25rem;}
.ec-hero-mosaic {position:relative;display:grid;grid-template-columns:1fr 1fr;gap:14px;isolation:isolate;padding:14px 0;min-width:0;}
.ec-hero-mosaic a {position:relative;display:block;overflow:hidden;border-radius:20px;background:#c8e2ee;box-shadow:0 12px 30px rgba(27,58,92,.15);text-decoration:none;transition:transform .25s ease;}
.ec-hero-mosaic a:hover {transform:translateY(-4px);}
.ec-hero-mosaic img {display:block;width:100%;height:100%;object-fit:cover;}
.ec-hero-mosaic__main {grid-column:1/-1;aspect-ratio:3/2;}
.ec-hero-mosaic__person {aspect-ratio:1.2;}
.ec-hero-mosaic__person img {object-position:50% 30%;}
.ec-photo-label {position:absolute;inset:auto 0 0;padding:2.2rem 1rem .9rem;background:linear-gradient(transparent,rgba(13,39,62,.88));color:white;line-height:1.5;}
.ec-photo-label small {display:block;font-size:.625rem;letter-spacing:.12em;margin-bottom:.2rem;color:#b5e9fa;}
.ec-photo-label b {font-size:.9rem;color:white;}
.ec-hero-mosaic__accent {position:absolute;top:3px;right:-8px;z-index:2;width:92px;height:92px;display:grid;place-content:center;border-radius:50%;color:#fff;background:#1a9fd4;border:5px solid #eaf6fc;text-align:center;font-size:.75rem;font-weight:800;letter-spacing:.08em;line-height:1.5;transform:rotate(10deg);}
.ec-tech-banner {position:relative;overflow:hidden;border-radius:22px;min-height:300px;margin:0 0 2rem;background:#143a5b;}
.ec-tech-banner > img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%;}
.ec-tech-banner > div {position:relative;padding:2.4rem 2rem;min-height:300px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(90deg,rgba(14,43,66,.94),rgba(14,43,66,.66) 42%,rgba(14,43,66,0));color:white;}
.ec-tech-banner span {color:#9ddcf4;font-size:.75rem;font-weight:800;letter-spacing:.15em;}
.ec-tech-banner b {font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.4;margin:.65rem 0;}
.ec-tech-banner p {color:#e4f4fc;font-size:.8125rem;max-width:380px;margin:0;}
.ec-photo-card {overflow:hidden;}
.ec-photo-card__visual {margin-bottom:1.25rem;border-radius:12px;overflow:hidden;aspect-ratio:3/2;}
.ec-photo-card__visual img {width:100%;height:100%;object-fit:cover;}
.ec-photo-card > .ec-card__icon {display:none;}
.ec-people-strip {max-width:1200px;margin:0 auto;padding:2.5rem 1.5rem;display:flex;align-items:center;justify-content:center;gap:2.5rem;}
.ec-people-strip > div:first-child {flex-shrink:0;}
.ec-people-strip small {display:block;font-size:.6875rem;letter-spacing:.16em;color:#0d7ea6;font-weight:800;margin-bottom:.5rem;}
.ec-people-strip b {color:#1b3a5c;font-size:1.25rem;line-height:1.6;}
.ec-people-strip__faces {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem;max-width:760px;width:100%;}
.ec-people-strip__faces a {display:flex;flex-direction:column;align-items:center;gap:.6rem;color:#1b3a5c;text-decoration:none;font-weight:700;font-size:.8125rem;text-align:center;}
.ec-people-strip__faces img {width:100%;max-width:112px;height:auto;aspect-ratio:1;object-fit:cover;object-position:center 30%;border-radius:50%;box-shadow:0 6px 16px rgba(27,58,92,.13);border:4px solid #fff;transition:transform .25s;}
.ec-people-strip__faces a:hover img {transform:translateY(-4px);}
.ec-career-section {padding:3.5rem 0;background:#fff;}
.ec-career-panel {display:grid;grid-template-columns:.8fr 1.3fr;overflow:hidden;border:1px solid #d0e4f0;border-radius:24px;background:#f2f8fc;box-shadow:0 12px 32px rgba(27,58,92,.07);}
.ec-career-panel__photo {position:relative;min-height:410px;overflow:hidden;}
.ec-career-panel__photo img {display:block;width:100%;height:100%;object-fit:cover;object-position:center 30%;}
.ec-career-panel__photo > span {position:absolute;bottom:0;left:0;right:0;padding:2.5rem 1.5rem 1.2rem;color:#fff;background:linear-gradient(transparent,rgba(18,45,68,.8));font-size:.75rem;letter-spacing:.13em;font-weight:800;}
.ec-career-panel__body {padding:2rem 2rem 1.8rem;}
.ec-career-panel__body h2 {font-size:clamp(1.5rem,2.5vw,2rem);line-height:1.5;font-weight:800;color:#1b3a5c;margin:.5rem 0 .75rem;}
.ec-career-panel__body p {font-size:.9375rem;line-height:1.85;color:#4a6b8a;margin:0 0 1.25rem;}
.ec-career-steps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-bottom:1.25rem;}
.ec-career-step {position:relative;padding:1rem .7rem;background:#fff;border:1px solid #d0e4f0;border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;}
.ec-career-step > .ec-ico {font-size:1.65rem;color:#1a9fd4;}
.ec-career-step__no {position:absolute;right:.65rem;top:.65rem;font-size:.6875rem;font-weight:800;color:#8ba8c0;}
.ec-career-step > b {font-size:.8125rem;color:#1b3a5c;}
.ec-career-step > span:last-child {font-size:.6875rem;line-height:1.6;color:#4a6b8a;}
.ec-role-hero-photo {position:relative;overflow:hidden;border-radius:22px;}
.ec-role-hero-photo > img {display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;}
.ec-role-hero-photo > span {position:absolute;bottom:0;left:0;right:0;padding:2.2rem 1.25rem 1rem;background:linear-gradient(transparent,rgba(16,44,67,.85));color:#fff;font-size:.75rem;letter-spacing:.12em;font-weight:800;}
.ec-life-section {padding:3.5rem 0;background:#fff;}
.ec-life-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;}
.ec-life-card {border-radius:20px;overflow:hidden;background:#f2f8fc;border:1px solid #d0e4f0;}
.ec-life-card > img {width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block;}
.ec-life-card > div {position:relative;padding:1.5rem;}
.ec-life-card .ec-ico {display:flex;justify-content:center;align-items:center;position:absolute;top:-23px;right:20px;width:46px;height:46px;background:#fff;border-radius:13px;color:#1a9fd4;font-size:1.5rem;box-shadow:0 4px 14px rgba(27,58,92,.12);}
.ec-life-card h3 {font-size:1.0625rem;font-weight:800;line-height:1.6;color:#1b3a5c;margin:0 0 .5rem;}
.ec-life-card p {font-size:.875rem;color:#4a6b8a;line-height:1.8;margin:0;}
.ec-case__head {display:block;padding:0;}
.ec-case__photo {width:100%;height:auto;aspect-ratio:3/2;border:0;border-radius:0;box-shadow:none;}
.ec-case__photo img {width:100%;height:100%;object-fit:cover;}
.ec-case__head > div:last-child {padding:1.25rem 1.5rem .75rem;}
.ec-case__name {font-size:1.3rem;}
.ec-ivp-photo {max-width:none;}
.ec-ivp-photo img {aspect-ratio:3/2;object-position:center 30%;}
.ec-iv-list {grid-template-columns:repeat(2,minmax(0,1fr));}
.ec-iv-item {display:block;padding:0;overflow:hidden;}
.ec-iv-item__photo img {width:100%;aspect-ratio:3/2;border-radius:0;}
.ec-iv-item__body {padding:1.5rem;}
.ec-iv-card img {width:112px;height:112px;object-position:center 30%;}
.ec-iv-faces img {object-position:center 30%;}
.ec-cases--3 .ec-case__head > div:last-child {padding:1rem;}
@media(min-width:1440px) {body#page-top section.modern-hero.ec-people-hero {min-height:790px;}}
@media(max-width:1100px) {
 body#page-top section.modern-hero.ec-people-hero {gap:1.5rem;grid-template-columns:1fr 1fr;}
 body#page-top .ec-people-hero .modern-hero__title {font-size:2.2rem;}
 .ec-photo-label b {font-size:.75rem;}
 .ec-career-panel__body {padding:1.5rem;}
 .ec-career-panel {grid-template-columns:.75fr 1.3fr;}
 .ec-people-strip {gap:1.5rem;}
}
@media(max-width:820px) {
 body#page-top section.modern-hero.ec-people-hero {grid-template-columns:1fr;min-height:0;padding:2.75rem 1.25rem 5rem;}
 body#page-top .ec-people-hero .modern-hero__content {max-width:660px;margin:auto;}
 body#page-top .ec-people-hero .modern-hero__title {font-size:clamp(2rem,5.2vw,2.7rem);}
 .ec-hero-mosaic {max-width:660px;width:100%;margin:auto;grid-template-columns:1.4fr 1fr;grid-template-rows:1fr 1fr;gap:10px;}
 .ec-hero-mosaic__main {grid-column:1;grid-row:1/3;aspect-ratio:auto;}
 .ec-hero-mosaic__main img {object-position:58% center;}
 .ec-hero-mosaic__person {aspect-ratio:1.5;}
 .ec-hero-mosaic__accent {width:76px;height:76px;font-size:.625rem;right:-4px;top:0;}
 .ec-photo-label {padding:2rem .7rem .6rem;}
 .ec-photo-label small {font-size:.5rem;}
 .ec-photo-label b {font-size:.6875rem;}
 .ec-career-panel {grid-template-columns:1fr;}
 .ec-career-panel__photo {min-height:0;height:330px;}
 .ec-career-panel__photo img {object-fit:contain;background:#cfe3ed;}
 .ec-people-strip {flex-direction:column;gap:1.5rem;text-align:center;}
 .ec-people-strip > div:first-child br {display:none;}
 .ec-people-strip__faces {gap:.6rem;}
 .ec-life-grid {grid-template-columns:1fr;}
 .ec-life-card {display:grid;grid-template-columns:1fr 1fr;}
 .ec-life-card > img {height:100%;aspect-ratio:auto;}
 .ec-life-card .ec-ico {position:static;margin-bottom:.75rem;}
}
@media(max-width:575px) {
 .ec-hero-mosaic {grid-template-columns:1.1fr 1fr;}
 body#page-top .ec-people-hero .modern-hero__actions {display:grid;grid-template-columns:1fr;width:100%;}
 body#page-top .ec-people-hero .btn-hero-primary {width:100%;}
 .ec-hero-mosaic a {border-radius:12px;}
 .ec-hero-mosaic__main .ec-photo-label b {display:none;}
 .ec-hero-mosaic__main img {object-position:62% center;}
 .ec-people-strip__faces {grid-template-columns:repeat(5,minmax(0,1fr));gap:.3rem;}
 .ec-people-strip__faces a {font-size:.625rem;}
 .ec-people-strip__faces img {border-width:2px;}
 .ec-people-strip {padding:2rem 1rem;}
 .ec-tech-banner,.ec-tech-banner > div {min-height:280px;}
 .ec-tech-banner > div {padding:1.5rem;background:linear-gradient(90deg,rgba(14,43,66,.9),rgba(14,43,66,.5));}
 .ec-career-section,.ec-life-section {padding:2.5rem 0;}
 .ec-career-panel__photo {height:250px;}
 .ec-career-panel__body {padding:1.25rem;}
 .ec-career-steps {gap:.4rem;}
 .ec-career-step {padding:.8rem .45rem;}
 .ec-career-step > b {font-size:.75rem;}
 .ec-career-step > span:last-child {font-size:.625rem;}
 .ec-iv-list {grid-template-columns:1fr;}
 .ec-iv-item__body {padding:1.25rem;}
 .ec-case__head > div:last-child {padding:1.1rem 1.25rem .75rem;}
 .ec-iv-card img {width:96px;height:96px;}
 .ec-life-card {display:block;}
 .ec-life-card > img {height:auto;aspect-ratio:3/2;}
}
@media(prefers-reduced-motion:reduce) {.ec-hero-mosaic a,.ec-people-strip__faces img {transition:none;}}


/* 人物写真 */
.ec-culture-shot {display:grid;grid-template-columns:1.1fr 1fr;gap:0;align-items:center;margin:0 0 2rem;border:1px solid #d0e4f0;border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 8px 26px rgba(27,58,92,.06);}
.ec-culture-shot__photo {min-width:0;background:#eaf6fc;align-self:stretch;display:flex;align-items:center;}
.ec-culture-shot__photo img {width:100%;height:auto;aspect-ratio:3/2;display:block;object-fit:contain;}
.ec-culture-shot figcaption {padding:1.5rem 2rem;text-align:left;}
.ec-culture-shot figcaption > span {color:#0d7ea6 !important;font-size:.625rem;font-weight:800;letter-spacing:.14em;}
.ec-culture-shot h3 {font-size:clamp(1.15rem,2vw,1.55rem);font-weight:800;line-height:1.65;margin:.6rem 0 .65rem;color:#1b3a5c !important;}
.ec-culture-shot p {font-size:.9375rem;line-height:1.9;color:#4a6b8a !important;margin:0;}
.ec-culture-shot--reverse {grid-template-columns:1fr 1.1fr;}
.ec-culture-shot--reverse .ec-culture-shot__photo {grid-column:2;grid-row:1;}
.ec-culture-shot--reverse figcaption {grid-column:1;grid-row:1;}
.ec-domain__people {width:100%;aspect-ratio:3/2;border-radius:12px;overflow:hidden;margin:0 0 1rem;flex-shrink:0;}
.ec-domain__people img {width:100%;height:100%;object-fit:contain;display:block;}
.ec-cta-people {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;grid-column:1/-1;min-width:0;}
.ec-cta-people > div {min-width:0;border-radius:14px;overflow:hidden;background:#eaf6fc;}
.ec-cta-people img {display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;}
.ec-form-welcome {margin:0;border:1px solid #d0e4f0;border-radius:18px;overflow:hidden;background:white;}
.ec-form-welcome img {display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;}
.ec-form-welcome figcaption {padding:.9rem 1rem;font-size:.9375rem;font-weight:800;color:#1b3a5c;}
.ec-complete-people {max-width:660px;margin:2rem auto 0;padding:0 1.5rem;}
.ec-complete-people img {display:block;width:100%;height:auto;border-radius:20px;}
.ec-footer-people {padding:3.5rem 1.5rem;background:#f2f8fc;color:#1b3a5c;}
.ec-footer-people__head {max-width:1200px;margin:0 auto 1.5rem;text-align:center;}
.ec-footer-people__head small {display:block;font-size:.6875rem;letter-spacing:.15em;color:#0d7ea6;font-weight:800;margin-bottom:.5rem;}
.ec-footer-people__head b {display:block;font-size:clamp(1.3rem,2.5vw,1.9rem);line-height:1.6;color:#1b3a5c;}
.ec-footer-people__photos {max-width:1200px;margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;}
.ec-footer-people figure {margin:0;overflow:hidden;background:#fff;border:1px solid #d0e4f0;border-radius:18px;}
.ec-footer-people img {display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;}
.ec-footer-people figcaption {padding:.9rem 1rem;text-align:center;font-size:.9375rem;font-weight:800;color:#1b3a5c;}
body#page-top .ec-hero-mosaic__main {aspect-ratio:3/2;background:#d9edf5;}
body#page-top .ec-hero-mosaic__main img {object-fit:contain;object-position:center;}
body#page-top .ec-hero-mosaic__accent {top:-25px;right:-5px;width:74px;height:74px;font-size:.625rem;}
.ec-interview-work {margin-top:1.5rem;}
@media(max-width:900px) {
 .ec-culture-shot figcaption {padding:1.25rem;}
 .ec-culture-shot p {font-size:.875rem;}
 .ec-culture-shot h3 {font-size:1.125rem;}
 .ec-footer-people__photos {gap:.75rem;}
}
@media(max-width:767px) {
 .ec-culture-shot,.ec-culture-shot--reverse {grid-template-columns:1fr;}
 .ec-culture-shot--reverse .ec-culture-shot__photo,.ec-culture-shot--reverse figcaption {grid-column:1;grid-row:auto;}
 .ec-culture-shot figcaption {padding:1.1rem 1.25rem;}
 .ec-culture-shot {border-radius:16px;margin-bottom:1.5rem;}
 .ec-culture-shot h3 {margin:.4rem 0;font-size:1.125rem;}
 .ec-culture-shot p {font-size:.875rem;line-height:1.8;}
 .ec-cta-people {gap:7px;grid-template-columns:1fr 1fr;}
 .ec-cta-people > div:last-child {display:none;}
 .ec-footer-people {padding:2.5rem 1rem;}
 .ec-footer-people__photos {display:grid;grid-auto-flow:column;grid-auto-columns:78%;grid-template-columns:none;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.75rem;}
 .ec-footer-people figure {scroll-snap-align:center;}
 body#page-top .ec-hero-mosaic {grid-template-columns:1fr 1fr;grid-template-rows:auto auto;}
 body#page-top .ec-hero-mosaic__main {grid-column:1/-1;grid-row:1;aspect-ratio:3/2;}
 body#page-top .ec-hero-mosaic__person {aspect-ratio:1.35;}
 body#page-top .ec-hero-mosaic__accent {right:-2px;top:-10px;width:62px;height:62px;font-size:.55rem;border-width:4px;}
}


/* 技術バナー */
body#page-top .ec-tech-banner {display:grid;grid-template-columns:.75fr 1.4fr;min-height:0;background:#143a5b;}
body#page-top .ec-tech-banner > img {position:static;inset:auto;grid-column:2;grid-row:1;display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;object-position:center;}
body#page-top .ec-tech-banner > div {grid-column:1;grid-row:1;min-height:0;padding:2rem;background:#143a5b;}
body#page-top .ec-tech-banner b {font-size:clamp(1.5rem,2.5vw,2.15rem);}
@media(max-width:767px) {
 body#page-top .ec-tech-banner {grid-template-columns:1fr;}
 body#page-top .ec-tech-banner > img {grid-column:1;grid-row:1;}
 body#page-top .ec-tech-banner > div {grid-column:1;grid-row:2;padding:1.4rem;}
 body#page-top .ec-tech-banner b {font-size:1.75rem;}
}


/* 在宅勤務の写真 */
.ec-remote-scenes {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin:0 0 1.75rem;}
.ec-remote-scenes figure {margin:0;border:1px solid #d0e4f0;border-radius:18px;overflow:hidden;background:#f2f8fc;}
.ec-remote-scenes img {display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;}
.ec-remote-scenes figcaption {padding:1.25rem 1.4rem;}
.ec-remote-scenes h3 {font-size:1.125rem;font-weight:800;color:#1b3a5c;line-height:1.6;margin:0 0 .55rem;}
.ec-remote-scenes p {font-size:.9375rem;line-height:1.9;color:#4a6b8a;margin:0;}
@media(max-width:767px) {.ec-remote-scenes {grid-template-columns:1fr;gap:1rem;}.ec-remote-scenes figcaption {padding:1.1rem 1.25rem;}}


/* キャリア事例の写真 */
.ec-stack__work-photo {margin:0 0 1.1rem;border-radius:12px;overflow:hidden;background:#eaf6fc;line-height:0;}
.ec-stack__work-photo > img {display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;}
@media(max-width:575px) {.ec-stack__work-photo {margin-bottom:1rem;border-radius:10px;}}
