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

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

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

/* Hero Section */
.hero {
  background-image: url("../image/back.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* 背景だけ暗く */
  z-index: 1;
}

.hero .container {
  position: relative; /* 擬似要素より前へ */
  z-index: 2;
}

/* ロゴセクション */
.logo-section {
  background-color: #fff; /* 背景色（透明なら消してOK） */
  text-align: center;
  padding: 30px 0;
}

.logo-section .logo {
  max-width: 200px; /* ロゴサイズ調整 */
  height: auto;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero .description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Section Styles */
.section {
  padding: 80px 0;
  background: white;
}

.section:nth-child(even) {
  background: #f8f9fa;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #ff6b6b;
  margin: 20px auto;
  border-radius: 2px;
}

/* Problem Section */
.problems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.problem-card {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ff6b6b;
}

/* ▼ コンセプトセクションのデザイン ▼ */
.concept-section {
  background-color: #fff9f0; /* 優しい暖色系の背景 */
  background-image: radial-gradient(#ffe0b2 1px, transparent 1px); /* うっすらドット柄で可愛らしさを演出 */
  background-size: 20px 20px;
}

.concept-box {
  background: white;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  text-align: center;
  position: relative;
  border: 3px solid #fff; /* 白枠をつけてポップに */
}

/* 上部のラベル */
.concept-label {
  display: inline-block;
  background: #ff6b6b;
  color: white;
  padding: 5px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.concept-header h3 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 40px;
  line-height: 1.4;
}

.concept-body p {
  font-size: 1.1rem;
  line-height: 2;
  margin-bottom: 25px;
  color: #555;
}

/* 強調マーカー */
.highlight {
  background: linear-gradient(transparent 60%, #ffd93d 60%);
  font-weight: bold;
  color: #333;
}

.concept-message {
  font-size: 1.2rem !important;
  color: #2c3e50 !important;
  font-weight: bold;
  margin-top: 40px;
}

.concept-conclusion {
  font-size: 1.4rem !important;
  color: #ff6b6b !important;
  font-weight: bold;
  margin-bottom: 0 !important;
}

/* スマホのみ改行 */
.sp-only {
  display: none;
}
@media (max-width: 768px) {
  .concept-box {
    padding: 40px 20px;
  }
  .concept-header h3 {
    font-size: 1.5rem;
  }
  .sp-only {
    display: block;
  }
}
/* ▲ コンセプトセクションのデザイン ▲ */


/* ▼ 保育士紹介セクションのデザイン (ふりがな追加) ▼ */
.staff-profile {
  display: flex;
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.staff-image {
  flex: 0 0 350px; /* PCでの画像の固定幅 */
  background: #E0914C; /* イメージ背景色 */
}

.staff-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.staff-details {
  flex: 1;
  padding: 40px;
  display: flex;
  align-items: center;
}

.staff-card {
  padding: 10px;
}

.staff-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff6b6b;
  margin-bottom: 15px;
  border-bottom: 3px solid #ffd93d;
  padding-bottom: 5px;
  line-height: 1.2; /* ふりがながあるため行間を調整 */
  flex-wrap: wrap;
}

.staff-name-label {
  white-space: nowrap;
}

/* ruby要素のふりがなのスタイル - 漢字のすぐ上に配置されるように */
.staff-name ruby {
  font-size: 1.5rem;
}

.staff-name ruby rt {
  font-size: 0.6em;
  color: #777; /* 少し薄く */
  font-weight: normal;
}

.staff-qualification {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #555;
}

.staff-message {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .staff-profile {
    flex-direction: column;
  }
  .staff-image {
    flex: none;
    height: 250px;
  }
  .staff-details {
    padding: 30px 20px;
  }
  .staff-name {
    font-size: 1.3rem;
  }
}
/* ▲ 保育士紹介セクションのデザイン ▲ */


/* Features Section */
/* 行間調整も実施 */
.feature-card-full {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px; /* 下の3カラムとの余白 */
}

.feature-card-full p {
  line-height: 2.0; /* 1.8から変更 */
  font-size: 1.05rem; /* 少し大きく */
}


.feature-card-full::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ff6b6b, #ffd93d);
}

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

.features {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(320px, 1fr)
  ); /* 最小幅を少し調整 */
  gap: 40px;
}

.feature-card {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ff6b6b, #ffd93d);
}

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

.feature-title {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 20px;
}

/* ▼ ご利用の流れセクションのデザイン ▼ */
.flow-section {
  background: #f8f9fa;
}

.flow-steps {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 40px auto;
  position: relative;
}

/* タイムラインの線 */
.flow-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background: #ddd;
  z-index: 1;
}

.step-item {
  flex: 1;
  text-align: center;
  padding: 0 10px;
  position: relative;
  z-index: 2; /* 内容を線より手前に */
}

.step-icon {
  width: 60px;
  height: 60px;
  background: #E0914C;
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 5px solid white; /* 白い縁取りで線を隠す */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-item h3 {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.step-item p {
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 768px) {
  .flow-steps {
    flex-direction: column;
    align-items: center;
  }
  .flow-steps::before {
    top: 0;
    left: 30px;
    bottom: 0;
    width: 2px;
    height: 100%;
  }
  .step-item {
    display: flex;
    text-align: left;
    margin-bottom: 40px;
    width: 100%;
    padding-left: 50px; /* テキストのインデント */
  }
  .step-icon {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  .step-item h3 {
    margin-top: 5px;
  }
  .step-item div:first-child {
    flex: none;
  }
  .step-item div:last-child {
    flex: 1;
  }
}
/* ▲ ご利用の流れセクションのデザイン ▲ */


/* Pricing */
.pricing-grid {
  display: grid;
  /* 3カラム表示（料金プラン2つ + ご利用条件1つ） */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 40px;
  margin-top: 40px;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: scale(1.05);
}

.pricing-header {
  background-color: #E0914C;
  color: white;
  padding: 40px;
  text-align: center;
}

.pricing-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.pricing-unit {
  font-size: 1rem;
  opacity: 0.8;
}

.pricing-body {
  padding: 40px;
}

.pricing-features {
  list-style: none;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 30px;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
}

/* ▼ FAQセクションのデザイン ▼ */
.faq-section {
  background: #fff;
}

.faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq-q {
  background-color: #f5f5f5;
  padding: 20px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  border-left: 5px solid #ff6b6b;
}

.faq-a {
  padding: 20px 30px;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  background-color: white;
}
/* ▲ FAQセクションのデザイン ▲ */


/* CTA Section */
.cta {
  background-color: #E0914C;
  color: white;
  text-align: center;
  padding: 100px 0;
}

.cta h2 {
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.cta p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: #00b900;
  color: white;
  padding: 20px 60px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

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

  .container {
    padding: 0 15px;
  }

  /* 料金プランを縦並びにする */
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* スライダーコンテナ */
.slider-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slider-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* 前後ボタン */
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-button:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

/* ドットナビゲーション */
.slider-dots {
  position: absolute;
  bottom: 22px; /* 少し上に調整 */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.dot.active {
  background: #ff6b6b;
  transform: scale(1.3);
}


/* Responsive (重複部分を削除し、残った部分を再配置) */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .slider-wrapper {
    height: 300px;
  }

  .slider-button {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .slider-prev {
    left: 10px;
  }

  .slider-next {
    right: 10px;
  }
}

/* ▼▼▼ 追加：画像準備中の表示デザイン ▼▼▼ */
.no-image-box {
  width: 100%;
  height: 300px; /* 高さを確保 */
  background-color: #f0f2f5; /* 薄いグレー背景 */
  border: 2px dashed #ccc; /* 破線で囲む */
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #888;
}

.no-image-content span {
  font-size: 3rem;
  display: block;
  margin-bottom: 10px;
  opacity: 0.5;
}

.no-image-content p {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.8;
}
/* ▼▼▼ 追加：保育士画像の準備中デザイン ▼▼▼ */
.staff-no-image {
  width: 100%;
  height: 100%;
  min-height: 250px; /* 画像がない場合でも高さを確保 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white; /* 背景がオレンジなので白文字が見やすい */
}

.staff-no-image span {
  font-size: 3rem;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.2); /* アイコンの背景に薄い白丸 */
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  display: block;
}

.staff-no-image p {
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

/* ▼▼▼ 追加：保育歴のスタイル ▼▼▼ */
.staff-career {
  font-size: 1rem;
  color: #121111; /* オレンジで強調 */
  margin-bottom: 5px;
}