/* =============================================
   garden.css - 各保育園ページ共通スタイル
   ============================================= */

/* CSS Theme Variables（各ページで上書き） */
:root {
  --color-primary: #4FC3E8;
  --color-primary-dark: #2EAFDB;
  --color-accent: #FF8B60;
  --color-accent-dark: #E66B3A;
  --color-primary-light: #E8F7FF;
  --color-accent-light: #FFF0E8;
  --grad-main: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

/* =============================================
   Fixed Header / Navigation
   ============================================= */
.page-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.page-header.scrolled {
  border-bottom-color: var(--color-primary-light);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-logo a {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  text-decoration: none;
  white-space: nowrap;
}

.header-logo .org-name {
  font-size: 0.65rem;
  color: var(--color-text-light, #666680);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.header-logo .garden-name {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.2;
}

/* Desktop Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-menu a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text, #333344);
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.nav-contact-btn {
  background: var(--grad-main);
  color: white !important;
  padding: 0.45rem 1rem !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(79,195,232,0.3);
}

.nav-contact-btn:hover {
  opacity: 0.9;
  background: var(--grad-main) !important;
  color: white !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 36px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-top: 1px solid var(--color-primary-light);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
  }
  .nav-toggle { display: flex; }
}

/* =============================================
   Hero Section（各保育園）
   ============================================= */
.garden-hero {
  margin-top: 64px;
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.garden-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-main);
  opacity: 0.08;
}

.garden-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.garden-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.garden-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}

.garden-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 4rem 1.5rem 3rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.garden-hero-content .tag {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  margin-bottom: 0.8rem;
  backdrop-filter: blur(8px);
}

.garden-hero-content h1 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.garden-hero-content .catchcopy {
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  opacity: 0.9;
  font-weight: 300;
}

/* =============================================
   Section Styles
   ============================================= */
.section-white   { background: #FFFFFF; }
.section-light   { background: var(--color-primary-light, #E8F7FF); }
.section-accent  { background: var(--color-accent-light, #FFF0E8); }
.section-grad {
  background: var(--grad-main);
  color: white;
}
.section-grad .section-heading h2,
.section-grad .section-heading .en-label {
  color: white;
  background: rgba(255,255,255,0.25);
}
.section-grad .section-heading .sub {
  color: rgba(255,255,255,0.85);
}

/* =============================================
   Goal Section
   ============================================= */
.goal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.goal-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.goal-icon {
  font-size: 3rem;
  line-height: 1;
}
.goal-label {
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  display: inline-block;
  margin: 0;
  letter-spacing: 1px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

@media (max-width: 640px) {
  .goal-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
  }
  .goal-item {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
  }
  .goal-icon {
    font-size: 2.5rem;
    width: 50px;
    text-align: center;
  }
  .goal-label {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    min-width: 140px;
    text-align: center;
  }
}


/* =============================================
   Philosophy Cards（保育理念）
   ============================================= */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.philosophy-card {
  background: white;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-top: 4px solid var(--color-primary);
  transition: transform 0.3s, box-shadow 0.3s;
}

.philosophy-card:nth-child(2) { border-top-color: var(--color-accent); }
.philosophy-card:nth-child(3) { border-top-color: #9B7FE8; }

.philosophy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.philosophy-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.philosophy-card h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.6rem;
}

.philosophy-card p {
  font-size: 0.9rem;
  color: #555566;
  line-height: 1.8;
}

/* =============================================
   Feature Cards（保育の特色）
   ============================================= */
.feature-section {
  position: relative;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.feature-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}

.feature-card-header {
  background: var(--grad-main);
  padding: 1.8rem 1.5rem 1.2rem;
  color: white;
}

.feature-card-header .age-badge {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.feature-card-header h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.3;
}

.feature-card-header .sub {
  font-size: 0.85rem;
  opacity: 0.88;
  margin-top: 0.3rem;
}

.feature-card-body {
  padding: 1.5rem;
}

.feature-card-body p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: #555566;
}

/* =============================================
   Info Table（園について）
   ============================================= */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.info-table tr {
  border-bottom: 1px solid #F1F3F5;
}

.info-table tr:last-child { border-bottom: none; }

.info-table th {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 1rem 1.2rem;
  width: 9rem;
  vertical-align: top;
  border-right: 3px solid var(--color-primary);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .info-table th {
    width: 5.5rem;
    font-size: 0.78rem;
    padding: 0.8rem 0.6rem;
    white-space: normal;
    word-break: keep-all;
  }
  .info-table td {
    font-size: 0.82rem;
    padding: 0.8rem 0.7rem;
  }
}

.info-table td {
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: #444455;
  line-height: 1.7;
}

/* =============================================
   Schedule（行事予定）
   ============================================= */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.schedule-month {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
}

.schedule-month-header {
  background: var(--grad-main);
  color: white;
  text-align: center;
  padding: 0.7rem;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
}

.schedule-month ul {
  padding: 0.8rem 1rem;
  list-style: none;
}

.schedule-month li {
  font-size: 0.82rem;
  padding: 0.2rem 0;
  color: #555566;
  border-bottom: 1px dashed #eee;
}

.schedule-month li:last-child { border-bottom: none; }

/* =============================================
   Accordion（台風対応・FAQ）
   ============================================= */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.1rem 1.3rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  gap: 1rem;
  transition: background 0.2s;
}

.accordion-trigger:hover { background: var(--color-primary-light); }

.accordion-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s;
  flex-shrink: 0;
  color: var(--color-primary);
}

.accordion-item.open .accordion-arrow { transform: rotate(180deg); }

.accordion-body {
  display: none;
  padding: 0 1.3rem 1.2rem;
  font-size: 0.88rem;
  line-height: 1.85;
  color: #555566;
}

.accordion-item.open .accordion-body { display: block; }

/* =============================================
   Download Links & Document Details
   ============================================= */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.download-item {
  background: #fff;
  border: 1px dashed var(--color-primary-light);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.download-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px dotted #eee;
  padding-bottom: 0.5rem;
}

.download-desc {
  font-size: 0.9rem;
  color: #555566;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.download-btn-wrap {
  text-align: right;
}

.download-btn {
  display: inline-block;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  text-decoration: none;
  padding: 0.6rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  background: transparent;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* =============================================
   Policy Table (Typhoon) & Complaint Window
   ============================================= */
.policy-subtitle {
  font-size: 1.1rem;
  text-align: center;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 700;
  padding: 0.5rem;
  border-radius: 4px;
  margin: 1.5rem 0 1rem;
}
.policy-heading {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  border-left: 4px solid var(--color-primary);
  padding-left: 0.5rem;
}
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.policy-table th, .policy-table td {
  border: 1px solid #ddd;
  padding: 0.8rem;
  text-align: left;
}
.policy-table th {
  background: #f7f9fa;
  font-weight: 700;
  width: 35%;
}
.policy-table td strong {
  display: block;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}
.policy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}
.policy-list li {
  margin-bottom: 0.8rem;
  padding: 0.8rem;
  background: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 4px;
}
.policy-list li span {
  font-weight: 700;
  color: var(--color-accent);
}
.policy-note {
  font-size: 0.85rem;
  color: #555;
  background: #fff8e1;
  padding: 1rem;
  border-left: 4px solid #ffca28;
  border-radius: 4px;
  margin-top: 1.5rem;
}
.kujo-history {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.kujo-record {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
}
.kujo-record span.kujo-zero {
  color: var(--color-primary-dark);
  font-weight: 700;
}
.kujo-section-title {
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  background: #f9f9f9;
  padding: 0.5rem;
  border-radius: 4px;
  border-left: 4px solid #666;
}
.kujo-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* =============================================
   Info Disclosure（情報公開）
   ============================================= */
.disclosure-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.disclosure-year {
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: 0.95rem;
  padding: 0.8rem 0 0.3rem;
  border-bottom: 2px solid var(--color-primary-light);
  margin-bottom: 0.2rem;
}

.disclosure-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #555566;
  transition: background 0.2s;
}

.disclosure-item:hover { background: var(--color-primary-light); }

.disclosure-item a {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* =============================================
   Complaint / Contact Box
   ============================================= */
.contact-box {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  text-align: center;
}

.contact-box h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.contact-box .tel {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin: 0.5rem 0;
}

.contact-box .hours {
  font-size: 0.85rem;
  color: #666680;
}

/* =============================================
   Google Map
   ============================================= */
.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  aspect-ratio: 16/7;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================
   Back to Top
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-main);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.back-to-top:hover { transform: translateY(-3px); }

/* =============================================
   Footer（各保育園）
   ============================================= */
.garden-footer {
  background: var(--color-primary-dark);
  color: white;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.garden-footer .footer-logo {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
}

.garden-footer .footer-sub {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-bottom: 1rem;
}

.garden-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 1rem;
  margin-bottom: 1.2rem;
}

.garden-footer .footer-nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
}

.garden-footer .footer-nav a:hover { color: white; }

.garden-footer .footer-back {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 0.82rem;
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  transition: background 0.2s;
}

.garden-footer .footer-back:hover { background: rgba(255,255,255,0.25); }

.garden-footer .copyright {
  font-size: 0.78rem;
  opacity: 0.6;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 768px) {
  .feature-cards { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-box .tel { font-size: 1.6rem; }
  .nav-menu a { font-size: 1.1rem; padding: 1rem 1.2rem; }
  .tab-btn { font-size: 0.85rem; padding: 0.8rem 0.5rem; }
}

@media (max-width: 480px) {
  .schedule-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
}

/* =============================================
   Hero Slider（写真スライダー）
   ============================================= */
.hero-slider {
  position: relative;
  margin: 64px auto 0;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-height: none;
  background: #000;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slider .slide.active { opacity: 1; }

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider .slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem 1.5rem 4rem; /* 下部にdots分の余裕 */
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-slider .slider-overlay h1 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.hero-slider .slider-overlay .catchcopy {
  font-size: clamp(0.95rem, 3vw, 1.3rem);
  opacity: 1;
  margin-bottom: 0.6rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* 画像内に文字が含まれるスライダー用：オーバーレイなし */
.hero-slider--notext .slider-overlay {
  display: none !important;
}

.hero-tel-sp {
  display: none;
}

@media (max-width: 640px) {
  .hero-slider {
    aspect-ratio: 4/3;
    margin-top: 0 !important;
  }
  /* 画像内にテキストがあるスライダーはスマホでも全体表示 */
  .hero-slider--notext {
    aspect-ratio: 16/9;
  }
  .hero-slider--notext .slide img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #f0f4f8;
  }
  .hero-slider .slider-overlay {
    padding: 1rem 1rem 3.5rem;
    justify-content: flex-start;
    padding-top: 1.5rem;
  }
  .hero-slider .slider-overlay .tag {
    display: none !important; /* タグ非表示でスペース確保 */
  }
  .hero-slider .slider-overlay h1 {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
    margin-bottom: 0.3rem;
  }
  .hero-slider .slider-overlay .catchcopy {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
  }
  .hero-slider .slider-overlay .hero-tel {
    display: none !important;
  }
  .hero-tel-sp {
    display: block;
    margin-top: 64px;
    text-align: center;
    padding: 0.8rem 1rem;
    background: #fff;
    font-size: 1.3rem;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
  .hero-tel-sp a {
    color: var(--color-primary);
    text-decoration: none;
  }
  .slider-dots {
    bottom: 0.75rem;
  }
  .slider-dots .dot {
    width: 9px;
    height: 9px;
  }
}

.hero-slider .slider-overlay .hero-tel {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 900;
  background: rgba(255,255,255,0.95);
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  display: inline-block;
  color: var(--color-primary);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  border: 3px solid var(--color-primary-light);
  text-shadow: none;
}

.hero-slider .slider-overlay .hero-tel a {
  color: inherit;
  text-decoration: none;
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dots .dot.active { background: white; }

/* =============================================
   Tab UI（保育の特色タブ - カプセル型スイッチ風）
   ============================================= */
.tab-nav {
  display: flex;
  gap: 6px;
  background: #e9ecef;
  padding: 6px;
  border-radius: 50px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  flex: 1;
  padding: 0.85rem 1.2rem;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #656d78;
  background: transparent;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  line-height: 1.3;
}

.tab-btn small {
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.85;
  margin-left: 0.3rem;
}

.tab-btn:hover:not(.active) {
  background: rgba(255,255,255,0.7);
  color: #333;
}

.tab-btn.active {
  background: var(--color-primary-dark, var(--color-primary));
  color: white;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.tab-btn.active small {
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 640px) {
  .tab-nav {
    padding: 4px;
    gap: 4px;
    margin-bottom: 1.8rem;
  }
  .tab-btn {
    padding: 0.7rem 0.4rem;
    font-size: 0.92rem;
  }
  .tab-btn small {
    display: block;
    margin-left: 0;
    margin-top: 0.15rem;
    font-size: 0.75rem;
  }
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.feature-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-photo-item {
  text-align: center;
}

.feature-photo-item .photo-caption {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.8rem;
  padding: 0.4rem 0.8rem;
  background: var(--color-primary-light);
  border-radius: 8px;
  display: inline-block;
}

.feature-photo-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 480px) {
  .feature-photo-grid { grid-template-columns: 1fr; }
}

/* =============================================
   YouTube Embed（動画埋め込み）
   ============================================= */
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  text-align: center;
  padding: 2rem;
}

/* =============================================
   Director Message（園長メッセージ）
   ============================================= */
.director-box {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.director-photo {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-content h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 900;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.director-content .director-name {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.director-content p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #555566;
}

@media (max-width: 640px) {
  .director-box {
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 2rem 1.5rem;
  }
  .director-photo { width: 120px; height: 120px; }
}
