﻿/* ===== RESET & BASE ===== */
.ymca-root *, .ymca-root *::before, .ymca-root *::after { box-sizing: border-box; margin: 0; padding: 0; }
.ymca-root {
  font-family: inherit;
  color: #1a1a1a;
  background: #fff;
  overflow-x: hidden;
}

/* ===== DESIGN TOKENS ===== */
.ymca-root {
  --grad-warm:  #f9efd5;
  --grad-cool:  #37beef;
  --grad-main:  linear-gradient(135deg, #f9efd5 0%, #b8e6f5 60%, #37beef 100%);
  --grad-hero:  linear-gradient(135deg, #f9efd5 0%, #7dd4ee 100%);
  --grad-section: #f2f8fc;
  --red:        #D7000F;
  --red-dark:   #a8000c;
  --blue:       #0060AF;
  --blue-dark:  #003A7A;
  --text:       #1a1a1a;
  --text-mid:   #444;
  --text-light: #666;
  --white:      #ffffff;
  --border:     #e2d9c8;
  --wing: 64px 0 64px 0;
  --wing-sm: 12px 0 12px 0;
  --wing-lg: 146px 0 146px 0;
}

/* ===== UTILITY ===== */
.ymca-root .container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.ymca-root [id] { scroll-margin-top: 96px; }
.ymca-root .wing    { border-radius: var(--wing); }
.ymca-root .wing-sm { border-radius: var(--wing-sm); }
.ymca-root .wing-lg { border-radius: var(--wing-lg); }

.ymca-root .tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 50px;
  background: rgba(55,190,239,0.15); color: var(--blue);
  margin-bottom: 14px;
}
.ymca-root .section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 900; line-height: 1.3; color: #1a3a5c;
  margin-bottom: 14px;
}
.ymca-root .section-sub {
  font-size: 0.96rem; color: var(--text-light);
  line-height: 1.85; max-width: 600px;
}

