@charset "utf-8";
/* CSS Document */
.main {
  background-color: #FFF8E9;
  padding-bottom: 90px;
  width: calc(100% - 270px);
  margin-left: 270px;
  }
@media screen and (max-width: 1024px) {
  .main {
    width: 100%;
    margin-left: 0px;
  }
}
@media screen and (max-width: 480px) {
  .main {
    padding-bottom: 45px;
    width: 100%;
    margin-left: 0px;
  }
}
.section-top {
  margin-bottom: 70px;
  
}
.section-top__image {
  position: relative;
  width: 100%;
  margin: 0 auto;
  height: 660px;
  background-image :url("images/news_top.png");
  background-repeat: no-repeat;
  background-position: center center; 
  display: flex;
  justify-content: center;
  background-size: cover;
}
.section-top__image h2 {
  position: absolute;
  top: 75.5%;
  left: 3.4%;
  font-size: 3.0rem;
  font-weight: 700;
  color: #FFF8E9;
  line-height: 4.5rem;
  text-shadow: 0px 2px 4px rgba(51, 51, 51, 0.78);
}
@media screen and (max-width: 480px) {
  .section-top {
    margin-bottom: 30px;
}
  .section-top__image {
    position: relative;
    width: 100%;
    height: 400px;
    background-image: url("images/(SP)news_top.png");
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    justify-content: center;
    background-size: cover;
    margin-bottom: 40px;
}
  .section-top__image h2 {
    position: absolute;
  top: 75.5%;
  left: 6.4%;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 3.2rem;
  }
  }
.news-container {
  padding: 0 40px;
}
.news-list {
  list-style: none;
  margin-bottom: 75px;
}
.news-list li {
  display: flex;
  margin-bottom: 60px;
}
.news-list__category {
  width: 18%;
  margin-left: 30px;
}
.news-list__category img {
  display: block;
  width: 100%;
}
.news-list__text {
  width: 59%;
  margin-left: 30px;
}
.news-list__text h3 {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 20px 0 17px;
}
.news-list__text p {
  font-size: 1.6rem;
  line-height: 2.7rem;
}

.lesson-day {
  display: block;
	text-align: center;
	vertical-align: middle;
	width: 232px;
	padding: 1rem;
	border: 2px solid #FC6951;
	background: #FC6951;
	border-radius: 6px;
	transition: 0.5s;
  margin-top: 10px;
  font-size: 1.4rem;
	font-weight: 700;
}
.lesson-day a {
  text-decoration: none;
  color: #FFF8E9;
}
.news-list__link {
  display: block;
	text-align: center;
	vertical-align: middle;
	width: 220px;
	padding: 1rem;
	border: 2px solid #FCB61E;
	background: #FCB61E;
	border-radius: 6px;
	transition: 0.5s;
  margin-top: 10px;
  color: #FCB61E;
  font-size: 1.4rem;
	font-weight: 700;
}
.news-list__link a {
  text-decoration: none;
  color: #FFF8E9;
}
.pagenation {
  text-align: center;
}
.pagenation__list li {
  display: inline-block;

}
.pagenation__list li a {
  display: block;
  padding: 10px;
  max-width: 40px;
  max-height: 46px;
  text-decoration: none;
  color: #333;
 
}
.pagenation__list li a.selected {
  background-color: #707070;
  color: #FFF;
}
@media screen and (max-width: 480px) {
  .news-container {
    width: 375px;
    padding: 0 24px 40px;
    margin: 0 auto; 
  }
  .news-list {
  margin-bottom: 25px;
}
  .news-list li {
  display: block;
  margin-bottom: 20px;
}
.news-list__category {
  width: 57%;
  margin: 0px 0px 10px 0;
}
  .news-list__text {
  width: 100%;
  margin-left: 0px;
}
  .news-list__text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 10px
}
.news-list__text p {
  font-size: 1.4rem;
  line-height: 2.2rem;
}

}