/* Homepage certification, client cards and inquiry alignment. Approved 2026-11-15. */

#sec3.ws-home-cards .sec3_wrap .banner_area{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;height:auto;align-content:start}
.ws-feature-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #e4e6e8;border-radius:18px;background:#fff;color:#181c22;transition:border-color .22s,box-shadow .22s,transform .22s}
.ws-feature-card:hover{border-color:#f03b3b;box-shadow:0 12px 28px #1b252510;transform:translateY(-4px)}
.ws-feature-card:focus-visible{outline:3px solid #df151b;outline-offset:4px}
.ws-feature-visual{height:272px;position:relative;overflow:hidden;border-bottom:1px solid #eceef0}
.ws-cert-visual{background:linear-gradient(135deg,#f2f3f5,#e9ecef)}
.ws-visual-label{position:absolute;top:24px;left:26px;z-index:3;font-size:11px;line-height:1.3;letter-spacing:2px;font-weight:700;color:#747a82}
.ws-certificate-stack{position:absolute;left:0;right:0;top:52px;bottom:0}
.ws-cert-paper{position:absolute;height:auto!important;border:1px solid #e3e6e8;box-shadow:0 10px 22px #26354422;background:#fff}
.ws-cert-left{width:114px;left:calc(50% - 148px);bottom:-4px;transform:rotate(-10deg)}
.ws-cert-right{width:114px;right:calc(50% - 148px);bottom:-4px;transform:rotate(10deg)}
.ws-cert-front{width:144px;left:calc(50% - 72px);bottom:13px;transform:rotate(-1deg)}
.ws-clients-visual{background:#f6f7f8;padding:55px 24px 22px}
.ws-client-logos{height:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:10px}
.ws-client-logos>div{display:flex;align-items:center;justify-content:center;background:#fff;border-radius:6px;padding:8px 13px}
.ws-client-logos img{display:block;width:100%;height:100%;object-fit:contain;max-width:126px;max-height:50px}
.ws-feature-copy{padding:28px 27px 23px;display:flex;flex:1;flex-direction:column}
.ws-feature-copy h3{margin:0;font-size:29px;line-height:1.3;letter-spacing:-1px;font-weight:700}
.ws-feature-copy p{font-size:15px;line-height:1.8;letter-spacing:-.3px;color:#626a73;margin:13px 0 24px;word-break:keep-all;overflow-wrap:break-word}
.ws-feature-link{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:18px;border-top:1px solid #eceef0;font-size:14px;font-weight:700;color:#c91e28}
.ws-feature-arrow{display:flex;align-items:center;justify-content:center;border-radius:50%;width:36px;height:36px;font-size:23px;line-height:1;background:#ed1c24;color:#fff;flex-shrink:0;transition:background .2s}
.ws-feature-card:hover .ws-feature-arrow{background:#bd1218}
@media(min-width:1025px) and (max-width:1250px){.ws-feature-copy{padding:25px 21px 22px}.ws-feature-copy h3{font-size:27px}.ws-feature-copy p{font-size:14px}.ws-feature-copy p br{display:none}.ws-clients-visual{padding-left:18px;padding-right:18px}}
@media(min-width:769px) and (max-width:1024px){.ws-feature-visual{height:290px}.ws-cert-front{width:156px}.ws-cert-left,.ws-cert-right{width:126px}.ws-client-logos img{max-width:155px;max-height:57px}}
@media(max-width:768px){#sec3.ws-home-cards .sec3_wrap .banner_area{grid-template-columns:minmax(0,1fr);gap:20px}.ws-feature-visual{height:250px}.ws-feature-copy{padding:25px 24px 20px}.ws-feature-copy h3{font-size:26px}.ws-feature-copy p{font-size:15px;margin-bottom:22px}.ws-feature-link{font-size:14px}.ws-visual-label{top:22px;left:24px}.ws-cert-front{width:136px}.ws-cert-left,.ws-cert-right{width:110px}.ws-cert-left{left:calc(50% - 140px)}.ws-cert-right{right:calc(50% - 140px)}}
@media(prefers-reduced-motion:reduce){.ws-feature-card,.ws-feature-arrow{transition:none}.ws-feature-card:hover{transform:none}}

/* Shared layout: common heading, panel, and action baselines. */
#sec3.ws-home-cards .sec3_wrap{display:grid;grid-template-columns:minmax(0,58fr) minmax(0,42fr);column-gap:24px;row-gap:28px;align-items:stretch}
#sec3.ws-home-cards .sec3_wrap .left_content_group,#sec3.ws-home-cards .sec3_wrap .inquiry_area{display:contents}
#sec3.ws-home-cards .sec3_wrap .logo_text{grid-column:1;grid-row:1;font-size:clamp(34px,3.5vw,50px);line-height:1.2;align-self:center;letter-spacing:-1.5px}
#sec3.ws-home-cards .sec3_wrap .inquiry_head{grid-column:2;grid-row:1;padding:0;align-self:center}
#sec3.ws-home-cards .sec3_wrap .top_desc{font-size:18px;font-weight:400;line-height:1.6;color:#4d5661}
#sec3.ws-home-cards .sec3_wrap .banner_area{grid-column:1;grid-row:2;padding-top:0;gap:20px;align-content:stretch;align-items:stretch}
#sec3.ws-home-cards .inquiry_form{grid-column:2;grid-row:2;display:flex;flex-direction:column;min-width:0;border:1px solid #e4e6e8;border-radius:18px;background:#fff;overflow:hidden}
#sec3.ws-home-cards .ws-card-heading,#sec3.ws-home-cards .sec3_wrap .inquiry_tit{font-size:29px;font-weight:700;line-height:1.3;letter-spacing:-.8px;padding:24px 24px 18px;margin:0;flex-shrink:0;color:#181c22}
#sec3.ws-home-cards .ws-feature-visual{height:280px;flex-shrink:0}
#sec3.ws-home-cards .ws-cert-front{width:150px}
#sec3.ws-home-cards .ws-cert-left,#sec3.ws-home-cards .ws-cert-right{width:118px}
#sec3.ws-home-cards .ws-feature-copy{padding:24px;min-height:0}
#sec3.ws-home-cards .ws-feature-copy p{margin:0 0 22px;min-height:54px;font-size:15px;line-height:1.8}
#sec3.ws-home-cards .ws-feature-link{padding-top:18px;min-height:63px;font-size:14px}
#sec3.ws-home-cards .ws-feature-arrow{width:44px;height:44px}
#sec3.ws-home-cards .ws-clients-visual{padding:52px 18px 18px}
#sec3.ws-home-cards .ws-client-logos{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:8px}
#sec3.ws-home-cards .ws-client-logos>div{padding:5px 6px;border-radius:5px}
#sec3.ws-home-cards .ws-client-logos img{max-width:125px;max-height:40px;object-fit:contain}
#sec3.ws-home-cards .sec3_wrap .inquiry_form .input_group{padding:0 24px;gap:12px;flex:1;min-height:0}
#sec3.ws-home-cards .sec3_wrap .inquiry_form input{height:44px;flex-shrink:0;padding:11px 14px;color:#242b34;border-color:#d9dfe5;border-radius:8px;font-size:16px}
#sec3.ws-home-cards .sec3_wrap .inquiry_form textarea{height:auto;min-height:140px;flex:1;padding:13px 14px;color:#242b34;border-color:#d9dfe5;border-radius:8px;font-size:16px;line-height:1.6}
#sec3.ws-home-cards .sec3_wrap .send_btn{width:calc(100% - 48px);height:44px;flex-shrink:0;display:flex;align-items:center;justify-content:center;margin:24px 24px 24px;padding:0 16px;border-radius:8px;background:#ed1c24;color:#fff;font-size:16px;font-weight:700;line-height:1.2}
#sec3.ws-home-cards .sec3_wrap .send_btn:hover{background:#bd1218}
@media(min-width:1025px) and (max-width:1250px){#sec3.ws-home-cards .ws-card-heading,#sec3.ws-home-cards .sec3_wrap .inquiry_tit{font-size:26px;padding-left:20px;padding-right:20px}#sec3.ws-home-cards .ws-feature-copy{padding-left:20px;padding-right:20px}#sec3.ws-home-cards .ws-feature-copy p{font-size:14px}#sec3.ws-home-cards .ws-clients-visual{padding-left:12px;padding-right:12px}#sec3.ws-home-cards .ws-client-logos{gap:6px}#sec3.ws-home-cards .ws-client-logos>div{padding:5px}#sec3.ws-home-cards .sec3_wrap .inquiry_form .input_group{padding-left:20px;padding-right:20px}#sec3.ws-home-cards .sec3_wrap .send_btn{width:calc(100% - 40px);margin-left:20px;margin-right:20px}}
@media(max-width:1024px){#sec3.ws-home-cards .sec3_wrap{grid-template-columns:minmax(0,1fr);gap:24px}#sec3.ws-home-cards .sec3_wrap .logo_text{grid-column:1;grid-row:1}#sec3.ws-home-cards .sec3_wrap .banner_area{grid-column:1;grid-row:2}#sec3.ws-home-cards .sec3_wrap .inquiry_head{grid-column:1;grid-row:3;padding-top:18px}#sec3.ws-home-cards .inquiry_form{grid-column:1;grid-row:4}#sec3.ws-home-cards .sec3_wrap .inquiry_form textarea{min-height:180px}#sec3.ws-home-cards .ws-client-logos img{max-width:140px;max-height:42px}}
@media(max-width:768px){#sec3.ws-home-cards .sec3_wrap .logo_text{font-size:36px;letter-spacing:-1px}#sec3.ws-home-cards .ws-card-heading,#sec3.ws-home-cards .sec3_wrap .inquiry_tit{font-size:26px}#sec3.ws-home-cards .ws-feature-visual{height:270px}#sec3.ws-home-cards .ws-feature-copy p{font-size:15px}#sec3.ws-home-cards .sec3_wrap .top_desc{font-size:16px}#sec3.ws-home-cards .ws-cert-front{width:142px}#sec3.ws-home-cards .ws-client-logos img{max-height:40px}}