/* Buttons */
.ymca-root .btn {
  display: inline-block; font-family: inherit;
  font-weight: 700; font-size: 0.92rem;
  padding: 13px 30px; border-radius: var(--wing-sm);
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.ymca-root .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.ymca-root .btn-red   { background: var(--red);  color: #fff; }
.ymca-root .btn-red:hover { background: var(--red-dark); }
.ymca-root .btn-blue  { background: var(--blue); color: #fff; }
.ymca-root .btn-blue:hover { background: var(--blue-dark); }
.ymca-root .btn-ghost {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
}
.ymca-root .btn-ghost:hover { background: var(--blue); color: #fff; }
.ymca-root .btn-white { background: #fff; }

/* ===== SCROLL ANIMATION ===== */
.ymca-root .fade-up {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.ymca-root .fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== HEADER ===== */
.ymca-root header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(249,239,213,0.6);
  box-shadow: 0 2px 24px rgba(0,90,160,0.07);
}
.ymca-root .header-inner {
  display: flex; align-items: center;
  height: 68px; padding: 0 26px; gap: 22px;
  max-width: 1240px; margin: 0 auto;
}
.ymca-root .header-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.ymca-root .header-logo img { height: 40px; }
.ymca-root .header-right-logo { display:flex; align-items:center; flex-shrink:0; text-decoration:none; }
.ymca-root .header-right-logo img { height: 14px; display:block; }
.ymca-root .header-logo-name {
  font-size: 1rem; font-weight: 900; color: var(--blue-dark); line-height: 1.2;
}
.ymca-root nav {
  display: flex; gap: 0; flex: 1; justify-content: flex-end;
}
.ymca-root nav a {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 10px; text-decoration: none;
  transition: background 0.2s;
  border-radius: 8px;
}
.ymca-root nav a:hover { background: rgba(55,190,239,0.1); }
.ymca-root nav a .nav-jp { font-size: 0.72rem; font-weight: 700; color: #1a1a1a; line-height: 1.2; }
.ymca-root nav a .nav-en { font-size: 0.56rem; font-weight: 500; color: var(--blue); letter-spacing: 0.04em; }
.ymca-root .header-cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.ymca-root .btn-sm { padding: 9px 18px; font-size: 0.8rem; }

/* Hamburger */
.ymca-root .nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; margin-left: auto;
  background: transparent; border: none; cursor: pointer; flex-shrink: 0;
}
.ymca-root .nav-toggle span {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  background: var(--blue-dark); margin: 0 auto;
  transition: transform 0.3s, opacity 0.3s;
}
.ymca-root header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ymca-root header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.ymca-root header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ymca-root .nav-backdrop { display: none; }
.ymca-root .nav-drawer-cta { display: none; }
.ymca-root .nav-close { display: none; }

/* ===== TICKER ===== */
.ymca-root .ticker-wrap {
  background: linear-gradient(90deg, #0d7dc4 0%, #4bd0f3 100%);
  padding: 12px 0; overflow: hidden;
}
.ymca-root .ticker-flex { display: flex; align-items: center; padding: 0 28px; gap: 16px; }
.ymca-root .ticker-label {
  background: var(--red); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 3px 14px; border-radius: var(--wing-sm);
  white-space: nowrap; flex-shrink: 0;
}
.ymca-root .ticker-overflow { overflow: hidden; flex: 1; }
.ymca-root .ticker-track {
  display: flex; gap: 0;
  animation: ymca-ticker 30s linear infinite;
  white-space: nowrap;
}
.ymca-root a.ticker-item {
  color: rgba(255,255,255,0.88); font-size: 0.82rem; font-weight: 500;
  padding: 0 40px 0 0;
}
.ymca-root a.ticker-item::before { content: '◆ '; color: rgba(255,255,255,0.3); font-size: 0.5rem; vertical-align: middle; }
@keyframes ymca-ticker { from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* ===== HERO ===== */
.ymca-root .hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(140deg, #f9efd5 0%, #cceef9 60%, #37beef 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 28px 28px 80px;
}
.ymca-root .hero-frame {
  position: relative;
  width: 100%; flex: 1;
  min-height: 520px;
  border-radius: 146px 0 146px 0;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,50,120,0.22);
}
.ymca-root .hero-slides { position: absolute; inset: 0; }
.ymca-root .hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.4s ease;
}
.ymca-root .hero-slide.active { opacity: 1; }
.ymca-root .hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  animation: ymca-kenburns 8s ease-out forwards;
}
@keyframes ymca-kenburns { from{transform:scale(1.06);} to{transform:scale(1.0);} }
.ymca-root .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    -90deg,
    rgba(0,0,0,0.38) 0%,
    rgba(0,0,0,0.22) 36%,
    rgba(0,0,0,0.07) 60%,
    rgba(0,0,0,0) 82%
  );
}
.ymca-root .hero-content {
  position: absolute; z-index: 10;
  right: 0; top: 50%; transform: translateY(-50%);
  padding: 0 72px; max-width: 760px;
  text-align: right;
}
.ymca-root .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(6px);
  border: 1px solid rgba(55,190,239,0.4);
  border-radius: 50px; padding: 5px 18px;
  color: var(--blue-dark); font-size: 0.78rem; font-weight: 700;
  margin-bottom: 28px;
  animation: ymca-fadeInDown 0.8s 0.3s both;
}
.ymca-root .hero-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-cool); flex-shrink: 0;
  animation: ymca-pulse 2s infinite;
}
@keyframes ymca-pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
.ymca-root .hero-catchphrase {
  display: block;
  max-width: 560px; width: 100%;
  margin-left: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 3px 14px rgba(0,0,0,0.55));
  animation: ymca-fadeInUp 0.9s 0.5s both;
}
.ymca-root .hero-catchphrase-text {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900; line-height: 1.3;
  color: var(--blue-dark);
  text-shadow: 0 2px 12px rgba(249,239,213,0.8);
  margin-bottom: 28px;
  animation: ymca-fadeInUp 0.9s 0.5s both;
}
.ymca-root .hero-desc {
  font-size: 1.02rem; color: rgba(255,255,255,0.92);
  line-height: 1.95; margin-bottom: 36px;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  animation: ymca-fadeInUp 0.9s 0.7s both;
}
.ymca-root .hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end;
  animation: ymca-fadeInUp 0.9s 0.9s both;
}
.ymca-root .hero-dots {
  position: absolute; bottom: 80px; right: 56px; z-index: 20;
  display: flex; gap: 8px;
}
.ymca-root .hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s;
  border: 2px solid rgba(0,58,122,0.3);
}
.ymca-root .hero-dot.active { background: var(--blue); border-color: var(--blue); width: 28px; border-radius: 4px; }
.ymca-root .hero-scroll {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--blue-dark); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-top: 20px; align-self: center;
  animation: ymca-scrollBounce 2.2s infinite;
}
.ymca-root .hero-scroll::after {
  content: ''; width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--blue), transparent);
}
@keyframes ymca-scrollBounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(8px);} }
@keyframes ymca-fadeInUp { from{opacity:0;transform:translateY(28px);} to{opacity:1;transform:translateY(0);} }
@keyframes ymca-fadeInDown { from{opacity:0;transform:translateY(-16px);} to{opacity:1;transform:translateY(0);} }

