@charset "UTF-8";
/* Homepage content only. Existing header, footer and hero carousel are retained. */
body#top.home-service-style{font-family:Arial,"游ゴシック","Yu Gothic",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;font-size:15.2px;line-height:1.6;color:#392f2f}
body#top.home-service-style section{padding:0 16px 56px;text-align:left}
body#top.home-service-style section>.inner{width:100%;max-width:968px;margin:0 auto}
body#top.home-service-style section h3{margin:56px 0 18px;padding:0 0 0 16px;border-left:9px solid #5a5a5a;font-size:22.8px;font-weight:700;line-height:1.6;color:#392f2f}
body#top.home-service-style section p{margin:0 0 12px;font-size:15.2px;line-height:1.6}
body#top.home-service-style section strong{color:#325074}
body#top.home-service-style #service .service_message{margin:56px 0 18px;padding:20px 24px;border:0;background:#eef2f7}
body#top.home-service-style #service .service_message h2{margin:0 0 18px;padding:0;font-size:22.8px;font-weight:700;line-height:1.6;color:#325074;text-align:left}
body#top.home-service-style #service .service_message p{font-size:15.2px;line-height:1.6}
body#top.home-service-style #service>.inner>ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%;margin:18px 0;padding:0;list-style:none}
body#top.home-service-style #service>.inner>ul>li{display:flex;flex-direction:column;float:none;width:auto;min-width:0;margin:0;padding:22px 22px 20px;border:1px solid #e3e3e3;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06)}
body#top.home-service-style #service>.inner>ul>li>p:first-child{text-align:center}
body#top.home-service-style #service>.inner>ul>li h2{margin:16px 0 8px;padding:0;border:0;font-size:16px;font-weight:700;line-height:1.6;text-align:left;color:#325074}
body#top.home-service-style #service>.inner>ul>li p.text{height:auto!important;margin:0 0 12px;font-size:14.5px;line-height:1.6;text-align:left}
body#top.home-service-style #service>.inner>ul>li p.detail{margin-top:auto;padding-top:12px}
body#top.home-service-style section p.detail a{display:block;width:fit-content;max-width:100%;margin:0 0 0 auto;padding:12px 28px;border:0;background:#325074;color:#fff;font-size:15px;font-weight:700;line-height:1.6;text-align:center;text-decoration:none}
body#top.home-service-style #service>.inner>ul>li p.detail a{width:100%;margin:0;padding:12px 16px}
body#top.home-service-style section p.detail a:hover{background:#233c59}
body#top.home-service-style #case_study{padding-top:1px;background:#eef2f7}
body#top.home-service-style #case_study .swiper-slide{padding:22px;border:1px solid #e3e3e3;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06)}
body#top.home-service-style #case_study .swiper-slide h4{margin:0 0 8px;font-size:16px;line-height:1.6;color:#325074}
body#top.home-service-style #case_study .swiper-slide p.text{margin:12px 0 0;padding:0;font-size:14.5px;line-height:1.6}
body#top.home-service-style #case_study .swiper-slide ul.tag{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:8px 0;padding:0}
body#top.home-service-style #case_study .swiper-slide ul.tag li{float:none;width:auto;margin:0;padding:3px 8px;border:1px solid #dce3ed;background:#eef2f7;color:#325074;font-size:12px;font-weight:700;line-height:1.6}
body#top.home-service-style #partnership> .inner>ul{display:block;width:100%;margin:18px 0 24px;padding:0;list-style:none}
body#top.home-service-style #partnership> .inner>ul>li{float:none;width:100%;margin:0;padding:22px;border:1px solid #e3e3e3;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06)}
body#top.home-service-style #partnership dl{display:flex;align-items:center;gap:24px;margin:0}
body#top.home-service-style #partnership dt{float:none;width:134px;flex:0 0 134px;margin:0}
body#top.home-service-style #partnership dd{float:none;flex:1;min-width:0;width:auto;margin:0}
body#top.home-service-style #partnership h4{margin:0 0 8px;font-size:16px;line-height:1.6;color:#325074}
body#top.home-service-style section img{max-width:100%;height:auto}
body#top.home-service-style section.home-reveal{opacity:0;transform:scale(.92) translateY(32px);transform-origin:50% 60%;transition:opacity .9s cubic-bezier(.22,.61,.36,1),transform .9s cubic-bezier(.22,.61,.36,1)}
body#top.home-service-style section.home-reveal.in,body#top.home-service-style section.home-reveal:target{opacity:1;transform:none}
@media(max-width:800px){body#top.home-service-style #service>.inner>ul{grid-template-columns:1fr}}
@media(max-width:640px){
 body#top.home-service-style section{padding-bottom:44px}
 body#top.home-service-style section h3{margin-top:44px;font-size:19px}
 body#top.home-service-style #service .service_message{margin-top:44px;padding:20px}
 body#top.home-service-style #service .service_message h2{font-size:19px}
 body#top.home-service-style #partnership dl{flex-direction:column;align-items:flex-start;gap:16px}
 body#top.home-service-style #partnership dt{flex-basis:auto}
}
@media(prefers-reduced-motion:reduce){body#top.home-service-style section.home-reveal{opacity:1;transform:none;transition:none}}
@media print{body#top.home-service-style section.home-reveal{opacity:1;transform:none;transition:none}}

/* Four case studies, two panels per page, with controls outside the viewport. */
body#top.home-service-style #case_study .case-carousel{position:relative;width:100%;padding:0 44px;margin:18px 0 0}
body#top.home-service-style #case_study .case-carousel .swiper-container{width:100%;margin:0;overflow:hidden}
body#top.home-service-style #case_study .swiper-slide.case-page{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;height:auto;padding:0;border:0;background:none;box-shadow:none}
body#top.home-service-style #case_study .case-panel{display:flex;align-items:center;gap:18px;min-width:0;padding:22px;border:1px solid #e3e3e3;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06)}
body#top.home-service-style #case_study .case-panel p.image{float:none;flex:0 0 100px;display:flex;align-items:center;justify-content:center;align-self:stretch;width:100px;margin:0}
body#top.home-service-style #case_study .case-panel p.image img{display:block;max-width:100%;height:auto}
body#top.home-service-style #case_study .case-panel .right-area{float:none;flex:1;min-width:0;width:auto;margin:0;text-align:left}
body#top.home-service-style #case_study .case-carousel :is(.swiper-button-prev,.swiper-button-next){position:absolute;top:50%;bottom:auto;width:32px;height:44px;margin:0;padding:0;transform:translateY(-50%);border:1px solid #ccd6e2;background:#fff;border-radius:3px;color:#325074;cursor:pointer;z-index:2}
body#top.home-service-style #case_study .case-carousel .swiper-button-prev{left:0;right:auto}
body#top.home-service-style #case_study .case-carousel .swiper-button-next{right:0;left:auto}
body#top.home-service-style #case_study .case-carousel :is(.swiper-button-prev,.swiper-button-next)::before{content:'';display:block;width:10px;height:10px;border-top:2px solid currentColor;border-right:2px solid currentColor;margin:auto;transform:rotate(45deg)}
body#top.home-service-style #case_study .case-carousel .swiper-button-prev::before{transform:rotate(-135deg)}
body#top.home-service-style #case_study .case-carousel .swiper-button-disabled{opacity:.3;cursor:default}
body#top.home-service-style #case_study .swiper-pagination{position:static;width:100%;margin:16px 0 20px;text-align:center;line-height:1}
body#top.home-service-style #case_study .swiper-pagination-bullet{margin:0 5px}
body#top.home-service-style #case_study .swiper-pagination-bullet-active{background:#325074}
body#top.home-service-style #case_study button:focus-visible{outline:3px solid #b45309;outline-offset:3px}
@media(max-width:900px){
 body#top.home-service-style #case_study .case-panel{gap:12px;padding:18px}
 body#top.home-service-style #case_study .case-panel p.image{flex-basis:72px;width:72px}
}
@media(max-width:640px){
 body#top.home-service-style #case_study .case-carousel{padding:0 38px}
 body#top.home-service-style #case_study .swiper-slide.case-page{grid-template-columns:1fr;gap:14px}
 body#top.home-service-style #case_study .case-panel p.image{flex-basis:64px;width:64px}
}

/* Override old fixed-width !important slide rules, scoped to this grouped carousel. */
body#top.home-service-style #case_study div.swiper-slide.case-page{width:100%!important;margin:0!important}
/* Company names stay on one line; JS fits the font to the available text width. */
body#top.home-service-style #case_study .case-panel h4{white-space:nowrap;overflow-wrap:normal;word-break:normal}
body#top.home-service-style #case_study .case-panel h4 br{display:none}

/* Product summaries replace the former partnership panel. */
body#top.home-service-style #partnership>.inner>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body#top.home-service-style #partnership>.inner>ul>li{min-width:0}
body#top.home-service-style #partnership dt img{display:block;width:134px;height:134px;object-fit:contain}
@media(max-width:800px){body#top.home-service-style #partnership>.inner>ul{grid-template-columns:1fr}}

/* Separate the homepage inquiry button from the case-study background. */
body#top.home-service-style #wrapp>p.btn_inquiry{padding-top:36px}
@media(max-width:640px){body#top.home-service-style #wrapp>p.btn_inquiry{padding-top:28px}}
