/* Revision 2026-11-27: approved corrections only. No existing body copy rewritten. */
/* All pages: identical header and footer; AI link matches weight of other nav links. */
.site-header .navbar .nav-link,.site-header .navbar .nav-link[href="ai-komon.html"]{font-weight:700!important;background:transparent!important;border-radius:0;letter-spacing:inherit}
.site-header .navbar .nav-link.active{box-shadow:inset 0 -3px #25469b!important;color:inherit!important}
/* Shared lower CTA uses the approved AI page's deep blue visual on every page. */
.shared-consultation{margin:0;padding:clamp(4rem,7vw,6rem) 0 clamp(2rem,5vw,3.75rem);background:#fff}
.shared-consultation .shared-consultation-panel{position:relative;isolation:isolate;overflow:hidden;max-width:1140px;margin:auto;border:0;border-radius:1.25rem;padding:clamp(2rem,4vw,3rem) 1.5rem 2rem;color:white;background:linear-gradient(125deg,#0867af 0%,#0c5394 22%,#073979 51%,#11548c 100%);box-shadow:0 8px 18px rgba(5,42,86,.08);text-align:center}
.shared-consultation .shared-consultation-panel:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(130deg,rgba(3,88,163,.03) 0 13%,rgba(38,154,212,.35) 13% 21%,transparent 21% 82%,rgba(59,145,206,.18) 82% 88%,transparent 88%);pointer-events:none}
.shared-consultation .shared-consultation-panel:after{content:"";position:absolute;z-index:-1;right:0;top:0;height:100%;width:18%;background:url('../images/ai-cta-laptop-decor.jpg') center right / cover no-repeat;mask-image:linear-gradient(to right,transparent 0%,#000 55%);pointer-events:none;opacity:.9}
.shared-consultation .shared-consultation-panel h2{color:#fff;font-weight:800;font-size:clamp(1.6rem,2.85vw,2.5rem);margin:0;line-height:1.45;letter-spacing:0}
.shared-consultation .shared-consultation-panel p{color:#fff;max-width:850px;margin:.45rem auto 1rem;font-size:clamp(.88rem,1.3vw,1.06rem);line-height:1.7;font-weight:700}
.shared-consultation .shared-consultation-button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:min(320px,100%);min-height:51px;padding:.55rem 2rem;border:2px solid white;border-radius:100px;background:linear-gradient(#37d0f1,#009bd3 65%,#006aaf);color:#fff!important;font-size:1.1rem;font-weight:800;text-decoration:none;box-shadow:0 4px 14px rgba(0,15,55,.3)}
.shared-consultation .shared-consultation-button:hover,.shared-consultation .shared-consultation-button:focus-visible{background:linear-gradient(#17a8d8,#0876b0);color:#fff!important}
/* Approved AI hero nationwide-online CTA matches graphic button rather than plain text. */
.ai-adviser-page .ai-online-cta{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;color:white!important;background:linear-gradient(#29b8d6,#087ab2 53%,#003c77);border-radius:.72rem;padding:.55rem 1.05rem;min-height:47px;text-decoration:none;font-size:clamp(.85rem,1.2vw,1rem);font-weight:800;box-shadow:0 3px 7px rgba(13,57,108,.15);line-height:1.3;margin-top:1rem}
.ai-adviser-page .ai-online-cta::before{content:none!important}
.ai-adviser-page .ai-online-cta .ai-monitor-icon{flex:none;stroke:currentColor;color:#fff}
.ai-adviser-page .ai-online-cta:hover,.ai-adviser-page .ai-online-cta:focus-visible{background:linear-gradient(#249abf,#064a86)}
/* Keep original screenshot's room between section headings and content. */
.ai-adviser-page .ai-section{margin-top:clamp(6rem,9vw,9.5rem)}
/* Bootstrap collapses hide nothing from source; visual spacing on reveal. */
.site-detail-toggle{display:flex;align-items:center;justify-content:center;gap:.8rem;margin:2rem auto 2.3rem;min-width:min(300px,100%);min-height:51px;padding:.7rem 1.6rem;border:1px solid #304ca4;border-radius:.42rem;color:#233f95;background:#fff;font-weight:800;box-shadow:0 5px 12px rgba(26,46,96,.1)}
.site-detail-toggle:hover,.site-detail-toggle:focus-visible{background:#2a469e;color:#fff}
.site-detail-toggle .site-toggle-close{display:none}
.site-detail-toggle[aria-expanded="true"] .site-toggle-open{display:none}
.site-detail-toggle[aria-expanded="true"] .site-toggle-close{display:inline}
.site-detail-toggle[aria-expanded="true"] .site-toggle-icon{transform:rotate(180deg)}
.site-reveal-content{margin-top:1.5rem}
.service-page .thinking-point-head .site-detail-toggle,.flow-page .thinking-point-head .site-detail-toggle{margin-top:2.2rem}
.case-page .customer-request + .site-detail-toggle{margin-top:2rem;margin-bottom:1.7rem}
.case-page .case-hidden-details{padding-top:1rem}
.flow-page .measure-intro .site-detail-toggle{margin-top:2rem}
/* Company info: remove forced narrow headline column and allow full content width. */
.company-page .co-digital-policy-head{display:block}
.company-page .co-digital-policy-head h4{display:block;max-width:none;width:100%;font-size:clamp(1.2rem,2.2vw,1.95rem);line-height:1.6;overflow-wrap:normal;word-break:normal}
.company-page .co-digital-policy-head p{max-width:none;width:100%;margin-top:.8rem}
@media(min-width:992px){.company-page .co-digital-policy-head h4{white-space:nowrap}}
@media(max-width:575.98px){.shared-consultation .shared-consultation-panel{border-radius:1rem;padding:2rem 1rem}.shared-consultation .shared-consultation-panel:after{opacity:.22;width:30%}.shared-consultation .shared-consultation-panel p{font-size:.9rem}.ai-adviser-page .ai-online-cta{max-width:100%;width:100%;font-size:.82rem;gap:.4rem}.ai-adviser-page .ai-online-cta .ai-monitor-icon{width:24px}.site-detail-toggle{width:100%;min-width:0}}
/* Override an older text-only nationwide support rule inside the new blue button. */
.ai-adviser-page .ai-online-cta span{color:#fff!important;font-size:inherit!important;margin:0!important;line-height:1.35}
/* The previous theme used different header type sizes on the homepage and inner pages. */
.site-header .navbar .nav-link,.site-page .site-header .navbar .nav-link{font-size:1rem!important;letter-spacing:.025em!important;font-weight:700!important}
.site-header .navbar .nav-contact,.site-page .site-header .navbar .nav-contact{font-size:1rem!important;letter-spacing:.025em!important;font-weight:700!important}

/* 2026-11-27: only case-jump number/icon size and detail-chevron alignment. */
/* The four existing case navigation cards retain their wording, layout, and colors. */
.case-page .case-jump-grid a > span:first-child {
  font-size: 2.15rem;
  line-height: 1.1;
}
.case-page .case-jump-grid a > svg.point-icon {
  width: 2.3rem;
  height: 2.3rem;
}
/* Keep all four labels on one line when the icons are enlarged in 4 columns. */
@media (min-width: 992px) {
  .case-page .case-jump-grid a { gap: .4rem; padding-left: .65rem; padding-right: .65rem; }
}
/* Use the same font-independent, centered CSS chevron in all Bootstrap detail buttons.
   A zero-size source glyph is retained as the existing button markup; its rendering
   no longer depends on Japanese / Latin font metrics in Chrome. */
.site-detail-toggle .site-toggle-icon,
.top-page .detail-reveal-btn .reveal-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 1.1rem;
  line-height: 0;
  font-size: 0;
  vertical-align: middle;
  transform: none;
}
.site-detail-toggle .site-toggle-icon::after,
.top-page .detail-reveal-btn .reveal-arrow::after {
  content: "";
  display: block;
  box-sizing: border-box;
  width: .51rem;
  height: .51rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-.12rem) rotate(45deg);
}
.site-detail-toggle[aria-expanded="true"] .site-toggle-icon,
.top-page .detail-reveal-btn[aria-expanded="true"] .reveal-arrow {
  transform: none;
}
.site-detail-toggle[aria-expanded="true"] .site-toggle-icon::after,
.top-page .detail-reveal-btn[aria-expanded="true"] .reveal-arrow::after {
  transform: translateY(.12rem) rotate(225deg);
}

/* 2026-11-27 user-requested: uniform deep navy for all detail-expansion buttons. Geometry unchanged. */

.top-page .detail-reveal-btn,
.site-detail-toggle {
  background-color: #112b58;
  border-color: #112b58;
  color: #fff;
}
.top-page .detail-reveal-btn:hover,
.top-page .detail-reveal-btn:focus-visible,
.site-detail-toggle:hover,
.site-detail-toggle:focus-visible {
  background-color: #091c40;
  border-color: #091c40;
  color: #fff;
}

/* 2026-11-27 content restructure: one category photograph, distinct proposal content, company collapse. */
.top-page .category-summary-image {margin:1rem 0 1.25rem;}
.top-page .category-summary-image img {display:block;width:100%;height:auto;max-height:210px;object-fit:cover;border-radius:12px;}
.top-page .category-summary-image figcaption {font-size:.82rem;color:#52637a;margin:.45rem 0 0;}
.top-page .a1-consult-card.text-only-card {min-height:0;}
.top-page .a1-consult-card.text-only-card .a1-consult-card-copy {padding-top:1.1rem;}
.top-page .top-faq-link {border-bottom:1px solid #d5ddea;}
.top-page .top-faq-link a {display:flex;justify-content:space-between;align-items:center;gap:1rem;color:#183b7a;text-decoration:none;font-weight:700;padding:1.15rem .75rem;}
.top-page .top-faq-link a:hover,.top-page .top-faq-link a:focus-visible {text-decoration:underline;background:#f3f6fd;}
.case-page .proposal-case-detail {padding:1rem .4rem 1.5rem;}
.case-page .proposal-case-detail h3 {font-size:clamp(1.3rem,2vw,1.85rem);line-height:1.5;color:#183c83;margin:.5rem 0 1.1rem;}
.case-page .proposal-case-detail p {line-height:1.9;}
.case-page .case-detail-kicker {font-weight:800;color:#193c8b;letter-spacing:.015em;}
.case-page .proposal-decision section,.case-page .proposal-worker-path section,.case-page .proposal-assets > div {border:1px solid #d5dce8;background:#f7f9fc;padding:1.1rem 1.2rem;height:100%;border-radius:.55rem;}
.case-page .proposal-decision h4,.case-page .proposal-worker-path h4 {font-size:1.1rem;color:#1e4383;font-weight:800;}
.case-page .proposal-decision p,.case-page .proposal-worker-path p {margin:.4rem 0 0;}
.case-page .case-detail-note {border-left:4px solid #284c96;padding:.8rem 1rem;background:#f3f6fc;margin-top:1.8rem;}
.case-page .proposal-timeline {padding-left:1.8rem;}
.case-page .proposal-timeline li {padding:.2rem .5rem .75rem;font-size:1rem;}
.case-page .proposal-timeline li+li {border-top:1px solid #e0e6ef;padding-top:1rem;}
.case-page .proposal-timeline p {margin:.25rem 0;}
.case-page .proposal-assets {display:grid;gap:.7rem;}
.case-page .proposal-assets strong {color:#173c7a;font-size:1.12rem;}
.case-page .proposal-assets p {margin:.2rem 0 0;}
.case-page .proposal-worker-path {display:grid;gap:.7rem;}
.ai-adviser-page .ai-verification-note {max-width:920px;margin:2rem auto 0;line-height:1.9;color:#263e55;}
.company-page #business > .wrap > .site-detail-toggle,.company-page #company-info > .wrap > .site-detail-toggle,.company-page #philosophy > .wrap > .site-detail-toggle {margin-top:1.8rem;margin-bottom:1.25rem;}
.company-page #access.company-overview-collapse {border-top:1px solid #e2e6ec;}
.company-page .site-reveal-content {margin-top:1.4rem;}
@media(max-width:575.98px){.top-page .category-summary-image img{max-height:175px}.case-page .proposal-case-detail{padding:0}}

/* 2026-11-27: consultation parity; static centered vector arrows on all eight cards. */
.top-page .consultation-a1 .ai-consult-panel.consult-choice--ai {background:#fff;min-height:0;}
.top-page .consultation-a1 .consult-choice .a1-consult-grid {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.75rem;align-items:stretch;
}
.top-page .consultation-a1 .consult-choice .a1-consult-card.text-only-card {
  display:grid;grid-template-columns:minmax(0,1fr) 2.25rem;align-items:center;
  gap:.5rem;min-width:0;min-height:134px;height:100%;
  padding:1rem .78rem 1rem 1rem;position:relative;
  border:1px solid #d5e0eb;border-radius:.6rem;
  background:#fff;overflow:visible;text-decoration:none;
}
.top-page .consultation-a1 .consult-choice .a1-consult-card-copy,
.top-page .consultation-a1 .consult-choice .a1-consult-card.text-only-card .a1-consult-card-copy {
  padding:0;min-width:0;
}
.top-page .consultation-a1 .consult-choice .a1-consult-card h3 {font-size:clamp(.97rem,1.27vw,1.1rem);line-height:1.53;margin:.4rem 0 0;font-weight:800;}
.top-page .consultation-a1 .consult-choice .a1-consult-kicker {font-size:.91rem;line-height:1.45;}
.top-page .consultation-a1 .consult-choice .a1-consult-arrow {
  display:grid!important;place-items:center!important;
  position:static!important;inset:auto!important;
  width:2.25rem;height:2.25rem;flex:none;
  border:1px solid #b7c2d7;border-radius:50%;
  color:#164983;background:#fff;line-height:1;
  font-size:0;transform:none!important;margin:0;
}
.top-page .consultation-a1 .consult-choice .a1-consult-arrow svg {
  display:block;width:15px;height:15px;transform:none;
}
.top-page .consultation-a1 .consult-choice .a1-consult-card:hover .a1-consult-arrow,
.top-page .consultation-a1 .consult-choice .a1-consult-card:focus-visible .a1-consult-arrow {
  background:#173e82;color:#fff;border-color:#173e82;
}
.top-page .consultation-a1 .consult-choice .category-summary-image img {width:100%;height:auto;aspect-ratio:1.5;max-height:210px;object-fit:cover;object-position:center;}
.top-page .consultation-a1 .consult-choice .category-summary-image {margin:.9rem 0 1.15rem;}
.top-page .top-faq-link .top-faq-question {display:flex;flex-direction:column;gap:.22rem;min-width:0;}
.top-page .top-faq-link .top-faq-question strong {font-weight:750;line-height:1.5;}
.top-page .top-faq-link .top-faq-tag {font-size:.77rem;line-height:1.45;color:#526784;font-weight:700;}
.top-page .top-faq-link a>svg {display:block;width:1.15rem;height:1.15rem;min-width:1.15rem;color:#1f4e96;}
.faq-ai-heading {font-size:clamp(1.3rem,2vw,1.65rem);margin:2.8rem 0 1rem;font-weight:800;color:#173f87;}
@media(max-width:575.98px){
  .top-page .consultation-a1 .consult-choice .a1-consult-card.text-only-card {grid-template-columns:minmax(0,1fr) 1.8rem;min-height:146px;padding:.82rem .46rem .82rem .72rem;gap:.2rem;}
  .top-page .consultation-a1 .consult-choice .a1-consult-arrow {width:1.8rem;height:1.8rem;}
  .top-page .consultation-a1 .consult-choice .a1-consult-arrow svg {width:13px;height:13px;}
  .top-page .consultation-a1 .consult-choice .a1-consult-kicker {font-size:.81rem;}
  .top-page .consultation-a1 .consult-choice .a1-consult-card h3 {font-size:.96rem;}
}


/* 2026-11-27 rev3: consultation entry points as readable unboxed lists.
   Existing Bootstrap grid, HTML links and responsive structure are retained. */
.top-page .consultation-a1 .consult-choice {
  border:0;
  box-shadow:none;
  border-radius:0;
  background:transparent;
  padding:0;
}
.top-page .consultation-a1 .consult-choice .a1-consult-grid {
  grid-template-columns:minmax(0,1fr);
  gap:0;
}
.top-page .consultation-a1 .consult-choice .a1-consult-card.text-only-card {
  display:grid;
  grid-template-columns:minmax(0,1fr) 2.25rem;
  align-items:center;
  gap:.65rem;
  min-height:0;
  height:auto;
  padding:1rem .25rem;
  border:0;
  border-bottom:1px solid #d9e2ec;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.top-page .consultation-a1 .consult-choice .a1-consult-card.text-only-card:first-child {border-top:1px solid #d9e2ec;}
.top-page .consultation-a1 .consult-choice .a1-consult-card.text-only-card:hover,
.top-page .consultation-a1 .consult-choice .a1-consult-card.text-only-card:focus-visible {background:#f2f6fd;}
.top-page .consultation-a1 .consult-choice .consult-item-title {
  margin:0;
  color:#173d80;
  font-size:clamp(1.03rem,1.45vw,1.2rem);
  font-weight:800;
  line-height:1.45;
}
.top-page .consultation-a1 .consult-choice .consult-item-subtitle {
  margin:.22rem 0 0;
  color:#172538;
  font-size:clamp(.92rem,1.08vw,1rem);
  font-weight:550;
  line-height:1.5;
}
.top-page .consultation-a1 .consult-choice .a1-consult-kicker {color:#173d80;font-size:clamp(1rem,1.34vw,1.1rem);font-weight:800;}
.top-page .consultation-a1 .consult-choice .a1-consult-card h3 {
  margin:.23rem 0 0;
  color:#172538;
  font-size:clamp(.92rem,1.08vw,1rem);
  font-weight:550;
  line-height:1.5;
}
.top-page .consultation-a1 .consult-choice .category-summary-image {margin:0 0 1.15rem;}
.top-page .consultation-a1 .consult-choice .category-summary-image img {
  width:100%;height:auto;aspect-ratio:3/2;max-height:240px;
  object-fit:cover;object-position:center;border-radius:.7rem;
}
.top-page .consultation-a1 .consult-choice .a1-consult-arrow {width:2.25rem;height:2.25rem;}
@media(max-width:575.98px){
 .top-page .consultation-a1 .consult-choice .a1-consult-card.text-only-card {
   grid-template-columns:minmax(0,1fr) 1.9rem;
   min-height:0;
   padding:1rem .2rem;
   gap:.45rem;
 }
 .top-page .consultation-a1 .consult-choice .a1-consult-arrow {width:1.9rem;height:1.9rem;}
 .top-page .consultation-a1 .consult-choice .category-summary-image img {max-height:240px;}
}


/* 2026-11-27 rev4: enlarge only the capability names, retain the existing responsive wrapping. */
.top-page .service-scope-items{font-size:1.47rem;line-height:1.5;gap:.45rem 1.15rem;}
.top-page .service-scope-items .scope-ai-entry{font-size:inherit;}
@media(max-width:575.98px){
  .top-page .service-scope-items{font-size:1.35rem;line-height:1.55;gap:.35rem .85rem;}
}

/* Footer: slogan first, brand second; do not change the address or contact details. */
footer .footer-tagline{margin:0 0 .1rem;font-size:1rem;line-height:1.45;}
footer .footer-brand{display:inline-block;margin:0;line-height:1.35;}
footer .footer-address{margin:.4rem 0 0;line-height:1.55;}

/* 2026-11-27: supplied infographic halves; same visible height as the former pictures, white lateral space. */
.top-page .consultation-a1 .consult-choice .category-summary-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.top-page .consultation-a1 .consult-choice .category-summary-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 240px;
  margin: 0 auto;
  object-fit: contain;
  aspect-ratio: auto;
  object-position: center center;
  border-radius: 0;
}


/* 2026-11-27-7: use the SAME four home-page example photos in the introduction
   of their corresponding detailed cases. Existing labels and headings unchanged. */
.case-page .case-proposal-intro{margin-bottom:0}
.case-page .case-proposal-intro .one-line-key{white-space:normal}
.case-page .case-proposal-thumb{
  display:block;
  width:250px;
  max-width:100%;
  height:146px;
  object-fit:contain;
  margin-inline:auto;
}
@media(min-width:992px){
  .case-page .case-proposal-intro-visual{display:flex;justify-content:center}
}
@media(max-width:991.98px){
  .case-page .case-proposal-thumb{margin-top:.3rem}
}