/* ===== NUMBERS STRIP ===== */
.ymca-root .numbers-strip {
  background: linear-gradient(90deg, #0d7dc4 0%, #4bd0f3 100%);
  padding: 24px 0;
}
.ymca-root .numbers-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.ymca-root .num-item {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 40px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.ymca-root .num-item:last-child { border-right: none; }
.ymca-root .num-val { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }
.ymca-root .num-val span { font-size: 1rem; }
.ymca-root .num-label { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.8); line-height: 1.5; }

/* ===== 3 CATEGORIES ===== */
.ymca-root .activities {
  padding: 100px 0;
  background: var(--grad-section);
}
.ymca-root .section-header { text-align: center; margin-bottom: 60px; }
.ymca-root .activities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.ymca-root .act-card {
  background: #fff; border-radius: 24px 0 24px 0;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0,90,160,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.ymca-root .act-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,90,160,0.14);
}
.ymca-root .act-card-img { height: 220px; overflow: hidden; position: relative; border-radius: 24px 0 0 0; transform: translateZ(0); -webkit-mask-image: -webkit-radial-gradient(white, black); }
.ymca-root .act-card-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s; }
.ymca-root .act-card:hover .act-card-img img { transform: scale(1.07); }
.ymca-root .act-card-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 14px; border-radius: var(--wing-sm);
  font-size: 0.72rem; font-weight: 700; color: #fff;
  backdrop-filter: blur(4px);
}
.ymca-root .badge-blue   { background: rgba(0,96,175,0.88); }
.ymca-root .badge-teal   { background: rgba(0,160,140,0.88); }
.ymca-root .badge-orange { background: rgba(220,110,0,0.88); }
.ymca-root .act-card-body { padding: 28px 28px 32px; }
.ymca-root .act-icon { font-size: 1.8rem; margin-bottom: 10px; }
.ymca-root .act-title { font-size: 1.15rem; font-weight: 900; color: #1a3a5c; line-height: 1.4; margin-bottom: 10px; }
.ymca-root .act-desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.85; margin-bottom: 18px; }
.ymca-root .act-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.ymca-root .act-tag {
  font-size: 0.72rem; padding: 3px 10px; border-radius: 50px;
  background: rgba(55,190,239,0.12); color: var(--blue);
  border: 1px solid rgba(55,190,239,0.3); font-weight: 600;
}
.ymca-root .act-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.84rem; font-weight: 700; color: var(--blue); text-decoration: none;
  transition: gap 0.2s;
}
.ymca-root .act-link:hover { gap: 10px; }

