/* Walking Connect V101: scoped home + event gallery styles.
   IMPORTANT: no rule targets icon font families or every descendant of phone mockup. */

/* Hero: provide depth without extra cards or decorative headings */
body.wc-v101-home #hero {position:relative; isolation:isolate; background:linear-gradient(155deg,#f6f9ff 0%,#f3f8ff 42%,#eef5ff 100%) !important;}
body.wc-v101-home #hero::before {content:"";position:absolute;pointer-events:none;inset:0;background:
 radial-gradient(ellipse 45% 38% at 84% 24%,rgba(88,161,240,.11),transparent 72%),
 radial-gradient(ellipse 42% 42% at 16% 85%,rgba(22,188,176,.07),transparent 70%);z-index:0;}
body.wc-v101-home #hero > * {position:relative;z-index:1;}

/* Phone mock: app uses Roboto; keep Font Awesome glyphs independent */
body.wc-v101-home #hero-phone {font-family:"Roboto","Noto Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN",sans-serif !important;}
body.wc-v101-home #hero-phone :is(span,p,button,h1,h2,h3,h4,strong,small) {font-family:"Roboto","Noto Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN",sans-serif !important;}
body.wc-v101-home #hero-phone :is(.fa,.fas,.far,.fab,.fa-solid,.fa-regular,.fa-brands) {font-family:"Font Awesome 6 Free" !important;}
body.wc-v101-home #hero-phone :is(.fa-brands,.fab) {font-family:"Font Awesome 6 Brands" !important;}
body.wc-v101-home #hero-phone :is(.fa-solid,.fas) {font-weight:900 !important;}
body.wc-v101-home #hero-phone :is(.fa-brands,.fab) {font-weight:400 !important;}

/* Home: two real event cards, not date-only rows. */
body.wc-v101-home #events.wc-v101-events {font-family:"Roboto","Noto Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN",sans-serif !important;background:#f6f8fc !important;padding:clamp(54px,6.5vw,88px) 0 !important;}
body.wc-v101-home #events .wc-v101-events-inner {width:min(1120px,calc(100% - 42px));margin:0 auto;}
body.wc-v101-home #events .wc-v101-events-head {display:flex;gap:32px;align-items:end;justify-content:space-between;margin:0 0 30px;}
body.wc-v101-home #events .wc-v101-events-head h2 {margin:0;color:#172b46;font-size:clamp(29px,3.4vw,43px);line-height:1.2;font-weight:850;letter-spacing:-.035em;}
body.wc-v101-home #events .wc-v101-events-head p {margin:0;max-width:400px;color:#62758d;line-height:1.8;font-size:14px;font-weight:500;}
body.wc-v101-home #events .wc-v101-event-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}
body.wc-v101-home #events .wc-v101-event-card {display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fff;border:1px solid #dfe7f1;border-radius:20px;text-decoration:none;color:inherit;box-shadow:0 12px 25px rgba(19,43,75,.045);transition:transform .2s ease,box-shadow .2s ease;}
body.wc-v101-home #events .wc-v101-event-card:hover {transform:translateY(-3px);box-shadow:0 18px 38px rgba(19,43,75,.11);}
body.wc-v101-home #events .wc-v101-media {position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-height:204px;padding:22px 24px;overflow:hidden;background:linear-gradient(125deg,#12305b,#3276cb);}
body.wc-v101-home #events .wc-v101-media::before {content:"";position:absolute;width:340px;height:340px;border:2px solid rgba(255,255,255,.15);border-radius:50%;right:-120px;bottom:-260px;box-shadow:0 0 0 45px rgba(255,255,255,.04),0 0 0 90px rgba(255,255,255,.035);pointer-events:none;}
body.wc-v101-home #events .wc-v101-media.wc-v101-winter {background:linear-gradient(125deg,#102946,#31588d 70%,#6996cb);}
body.wc-v101-home #events .wc-v101-media.wc-v101-regional {background:linear-gradient(120deg,#412519,#b75c2e 70%,#d98345);}
body.wc-v101-home #events .wc-v101-media.has-image {background-size:cover;background-position:center;}
body.wc-v101-home #events .wc-v101-media.has-image::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,24,45,.67),rgba(13,24,45,.12));pointer-events:none;}
body.wc-v101-home #events .wc-v101-media > * {position:relative;z-index:1;}
body.wc-v101-home #events .wc-v101-media .wc-v101-date {padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.32);color:#fff;font-weight:700;font-size:12px;}
body.wc-v101-home #events .wc-v101-media h3 {color:#fff;margin:26px 0 0;font-size:clamp(24px,2.5vw,33px);font-weight:850;line-height:1.2;letter-spacing:-.027em;}
body.wc-v101-home #events .wc-v101-info {display:flex;align-items:center;justify-content:space-between;gap:18px;padding:23px 24px 25px;min-height:132px;}
body.wc-v101-home #events .wc-v101-info p {color:#526b83;font-size:14px;line-height:1.8;margin:0;}
body.wc-v101-home #events .wc-v101-arrow {display:grid;flex:none;place-items:center;width:38px;height:38px;border-radius:50%;background:#eff5ff;color:#1c5cbe;}
body.wc-v101-home #events .wc-v101-arrow svg {width:20px;height:20px;}
body.wc-v101-home #events .wc-v101-all {display:inline-flex;margin-top:22px;gap:9px;color:#225db7;font-size:14px;font-weight:800;text-decoration:none;}
body.wc-v101-home #events .wc-v101-all:hover {text-decoration:underline;}

