.notice-section {
  margin-top: 100px;
  margin-bottom: 100px;
}
.notice-content {
  text-align: center;
}
@media (max-width: 768px) {
  .notice-content h2 {
    font-size: 18px;
  }
}

.lesson-section {
  margin-top: 180px;
}

.lesson-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px; /* テキストと画像の間隔 */
  padding: 50px;
}

.lesson-text {
  flex: 1 1 400px;
  line-height: 2;
  font-size: 14px;
}

.lesson-image {
  flex: 1 1 300px;
}

.lesson-image img {
  display: block;

  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 0px;
}


@media (max-width: 768px) {
  .lesson-section {
    margin-top: 100px;
  }

  .lesson-content {
    aflex-direction: column;
    padding: 15px;
    gap: 20px;
    line-height: 1.5;
  }

  .lesson-text {
    line-height: 1.5;
    order: 2; /* テキストを後ろに */
  }

  .lesson-content h2 {
    font-size: 18px;
    aorder: 0; /* タイトルは最初に */
    margin-top: 0;
  }

  .lesson-image {
    width: 100%;
    order: 1; /* 画像を真ん中に */
  }
}

/* 経営理念セクション */
.philosophy {
  abackground-image: url(img/16_9_19.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  padding: 60px 50px;
  max-width: 824px;
  margin: 300px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.philosophy-content {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  apadding: 40px;
  width: 100%;
}

.philosophy-content h2 {
  font-size: 24px;
  atext-align: center;
  margin-bottom: 50px;
}

.philosophy-content h3 {
  font-size: 17px;
  margin-top: 30px;
}

.philosophy-text {
  line-height: 2;
  font-size: 14px;
}

.philosophy-text p {
  padding-left: 20px;
  padding-bottom: 20px;
}

@media (max-width: 768px) {
  .philosophy {
    padding: 60px 15px;
    margin: 10px;
    margin-top: 100px;
  }

  .philosophy-content {
    apadding: 30px 20px;
  }

  .philosophy-content h2 {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .philosophy-content h3 {
    font-size: 16px;
  }

  .philosophy-text {
    line-height: 1.5;
    font-size: 14px;
  }

  .philosophy-text p {
    padding-left: 0px;
  }
}



.top-section {
  padding: 60px 20px;
  max-width: 1024px;
  margin: 0 auto;
  padding: 50px;
  text-align: center;
}
@media (max-width: 768px) {
  .top-section {
    padding: 60px 20px;
    padding: 10px;
    font-size: 14px;
  }
}

.top-section access-section {
amargin-top: 100px;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  background-color: #4CAF50;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.btn:hover {
  background-color: #388E3C;
}

/* お知らせリスト */
.news-list {
  list-style: none;
  padding: 0;
}

.news-list li {
  margin-bottom: 12px;
}

.news-list .date {
  color: #888;
  margin-right: 10px;
  font-size: 0.9em;
}

/* アクセス案内 */
.access-section {
  margin-top: 100px;
}
.access-content {
  display: flex;
  flex-wrap: wrap;
  agap: 20px;
  align-items: center;
}

.map-thumb {
  width: 300px;
  max-width: 100%;
  border-radius: 8px;
}

.access-text {
  flex: 1;
}

.instaBox {
  position: relative;
  height: 150px;
}
.insta {
  position: absolute; 
  right: 0; 
  bottom: 0;
}
