/* にじいろ保育園 LP スタイル */

:root {
  --primary-color: #FFD54F; /* パステルイエロー */
  --secondary-color: #81C784; /* パステルグリーン */
  --accent-color: #FFB74D; /* オレンジ */
  --text-color: #333;
  --bg-light: #FFF9E5; /* クリームイエロー */
  --bg-green: #E8F5E9; /* ライトグリーン */
  --white: #FFFFFF;
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  color: var(--text-color);
  line-height: 1.8;
}

/* ヘッダー */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--secondary-color);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s;
}

/* ヒーローセクション */
.hero {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-green) 100%);
  padding: 120px 2rem 80px;
  text-align: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  line-height: 1.3;
}

.hero-text .highlight {
  color: var(--secondary-color);
  font-size: 3.5rem;
}

.hero-text p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #666;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--text-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-green {
  background: linear-gradient(135deg, var(--secondary-color), #66BB6A);
  color: var(--white);
}

/* セクション共通 */
.section {
  padding: 80px 2rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* 保育理念 */
.philosophy {
  background: var(--bg-light);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.philosophy-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.philosophy-card:hover {
  transform: translateY(-5px);
}

.philosophy-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.philosophy-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* 保育の特徴 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid var(--primary-color);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.feature-card:nth-child(even) {
  border-left-color: var(--secondary-color);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* 1日の流れ */
.schedule {
  background: var(--bg-green);
}

.schedule-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  align-items: center;
}

.schedule-time {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--secondary-color);
  min-width: 100px;
}

.schedule-activity h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* 年間行事 */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.event-card {
  background: linear-gradient(135deg, var(--bg-light), var(--bg-green));
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
}

.event-month {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.event-card ul {
  list-style: none;
  text-align: left;
  padding-left: 1rem;
}

.event-card li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.event-card li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* 園の紹介 */
.facility {
  background: var(--bg-light);
}

.facility-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.facility-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.facility-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.facility-list {
  list-style: none;
  margin: 1.5rem 0;
}

.facility-list li {
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  border-bottom: 1px solid #E0E0E0;
}

.facility-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* 給食 */
.meals-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.meals-features {
  background: var(--bg-green);
  padding: 2rem;
  border-radius: 15px;
}

.meals-features h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.meals-features ul {
  list-style: none;
}

.meals-features li {
  padding: 1rem 0;
  padding-left: 2rem;
  position: relative;
}

.meals-features li::before {
  content: '🍽️';
  position: absolute;
  left: 0;
}

.meals-menu {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 15px;
}

.meals-menu h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* スタッフ紹介 */
.staff {
  background: var(--bg-green);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.staff-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
}

.staff-avatar {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.staff-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.staff-role {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 1rem;
}

/* 保護者の声 */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-color);
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.3;
}

.testimonial-text {
  margin-bottom: 1rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  text-align: right;
  font-weight: bold;
  color: var(--secondary-color);
}

/* 入園案内 */
.admission {
  background: var(--bg-light);
}

.admission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.admission-info {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.admission-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

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

.info-table th,
.info-table td {
  padding: 1rem;
  text-align: left;
}

.info-table th {
  background: var(--bg-green);
  font-weight: bold;
  width: 40%;
}

/* アクセス */
.access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.access-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.access-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.access-map {
  background: #E0E0E0;
  height: 400px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

/* 見学予約 */
.contact {
  background: linear-gradient(135deg, var(--bg-light), var(--bg-green));
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(135deg, var(--secondary-color), #66BB6A);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* フッター */
.footer {
  background: var(--text-color);
  color: var(--white);
  padding: 3rem 2rem 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #555;
  color: #999;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .nav-menu li {
    padding: 0.8rem 2rem;
    border-bottom: 1px solid #E0E0E0;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text .highlight {
    font-size: 2.5rem;
  }

  .facility-content,
  .meals-content,
  .admission-grid,
  .access-content {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .schedule-item {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 1rem;
  }

  .hero {
    padding: 100px 1rem 60px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text .highlight {
    font-size: 2.2rem;
  }

  .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

/* アニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}