/* Logos: never replace social icons, only img logo assets. */
img[data-wc-v101-logo]{object-fit:contain !important;border-radius:12px !important;}

/* Event gallery: improve existing illustrated cards without rewriting them. */
body.wc-v101-gallery .wc-v101-gallery-card {overflow:hidden;border-radius:20px !important;border:1px solid #dfe7f1 !important;box-shadow:0 14px 35px rgba(24,48,84,.07) !important;background:#fff !important;}
body.wc-v101-gallery .wc-v101-gallery-card img {max-width:100%;object-fit:cover;}
body.wc-v101-gallery .wc-v101-gallery-card h2,body.wc-v101-gallery .wc-v101-gallery-card h3 {letter-spacing:-.025em;}
body.wc-v101-gallery #wc-v97-event-gallery-closing,body.wc-v101-gallery #wc-v99-event-gallery-closing {padding-top:14px;padding-bottom:12px;}

@media(max-width:767px){
  body.wc-v101-home #hero {min-height:0 !important;padding-top:40px !important;padding-bottom:42px !important;}
  body.wc-v101-home #hero h1 {font-size:clamp(38px,11.5vw,49px) !important;line-height:1.13 !important;letter-spacing:-.045em !important;}
  body.wc-v101-home #hero p {font-size:14px !important;line-height:1.8 !important;}
  body.wc-v101-home #hero-phone {width:min(330px,84vw) !important;max-width:84vw !important;margin-top:16px !important;}
  body.wc-v101-home #hero .fa-apple,body.wc-v101-home #hero .fa-google-play {font-size:inherit;}
  body.wc-v101-home #story {padding-top:52px !important;padding-bottom:40px !important;}
  body.wc-v101-home #story .wc-v100-principles {margin-top:12px !important;}
  body.wc-v101-home #story .wc-v100-principle {padding:16px 0 !important;}
  body.wc-v101-home #story .wc-v100-principle h3 {font-size:21px !important;line-height:1.35 !important;}
  body.wc-v101-home #story .wc-v100-principle p {font-size:13.5px !important;line-height:1.8 !important;}
  body.wc-v101-home #events.wc-v101-events {padding:48px 0 !important;}
  body.wc-v101-home #events .wc-v101-events-inner {width:calc(100% - 30px);}
  body.wc-v101-home #events .wc-v101-events-head {display:block;margin-bottom:20px;}
  body.wc-v101-home #events .wc-v101-events-head h2 {font-size:27px !important;}
  body.wc-v101-home #events .wc-v101-events-head p {font-size:13px;margin-top:9px;}
  body.wc-v101-home #events .wc-v101-event-grid {grid-template-columns:minmax(0,1fr);gap:14px;}
  body.wc-v101-home #events .wc-v101-media {min-height:145px;padding:16px 18px;}
  body.wc-v101-home #events .wc-v101-media h3 {font-size:24px;margin-top:18px;}
  body.wc-v101-home #events .wc-v101-info {padding:14px 18px 17px;min-height:76px;}
  body.wc-v101-home #events .wc-v101-info p {font-size:13px;line-height:1.65;}
  body.wc-v101-home #events .wc-v101-arrow {width:32px;height:32px;}
  body.wc-v101-home #events .wc-v101-all {margin-top:17px;}
  body.wc-v101-gallery .wc-v101-gallery-card {border-radius:16px !important;}
  body.wc-v101-gallery .wc-v101-gallery-card h2,body.wc-v101-gallery .wc-v101-gallery-card h3 {font-size:clamp(19px,5vw,25px);}
}

/* No-JS-safe warning: protected form stays hidden immediately when hostname is production. */
html[data-wc-v101-entry-paused="1"] #wc-regional-entry-v57 .wc-re-panel,
html[data-wc-v101-entry-paused="1"] #wc-regional-entry-v57 .wc-re-v62-participant-choice,
html[data-wc-v101-entry-paused="1"] #wc-regional-entry-v57 form,
html[data-wc-v101-entry-paused="1"] #participate .closing .primary-button {display:none !important;}
.wc-v101-entry-notice {background:#fff8f1;border:1px solid #efd3b9;border-radius:18px;padding:24px;max-width:460px;margin:12px auto;box-shadow:0 10px 24px rgba(79,51,31,.05);}
.wc-v101-entry-notice h3 {font-size:22px;line-height:1.35;color:#573620;margin:0 0 9px;}
.wc-v101-entry-notice p {font-size:14px;line-height:1.8;color:#745f4f;margin:0;}
.wc-v101-entry-notice a {display:inline-flex;margin-top:16px;color:#c55e25;font-weight:800;text-decoration:none;}
@media(max-width:700px){.wc-v101-entry-notice{margin:16px 0;padding:18px;}.wc-v101-entry-notice h3{font-size:19px;}}
