/* Walking Connect V99 — scoped design fixes. No global tag or icon-font overrides. */

/* Home: typography matches the Flutter app's Roboto-based theme. */
#hero-phone, #hero-mockup, #wc-hero-phone, #wc-hero-phone-wrap {
  font-family: Roboto, "Noto Sans JP", sans-serif !important;
  -webkit-font-smoothing: antialiased;
}
/* Preserve Font Awesome glyphs inside the mock phone. */
#hero-phone .fa-solid, #hero-phone .fas, #hero-phone .fa-regular, #hero-phone .far,
#hero-mockup .fa-solid, #hero-mockup .fas, #hero-mockup .fa-regular, #hero-mockup .far,
#wc-hero-phone .fa-solid, #wc-hero-phone .fas, #wc-hero-phone .fa-regular, #wc-hero-phone .far {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
}
#hero-phone .fa-brands, #hero-phone .fab, #hero-mockup .fa-brands, #hero-mockup .fab,
#wc-hero-phone .fa-brands, #wc-hero-phone .fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  font-style: normal !important;
}
/* Do not style or reflow the mock phone's SVGs or layout boxes. */

/* Three home features: editorial text + simple pictograms, without cards or numbers. */
#story .wc-v99-features {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:0 !important;
  margin-top:24px !important;
  align-items:stretch !important;
  width:100%;
}
#story .wc-v99-feature {
  position:relative;
  min-width:0;
  display:block;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  margin:0 !important;
  padding:12px 28px 12px 0 !important;
}
#story .wc-v99-feature + .wc-v99-feature {
  padding-left:28px !important;
}
#story .wc-v99-feature + .wc-v99-feature::before {
  content:"";
  position:absolute;
  left:0;
  top:12px;
  bottom:12px;
  width:1px;
  background:#dbe4ef;
}
#story .wc-v99-feature-top {display:flex;align-items:center;gap:14px;margin:0 0 18px;}
#story .wc-v99-feature-icon {width:48px;height:48px;flex:0 0 48px;display:inline-grid;place-items:center;color:#1f5bbe;border-radius:16px;background:#eaf2ff;}
#story .wc-v99-feature:nth-child(2) .wc-v99-feature-icon {background:#e6f7f9;color:#0891b2;}
#story .wc-v99-feature:nth-child(3) .wc-v99-feature-icon {background:#f1eeff;color:#7554c8;}
#story .wc-v99-feature-icon svg {width:26px;height:26px;display:block;}
#story .wc-v99-feature h3 {
  font-size:clamp(19px,1.8vw,25px) !important;
  line-height:1.4 !important;
  font-weight:800 !important;
  letter-spacing:-.035em !important;
  color:#172941 !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
  margin:0 !important;
  padding:0 !important;
}
#story .wc-v99-feature p {
  font-size:14px !important;
  line-height:1.9 !important;
  font-weight:500 !important;
  color:#61738b !important;
  margin:0 !important;
  padding:0 !important;
}
@media(max-width:820px) {
  #story .wc-v99-features {grid-template-columns:minmax(0,1fr) !important;gap:0 !important;}
  #story .wc-v99-feature, #story .wc-v99-feature + .wc-v99-feature {
    padding:20px 0 !important;
    border-bottom:1px solid #dbe4ef !important;
  }
  #story .wc-v99-feature:last-child{border-bottom:0 !important;}
  #story .wc-v99-feature + .wc-v99-feature::before {content:none !important;}
  #story .wc-v99-feature h3 {font-size:23px !important;}
  #story .wc-v99-feature-top {margin-bottom:12px;}
}

/* For the dedicated how-to-use page only: suppress decorative step counters. */
.wc-v99-hide-step-number {display:none !important;}

/* Event gallery: an editorial close to fill the abrupt gap before the footer. */
#wc-v99-gallery-close {background:#f3f6fb;padding:30px 0 55px;color:#172941;}
#wc-v99-gallery-close .wc-v99-gallery-inner {
  width:min(1080px,calc(100% - 48px));margin:0 auto;
  padding-top:34px;border-top:1px solid #d9e2ec;
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:26px;
}
#wc-v99-gallery-close h2 {font-size:clamp(25px,2.7vw,34px);font-weight:800;line-height:1.35;margin:0 0 10px;letter-spacing:-.03em;}
#wc-v99-gallery-close p {font-size:14px;line-height:1.9;font-weight:500;color:#64748b;margin:0;max-width:620px;}
#wc-v99-gallery-close .wc-v99-gallery-actions {display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
#wc-v99-gallery-close a {display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 20px;font-size:13px;font-weight:750;border-radius:999px;text-decoration:none;white-space:nowrap;}
#wc-v99-gallery-close a:first-child {background:#205fc2;color:#fff;box-shadow:0 8px 16px rgba(32,95,194,.1);}
#wc-v99-gallery-close a:last-child {border:1px solid #cbd6e3;background:#fff;color:#285795;}
@media(max-width:860px) {
  #wc-v99-gallery-close .wc-v99-gallery-inner {grid-template-columns:minmax(0,1fr);gap:20px;}
  #wc-v99-gallery-close {padding-bottom:38px;}
}

/* One consistent supplied brand mark in footers. */
footer img[src*="wc-logo-v99.png"] {
  display:block !important;width:40px !important;height:40px !important;
  object-fit:contain !important;object-position:center !important;
  border:0 !important;box-shadow:none !important;border-radius:10px !important;
  background:transparent !important;filter:none !important;
}

/* Remove an unnecessary English decorative tag in the story section. */
#story .inline-flex:has(> i.fa-seedling) {display:none !important;}
