/* sagamihara-support.css (legacy-no-vars-no-grid) */

body{margin:0;padding:0;background:#f8fafc;}

.sgr-page-wrapper{
  font-family:"Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN","Hiragino Sans", sans-serif;
  color:#1a2a3a;
  line-height:1.7;
  padding:40px 15px;
}
.sgr-container{
  max-width:1000px;
  margin:0 auto;
  background:#ffffff;
  border-radius:40px;
  overflow:hidden;
  box-shadow: 0 40px 80px rgba(0, 91, 172, 0.08);
}

/* header */
.sgr-header{
  padding:60px 40px 36px;
  text-align:center;
  background: radial-gradient(circle at top right, rgba(0, 91, 172, 0.05), transparent);
}
.sgr-badge{
  display:inline-block;
  padding:6px 20px;
  background:#005bac;
  color:#fff;
  border-radius:50px;
  font-size:14px;
  font-weight:900;
  margin-bottom:18px;
  letter-spacing:.02em;
}
.sgr-header h1{
  font-size:42px;
  font-weight:900;
  margin:0;
  color:#005bac;
  line-height:1.3;
}
.sgr-header h1 mark{
  background: linear-gradient(transparent 70%, rgba(0, 160, 233, 0.2) 70%);
  color: inherit;
}
.sgr-lead{
  margin:16px auto 0;
  max-width:70ch;
  color:#64748b;
  font-weight:700;
  font-size:14.5px;
  line-height:1.85;
}

/* sections */
.section-pad{padding: 0 40px 60px;}
.card{
  background:#fdfdfe;
  border-radius:32px;
  padding:40px;
  border:1px solid rgba(0, 91, 172, 0.10);
}

/* Nagatomo main card (grid→flex) */
.nagatomo-card{
  display:flex;
  gap:40px;
  align-items:flex-start;
}
.nagatomo-card > *{flex:1; min-width:0;}

.nagatomo-photo{
  border-radius:20px;
  overflow:hidden;
  box-shadow:15px 15px 0 #f8fafc;
  background:#eaf2ff;
  border:1px solid rgba(0, 91, 172, 0.08);
}
.nagatomo-photo img{
  width:100%;
  height:520px;
  object-fit:cover;
  display:block;
  background:#eaf2ff;
}

.nagatomo-info h2{
  font-size:38px;
  font-weight:900;
  color:#005bac;
  margin:0 0 10px;
  letter-spacing:.02em;
}
.nagatomo-tagline{
  font-weight:900;
  color:#00a0e9;
  font-size:18px;
  display:block;
  margin-bottom:18px;
}
.district{font-weight:900;color:#005bac;margin:0 0 16px;}

.msg-box{
  background:#f0f7ff;
  padding:20px;
  border-radius:15px;
  border-left:5px solid #005bac;
  font-size:15px;
  margin-bottom:18px;
}
.msg-box p{margin:0;}
.subcopy{
  margin:0 0 18px;
  color:#64748b;
  font-size:14.5px;
  font-weight:700;
  line-height:1.85;
}

/* HP button */
.sns-link{
  text-decoration:none;
  display:flex;
  flex-direction:column;
  padding:14px;
  border-radius:12px;
  border:1px solid #e2e8f0;
  background:#fff;
  transition: all 0.2s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.sns-link:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}
.sns-link .label{font-weight:900;font-size:14px;margin-bottom:2px;}
.sns-link .caption{font-size:11px;color:#64748b;font-weight:700;}

.sns-link.hp-main{
  background:#005bac;
  color:#fff;
  border:none;
  align-items:center;
  text-align:center;
  margin-top:6px;
}
.sns-link.hp-main:hover{background:#00a0e9;}

/* SNS icons */
.sns-icons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:14px;
}
.icon-link{
  width:56px;height:56px;
  border-radius:999px;
  display:block;
  text-decoration:none;
  border:1px solid #e2e8f0;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.icon-link:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
  filter: brightness(1.02);
}
.icon-link svg{width:26px;height:26px;fill:#fff;display:block;margin:15px auto 0;}
.icon-x{background:#0f172a;}
.icon-ig{background: radial-gradient(circle at 30% 110%, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);}
.icon-fb{background:#1877F2;}
.icon-yt{background:#FF0000;}
.sns-note{margin:10px 0 0;font-size:12px;color:#64748b;font-weight:700;}

/* Activity gallery (grid→flex) */
.activity-wrap{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid rgba(0, 91, 172, 0.12);
}
.activity-title{
  margin:0 0 10px;
  font-size:14px;
  font-weight:900;
  color:#005bac;
  letter-spacing:.02em;
}
.activity-desc{
  margin:0 0 14px;
  color:#64748b;
  font-size:13px;
  font-weight:700;
  line-height:1.75;
}
.activity-grid{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.activity-item{
  width:calc((100% - 24px) / 3);
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(0,91,172,.12);
  background:#fff;
  box-shadow: 0 10px 22px rgba(0,0,0,.04);
}
.activity-item img{
  width:100%;
  height:160px;
  object-fit:cover;
  display:block;
  background:#eef6ff;
}
.ph{
  height:160px;
  display:block;
  text-align:center;
  padding:10px;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
  color: rgba(0, 91, 172, 0.65);
  font-weight:900;
  letter-spacing:.04em;
  font-size:12.5px;
  line-height:1.4;
}
.ph small{
  display:block;
  margin-top:6px;
  font-weight:800;
  color: rgba(26,42,58,.55);
  font-size:11.5px;
}
.activity-item figcaption{
  padding:10px 12px;
  font-size:12px;
  color: rgba(26,42,58,.78);
  font-weight:800;
}
.activity-item, .activity-item *{cursor: default;}

/* Schedule */
.sched-area{padding: 0 40px 50px;}
.sched-header{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
  margin:8px 0 14px;
}
.sched-header h3{margin:0;font-size:18px;font-weight:900;color:#005bac;letter-spacing:.02em;}
.sched-header p{margin:0;font-size:12.5px;color:#64748b;font-weight:700;line-height:1.6;}

.sched-list{display:block;}
.sched-card{
  border:2px solid #005bac;
  border-radius:20px;
  padding:18px;
  display:flex;
  align-items:center;
  gap:18px;
  justify-content:space-between;
  background:#fff;
  overflow:hidden;
  margin-bottom:12px;
}
.sched-left{
  display:flex;
  gap:16px;
  align-items:center;
  flex:1;
  min-width:0;
}
.sched-datebox{
  background:#005bac;
  color:#fff;
  padding:14px 14px;
  border-radius:14px;
  text-align:center;
  min-width:110px;
  box-sizing:border-box;
}
.sched-datebox .d{font-size:18px;font-weight:900;line-height:1.1;}
.sched-datebox .t{font-size:12px;font-weight:800;opacity:.95;margin-top:4px;}
.sched-main{min-width:0;}
.sched-main h4{margin:0;font-size:16.5px;font-weight:900;color:#1a2a3a;line-height:1.35;}
.sched-main p{margin:6px 0 0;color:#64748b;font-size:13.5px;font-weight:800;line-height:1.6;word-break:break-word;}

.btn-main{
  display:block;
  padding:12px 16px;
  border-radius:14px;
  font-weight:900;
  text-decoration:none;
  border:1px solid rgba(0,91,172,.25);
  background: linear-gradient(135deg, #005bac, #00a0e9);
  color:#fff;
  box-shadow: 0 12px 24px rgba(0,91,172,.18);
  text-align:center;
  white-space:nowrap;
  box-sizing:border-box;
  max-width:100%;
}
.btn-main:hover{filter:brightness(1.03);}

/* Support text blocks (grid→flex) */
.support-area{padding: 0 40px 50px;}
.support-card{
  border:1px solid #e2e8f0;
  border-radius:24px;
  background:#fff;
  padding:22px;
  box-shadow: 0 16px 30px rgba(0,0,0,.04);
}
.support-card h3{margin:0 0 10px;font-size:18px;font-weight:900;color:#005bac;}
.support-grid{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px;}
.support-item{
  width:calc((100% - 24px)/3);
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:14px;
  background:#f8fbff;
  box-sizing:border-box;
}
.support-item .k{font-weight:900;color:#1a2a3a;margin:0 0 6px;font-size:14px;}
.support-item .v{margin:0;color:#64748b;font-weight:700;font-size:13px;line-height:1.75;}
.support-note{margin:12px 0 0;color:#64748b;font-weight:700;font-size:12.5px;line-height:1.7;}

/* Otsuka section */
.otsuka-section{background:#f1f5f9;padding: 50px 40px;border-top:1px solid #e2e8f0;}
.otsuka-title-small{text-align:center;font-size:18px;font-weight:900;color:#64748b;margin-bottom:22px;}
.otsuka-card{
  max-width:850px;margin:0 auto;background:#fff;border-radius:24px;padding:30px;
  display:flex;gap:30px;align-items:flex-start;border:1px solid rgba(0,0,0,.05);
  box-shadow: 0 18px 40px rgba(0,0,0,.05);
}
.otsuka-card > *{min-width:0;}
.otsuka-photo img{width:180px;height:180px;border-radius:50%;object-fit:cover;border:4px solid #00aed6;background:#e8fbff;display:block;}
.otsuka-info{flex:1;}
.otsuka-info h3{font-size:24px;font-weight:900;margin:0 0 6px;color:#00aed6;}
.otsuka-info .meta{margin:0;font-weight:900;color:#00aed6;font-size:13px;}
.otsuka-info .desc{margin:10px 0 14px;font-size:14px;color:#64748b;font-weight:700;line-height:1.85;}
.sns-link.hp-sub{
  border-color:#00aed6;color:#00aed6;align-items:center;text-align:center;font-weight:900;
}
.sns-link.hp-sub:hover{background:#00aed6;color:#fff;}


/* =========================
   Otsuka schedule (LIGHT BLUE) - use existing schedule markup
   ========================= */
.otsuka-schedule{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid rgba(0,174,214,.25);
}
.otsuka-schedule-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
  margin:0 0 14px;
}
.otsuka-schedule-head h4{
  margin:0;
  font-size:18px;
  font-weight:900;
  color:#00aed6;
  letter-spacing:.02em;
}
.otsuka-schedule-head p{
  margin:0;
  font-size:12.5px;
  color:#64748b;
  font-weight:700;
  line-height:1.6;
}

/* color overrides for the existing .sched-* blocks */
.otsuka-schedule .sched-card{ border-color:#00aed6; }
.otsuka-schedule .sched-datebox{ background:#00aed6; }
.otsuka-schedule .btn-main{
  border:none;
  background: linear-gradient(135deg, #00aed6, #38c9ea);
  box-shadow: 0 12px 24px rgba(0,174,214,.22);
}
.otsuka-schedule .btn-main:hover{filter:brightness(1.05);}

@media (max-width: 900px){
  .otsuka-schedule-head{
    flex-direction:column;
    align-items:flex-start;
  }
}

footer{
  background:#005bac;color:#fff;padding:28px 20px;text-align:center;font-size:12px;font-weight:700;
}

/* responsive */
@media (max-width: 900px){
  .sgr-header{padding:48px 22px 30px;}
  .section-pad,.sched-area,.support-area{padding: 0 18px 46px;}
  .otsuka-section{padding: 42px 18px;}
  .card{padding:22px;border-radius:26px;}

  .nagatomo-card{flex-direction:column;text-align:center;}
  .nagatomo-photo img{height:340px;}
  .sns-icons{justify-content:center;}

  .activity-item{width:calc((100% - 12px)/2);}
  .support-item{width:100%;}
  .otsuka-card{flex-direction:column;text-align:center;}
  .otsuka-photo{display:flex;justify-content:center;}
  .sched-card{flex-direction:column;align-items:stretch;}
  .btn-main{width:100%;}
  .sched-header{flex-direction:column;align-items:flex-start;}
  .ph,.activity-item img{height:140px;}
}

/* ✅ スマホ時：長友写真を中央寄せ */
@media (max-width: 900px){
  .nagatomo-photo{
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
}
@media (max-width: 900px){
  .nagatomo-photo img{
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 900px){
  .otsuka-photo{
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
}
@media (max-width: 900px){
  .otsuka-photo img{
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-image {
  max-width: 420px;   /* ← PCでの最大サイズ */
  width: 100%;
  margin: 0 auto;     /* 中央寄せ */
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .hero-image {
    max-width: 300px;   /* スマホでは小さく */
  }
}

/* ===== Otsuka schedule（大塚さゆり：水色） ===== */

:root{
  --otsuka: #00aed6;
  --otsuka2:#38c9ea;
}


.otsuka-sched-area{
  margin-top:22px;
  text-align:left;
}
.otsuka-sched-title{
  margin: 16px 0 6px;
  font-size:16px;
  font-weight:900;
  color:#00aed6;
  letter-spacing:.02em;
}
.otsuka-sched-note{
  margin:0 0 12px;
  font-size:12.5px;
  color:#64748b;
  font-weight:700;
  line-height:1.6;
}

.otsuka-sched-list{display:block;}

.otsuka-sched-card{
  border:2px solid #00aed6;
  border-radius:20px;
  padding:18px;
  display:flex;
  align-items:center;
  gap:18px;
  justify-content:space-between;
  background:#fff;
  overflow:hidden;
  margin-bottom:12px;
}
.otsuka-sched-left{
  display:flex;
  gap:16px;
  align-items:center;
  flex:1;
  min-width:0;
}
.otsuka-datebox{
  background:#00aed6;
  color:#fff;
  padding:14px 14px;
  border-radius:14px;
  text-align:center;
  min-width:110px;
  box-sizing:border-box;
}
.otsuka-datebox .d{font-size:18px;font-weight:900;line-height:1.1;}
.otsuka-datebox .t{font-size:12px;font-weight:800;opacity:.95;margin-top:4px;}

.otsuka-sched-main{min-width:0;}
.otsuka-sched-main h4{
  margin:0;
  font-size:16.5px;
  font-weight:900;
  color:#1a2a3a;
  line-height:1.35;
}
.otsuka-sched-main p{
  margin:6px 0 0;
  color:#64748b;
  font-size:13.5px;
  font-weight:800;
  line-height:1.6;
  word-break:break-word;
}

.otsuka-btn{
  display:block;
  padding:12px 16px;
  border-radius:14px;
  font-weight:900;
  text-decoration:none;
  border:1px solid rgba(0,174,214,.35);
  background: linear-gradient(135deg, #00aed6, #00a0e9);
  color:#fff;
  box-shadow: 0 12px 24px rgba(0,174,214,.18);
  text-align:center;
  white-space:nowrap;
  box-sizing:border-box;
  max-width:100%;
}
.otsuka-btn:hover{filter:brightness(1.03);}

@media (max-width: 900px){
  .otsuka-sched-card{flex-direction:column;align-items:stretch;}
  .otsuka-btn{width:100%;}
}

/* =========================
   OTSUKA schedule (override only inside OTSUKA card)
   ========================= */
.otsuka-schedule{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid rgba(0,174,214,.25);
}
.otsuka-schedule-title{
  font-weight:900;
  font-size:18px;
  color:#00aed6;
  margin: 0 0 6px;
}
.otsuka-schedule-note{
  margin:0 0 12px;
  color:#64748b;
  font-weight:700;
  font-size:12.5px;
}

/* ここが肝：大塚カード内だけ色を水色へ */
.otsuka-card .sched-card{
  border-color:#00aed6;
}
.otsuka-card .sched-datebox{
  background:#00aed6;
}
.otsuka-card .btn-main{
  border-color: rgba(0,174,214,.25);
  background: linear-gradient(135deg, #00aed6, #38c9ea);
  box-shadow: 0 12px 24px rgba(0,174,214,.22);
}

/* スマホ時も崩れないように（念のため） */
@media (max-width: 900px){
  .otsuka-card .sched-card{
    flex-direction:column;
    align-items:stretch;
  }
  .otsuka-card .btn-main{
    width:100%;
    margin-top:8px;
  }
}

/* ===== /Otsuka schedule ===== */
