.header {
  display: flex;
  justify-content: center;
  padding: 30px;
  height: 80px;
  align-items: center;
}
.greeting {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.greeting-card {
  display: flex;
  gap: 40px;
  max-width: 900px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  align-items: center;
}

.greeting-left img {
  width: 200px;
  height: auto;
  border-radius: 10px; /* ←ほんの少し丸めると綺麗 */
}

.greeting-right h2 {
  margin: 0;
  font-size: 28px;
}

.greeting-right h3 {
  margin: 10px 0;
  color: #38bdf8;
}

.greeting-right p {
  line-height: 1.8;
}

.services {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 80px 20px;
}

.service-card {
  width: 320px;
  padding: 40px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
}

.service-card h2 {
  margin-bottom: 20px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #38bdf8;
  color: black;
  text-decoration: none;
}

.school {
  border: 1px solid rgba(56,189,248,0.3);
}

.life {
  border: 1px solid rgba(168,85,247,0.3);
}


.btn {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: white;
  text-decoration: none;
  overflow: hidden;
  transition: 0.3s;
}

/* ホバーで光る */
.btn:hover {
  box-shadow: 0 0 20px rgba(56,189,248,0.6);
  transform: scale(1.05);
}

.btn {
  backdrop-filter: blur(10px);
}

.ripple::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: scale(1);
  opacity: 0;
  pointer-events: none;
}

.service-img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin-bottom: 20px;
}

.articles {
  padding: 80px 20px;
}

.articles h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.article-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(56,189,248,0.2);
}

.article-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 16px;
}

.article-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.article-card p {
  line-height: 1.7;
  margin-bottom: 16px;
}

.lesson {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.lesson-box {
  display: flex;
  gap: 40px;
  max-width: 1000px;
  align-items: center;
}

.lesson-video video {
  width: 500px;
  border-radius: 15px;
}

.lesson-info {
  max-width: 400px;
}

.lesson-info h2 {
  margin-bottom: 20px;
}

.lesson-info p {
  line-height: 1.8;
}

.contact {
  text-align: center;
  padding: 80px 20px;
}

.contact-text {
  font-size: 20px;
  margin-bottom: 20px;
  color: #e2e8f0;
}

.contact-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}

/* ホバー */
.contact-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(56,189,248,0.6);
}

@media (max-width: 768px) {
  .services {
    flex-direction: column;
    align-items: center;
  }
}