/* ===== PHOTO GALLERY ===== */
.ymca-root .gallery {
  padding: 60px 0;
  background: #ffffff;
}
.ymca-root .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.ymca-root .gallery-item {
  overflow: hidden; border-radius: var(--wing);
  box-shadow: 0 4px 16px rgba(0,90,160,0.1);
  transition: transform 0.3s;
}
.ymca-root .gallery-item:hover { transform: scale(1.02); }
.ymca-root .gallery-item img { width:100%; height:100%; object-fit:cover; display:block; }
.ymca-root .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; height: 340px; border-radius: 64px 0 64px 0; }
.ymca-root .gallery-item:nth-child(2),
.ymca-root .gallery-item:nth-child(3) { height: 162px; border-radius: 32px 0 32px 0; }
.ymca-root .gallery-item:nth-child(4) { height: 200px; border-radius: 32px 0 32px 0; }
.ymca-root .gallery-item:nth-child(5) { height: 200px; border-radius: 32px 0 32px 0; }

/* ===== MISSION ===== */
.ymca-root .mission {
  padding: 100px 0;
  background: #0060AF;
  position: relative; overflow: hidden;
}
.ymca-root .mission::before, .ymca-root .mission::after {
  content: ''; position: absolute;
  border-radius: 50%;
  background: rgba(55,190,239,0.07);
}
.ymca-root .mission::before { width:600px; height:600px; top:-200px; right:-200px; }
.ymca-root .mission::after  { width:400px; height:400px; bottom:-100px; left:-100px; }
.ymca-root .mission-inner { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; position:relative; z-index:1; }
.ymca-root .mission-text { color:#fff; }
.ymca-root .mission-text .tag { background:rgba(55,190,239,0.25); color:#93d8f5; }
.ymca-root .mission-text .section-title { color:#fff; }
.ymca-root .mission-sub { font-size:0.95rem; color:rgba(255,255,255,0.8); line-height:1.9; margin-bottom:28px; }
.ymca-root .mission-quote {
  border-left: 4px solid #37beef;
  padding-left: 20px; margin: 28px 0;
  font-size: 1.3rem; font-weight: 900; color: #b8e8f8; line-height: 1.6;
}
.ymca-root .mission-visual { position:relative; }
.ymca-root .mission-img {
  width:100%; aspect-ratio:4/3; object-fit:cover;
  border-radius: var(--wing); display:block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.ymca-root .mission-float {
  position:absolute; bottom:-28px; left:-28px;
  width:160px; aspect-ratio:1; object-fit:cover;
  border-radius: 32px 0 32px 0;
  border: 5px solid #1a5fa8;
  box-shadow:0 10px 30px rgba(0,0,0,0.25);
}

/* ===== IMPACT NUMBERS ===== */
.ymca-root .impact { padding: 72px 0; background: #fff; }
.ymca-root .impact-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:40px; text-align:center; }
.ymca-root .impact-num { font-size:3.2rem; font-weight:900; color:var(--blue); line-height:1; }
.ymca-root .impact-num sub { font-size:1.1rem; vertical-align:baseline; }
.ymca-root .impact-label { font-size:0.82rem; color:var(--text-light); margin-top:6px; line-height:1.5; font-weight:600; }

/* ===== DONATION & VOLUNTEER ===== */
.ymca-root .support {
  padding: 100px 0;
  background: var(--grad-section);
}
.ymca-root .support-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.ymca-root .support-card {
  padding: 48px 40px; border-radius: var(--wing);
  position: relative; overflow: hidden; color: #fff;
}
.ymca-root .support-card::after {
  content:''; position:absolute; bottom:-50px; right:-50px;
  width:220px; height:220px; border-radius:50%;
  background:rgba(255,255,255,0.07);
}
.ymca-root .support-card-red  { background: #D96C00; }
.ymca-root .support-card-green { background: #00A08C; }
.ymca-root .volunteer-inner { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.ymca-root .volunteer-photo { border-radius: var(--wing); overflow:hidden; box-shadow:0 16px 48px rgba(0,90,160,0.16); aspect-ratio:4/3; }
.ymca-root .volunteer-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.ymca-root .volunteer-list { margin-bottom:28px; }
.ymca-root .volunteer-list li { list-style:none; font-size:0.9rem; font-weight:600; color:var(--text-mid); margin-bottom:10px; padding-left:26px; position:relative; }
.ymca-root .volunteer-list li::before { content:'✓'; position:absolute; left:0; color:var(--blue); font-weight:900; }
.ymca-root .support-card-blue { background: #0d7dc4; }
.ymca-root .support-eyebrow { font-size:0.7rem; font-weight:700; letter-spacing:0.2em; text-transform:uppercase; opacity:0.65; margin-bottom:14px; }
.ymca-root .support-title { font-size:1.75rem; font-weight:900; line-height:1.35; margin-bottom:14px; }
.ymca-root .support-desc { font-size:0.9rem; opacity:0.85; line-height:1.85; margin-bottom:28px; }
.ymca-root .support-list { margin-bottom:32px; }
.ymca-root .support-list li {
  list-style:none; font-size:0.86rem; font-weight:600;
  margin-bottom:9px; padding-left:24px; position:relative; opacity:0.9;
}
.ymca-root .support-list li::before {
  content:'✓'; position:absolute; left:0;
  color:rgba(255,255,255,0.6);
}

/* ===== NEWS SECTION ===== */
.ymca-root .news-section {
  padding: 100px 0;
  background: #fff;
}
.ymca-root .news-header {
  display:flex; justify-content:space-between; align-items:flex-end;
  margin-bottom: 40px;
}
.ymca-root .notice-list { display:flex; flex-direction:column; gap:0; margin-bottom:72px; }
.ymca-root .notice-item {
  display:flex; align-items:baseline; gap:20px;
  padding: 18px 0;
  border-bottom: 1px solid #ede7d8;
  text-decoration: none; color: inherit;
  transition: background 0.2s;
}
.ymca-root .notice-item:hover { background: rgba(55,190,239,0.05); border-radius:8px; padding-left:12px; }
.ymca-root .notice-date { font-size:0.82rem; color:var(--text-light); font-weight:600; white-space:nowrap; }
.ymca-root .notice-cat {
  font-size:0.7rem; font-weight:700; padding:2px 10px;
  border-radius:50px; white-space:nowrap;
  background:rgba(215,0,15,0.1); color:var(--red);
}
.ymca-root .notice-title { font-size:0.92rem; color:var(--text); line-height:1.5; font-weight:500; }
.ymca-root .blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.ymca-root .blog-card {
  background:#fff; border-radius: 24px 0 24px 0;
  overflow:hidden; text-decoration:none; color:inherit;
  border:1px solid #ede7d8;
  transition:all 0.3s; display:block;
}
.ymca-root .blog-card:hover {
  border-color: #37beef;
  box-shadow: 0 8px 32px rgba(55,190,239,0.15);
  transform: translateY(-4px);
}
.ymca-root .blog-img { height:160px; overflow:hidden; }
.ymca-root .blog-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s; }
.ymca-root .blog-card:hover .blog-img img { transform:scale(1.06); }
.ymca-root .blog-body { padding: 18px 20px 22px; }
.ymca-root .blog-meta { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.ymca-root .blog-cat {
  font-size:0.68rem; font-weight:700; padding:2px 10px;
  border-radius:50px; background:rgba(55,190,239,0.15); color:var(--blue);
}
.ymca-root .blog-date { font-size:0.72rem; color:var(--text-light); }
.ymca-root .blog-title { font-size:0.9rem; font-weight:700; line-height:1.6; color:var(--text); }

/* ===== FOOTER ===== */
.ymca-root footer {
  background: #003A70;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.ymca-root .footer-inner {
  display: grid; grid-template-columns: 1.7fr 1fr 1.2fr 1.2fr 1fr; gap: 40px;
  margin-bottom: 52px;
}
.ymca-root .footer-logo-wrap { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.ymca-root .footer-logo-wrap img { height:40px; display:block; }
.ymca-root .footer-wordmark { height:18px; display:block; margin-bottom:18px; }
.ymca-root .footer-address { font-size:0.8rem; line-height:1.95; opacity:0.72; margin-top:8px; }
.ymca-root .footer-address a { color:#7dd4f0; text-decoration:none; }
.ymca-root .footer-address a:hover { text-decoration:underline; }
.ymca-root .footer-subhead { font-size:0.76rem; font-weight:700; color:#7dd4f0; margin:0 0 10px; }
.ymca-root .footer-col ul + .footer-subhead { margin-top:20px; }
.ymca-root .footer-brand-name { font-size:0.95rem; font-weight:900; color:#fff; line-height:1.3; }
.ymca-root .footer-desc { font-size:0.82rem; line-height:1.85; opacity:0.65; margin-bottom:22px; }
.ymca-root .footer-sns { display:flex; gap:10px; }
.ymca-root .footer-sns a {
  width:34px; height:34px; border-radius:50%;
  background:rgba(55,190,239,0.2); display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:0.82rem; text-decoration:none; transition:background 0.2s;
}
.ymca-root .footer-sns a:hover { background: #37beef; }
.ymca-root .footer-col h4 { font-size:0.72rem; font-weight:700; color:#fff; letter-spacing:0.12em; text-transform:uppercase; margin-bottom:16px; padding-bottom:8px; border-bottom:1px solid rgba(55,190,239,0.3); }
.ymca-root .footer-col ul { list-style:none; }
.ymca-root .footer-col ul li { margin-bottom:10px; }
.ymca-root .footer-col ul a { font-size:0.8rem; color:rgba(255,255,255,0.55); text-decoration:none; transition:color 0.2s; }
.ymca-root .footer-col ul a:hover { color:#37beef; }
.ymca-root .footer-bottom {
  border-top:1px solid rgba(255,255,255,0.08);
  padding:20px 0;
  display:flex; justify-content:space-between; align-items:center;
  font-size:0.76rem; color:rgba(255,255,255,0.35);
}
.ymca-root .footer-bottom-links { display:flex; gap:20px; }
.ymca-root .footer-bottom-links a { color:rgba(255,255,255,0.35); text-decoration:none; }
.ymca-root .footer-bottom-links a:hover { color:rgba(255,255,255,0.7); }

/* ===== RESPONSIVE ===== */
@media(max-width:960px){
  .ymca-root .activities-grid,.ymca-root .support-grid,.ymca-root .blog-grid,.ymca-root .mission-inner,.ymca-root .footer-inner,.ymca-root .volunteer-inner{grid-template-columns:1fr;}
  .ymca-root .impact-grid{grid-template-columns:repeat(2,1fr);}
  .ymca-root .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .ymca-root .gallery-item:nth-child(1){grid-column:span 2;height:240px;}
  .ymca-root .gallery-item:nth-child(2),.ymca-root .gallery-item:nth-child(3){height:140px;}
  .ymca-root .gallery-item:nth-child(4),.ymca-root .gallery-item:nth-child(5){height:140px;}
  .ymca-root .num-item{padding:8px 20px;}

  /* Header: hamburger + drawer */
  .ymca-root .header-inner { gap: 12px; padding: 0 18px; }
  .ymca-root .header-cta { display: none; }
  .ymca-root .header-right-logo { margin-left: auto; }
  .ymca-root .nav-toggle { display: flex; margin-left: 4px; }
  .ymca-root .ticker-track { animation-duration: 15s; }

  .ymca-root nav {
    position: fixed; top: 0; right: 0; z-index: 1200;
    width: min(84vw, 340px); height: 100vh;
    background: #fff; box-shadow: -8px 0 40px rgba(0,40,90,0.18);
    flex-direction: column; justify-content: flex-start; align-items: stretch;
    gap: 0; padding: 88px 24px 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.34s cubic-bezier(.4,0,.2,1);
  }
  .ymca-root header.nav-open nav { transform: translateX(0); }
  .ymca-root .nav-close {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 18px; right: 18px;
    width: 40px; height: 40px; padding: 0;
    background: rgba(0,90,160,0.08); border: none; border-radius: 50%;
    font-size: 1.5rem; line-height: 1; color: var(--blue-dark); cursor: pointer;
    transition: background 0.2s;
  }
  .ymca-root .nav-close:hover { background: rgba(0,90,160,0.16); }
  .ymca-root nav a {
    flex-direction: row; align-items: baseline; gap: 10px;
    padding: 15px 8px; border-radius: 0;
    border-bottom: 1px solid rgba(0,90,160,0.1);
  }
  .ymca-root nav a .nav-jp { font-size: 1rem; }
  .ymca-root nav a .nav-en { font-size: 0.66rem; opacity: 0.7; }
  .ymca-root .nav-drawer-cta {
    display: block; flex-direction: row; text-align: center;
    margin-top: 22px; border-bottom: none; padding: 14px 20px;
  }
  .ymca-root .nav-drawer-cta .nav-jp, .ymca-root .nav-drawer-cta .nav-en { display: none; }
  .ymca-root header.nav-open .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 1100;
    background: rgba(0,20,50,0.4);
  }

  /* Hero: full-bleed, no wing frame */
  .ymca-root .hero { min-height: 82vh; padding: 0; }
  .ymca-root .hero-frame {
    border-radius: 0; min-height: 82vh; box-shadow: none;
  }
  .ymca-root .hero-content { padding: 0 26px; max-width: 100%; }
  .ymca-root .hero-catchphrase { max-width: 74%; margin-bottom: 20px; }
  .ymca-root .hero-catchphrase-text { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .ymca-root .hero-desc { font-size: 0.86rem; line-height: 1.8; margin-bottom: 26px; }
  .ymca-root .hero-actions .btn { font-size: 0.82rem; padding: 11px 20px; }
  .ymca-root .hero-dots { bottom: 24px; right: 24px; }
  .ymca-root .hero-scroll { display: none; }
}


/* WordPress/SWELL integration helpers */
.ymca-root { width: 100%; max-width: none; }
.ymca-top-main { margin: 0; padding: 0; max-width: none; }
.ymca-root .ymca-hidden { display: none; }
.ymca-root .ymca-centered-sub { margin: 0 auto; text-align: center; }
.ymca-root .ymca-section-header-spaced { margin-bottom: 48px; }
.ymca-root .ymca-section-header-volunteer { margin-bottom: 40px; }
.ymca-root .ymca-volunteer-section { background: #fff; padding: 84px 0; }
.ymca-root .ymca-volunteer-copy { font-size: .95rem; color: var(--text-mid); line-height: 1.9; margin-bottom: 22px; }
.ymca-root .ymca-impact-item { text-align: center; padding: 20px 0; }
.ymca-root .ymca-impact-unit { font-size: 1rem; font-weight: 700; }
.ymca-root .ymca-about-button { border-color: rgba(55,190,239,.6); color: #7dd4f0; }
.ymca-root .ymca-membership-button { color: #00a08c; font-weight: 900; }
.ymca-root .ymca-donation-button { color: var(--red); font-weight: 900; }
.ymca-root .ymca-no-bottom-margin { margin-bottom: 0; }
.ymca-root .ymca-delay-05 { transition-delay: .05s; }
.ymca-root .ymca-delay-10 { transition-delay: .1s; }
.ymca-root .ymca-delay-15 { transition-delay: .15s; }
.ymca-root .ymca-delay-20 { transition-delay: .2s; }
.ymca-root .ymca-delay-25 { transition-delay: .25s; }
.ymca-root .ymca-delay-30 { transition-delay: .3s; }
.ymca-root .ymca-blog-section { padding-top: 0; }
.ymca-root .ticker-item { color: inherit; text-decoration: none; }
.ymca-root .blog-img-placeholder { display: block; width: 100%; height: 100%; background: #e8eef3; }

.ymca-root .blog-tags { display: flex; flex-wrap: wrap; gap: 4px; }

/* フルワイド対応 */
html,
body {
    overflow-x: clip;
}

.ymca-root {
    overflow-x: visible;
}

.ymca-root .ymca-full-width-section {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    margin-right: -50vw;
    margin-left: -50vw;
}

.ymca-root .ymca-full-width-section > .container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 28px;
    padding-left: 28px;
}
