@charset "utf-8";

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

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: "Yu Mincho", "Hiragino Mincho Pro", "MS PMincho", sans-serif;
  font-size: 16px;
  color: #504946;
  line-height: 1.3;
  background-color: #ffffff;
}

img {
  max-width: 100%;
}

h1 {
  font-weight: 700;
  font-style: normal;
  text-align: center;
  font-size: 4.5rem;
  color: #9f938f;
  text-shadow: 0 0 5px #fff,
    0 0 10px #fff,
    0 0 20px #fff,
    0 0 40px rgba(255, 255, 255, 0.5);
}

h2 {
  font-family: "cormorant-sc", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  font-size: 2.5rem;
  color: #c3b5b1;
  margin-top: 7%;
}

.title {
  height: 310px;
  background-image: url(../images/jsa/jsa-main.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.jsa-detail {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

.jsa-detail p {
  font-size: 1.2rem;
  letter-spacing: normal;
  line-height: 2;
  margin: 3% 10%;
}

.link-button-area {
  text-align: center;
  margin-top: 4%;
}

.link-button {
  background-color: #f6c6d3;
  display: inline-block;
  min-width: 310px;
  line-height: 55px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  border-style: solid;
  border-width: 2px;
  border-color: #f6c6d3;
  border-radius: 10px;
}

.link-button:hover {
  background-color: #c3b5b1;
  border-style: solid;
  border-width: 2px;
  border-color: #c3b5b1;
  color: #fff;
}

.lesson-list {
  width: 930px;
  max-width: 90%;
  margin-top: 8%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10%;
  display: grid;
  grid-template-columns: repeat(auto-fit, 250px);
  column-gap: 85px;
  row-gap: 70px;
  justify-content: center;
}

.lesson-list p {
  font-size: 1.1rem;
  font-weight: bold;
}

.lesson-list li {
  transition: transform 0.3s ease;
}

.lesson-list li:hover {
  transform: scale(1.03);
  cursor: pointer;
}

@media(max-width:767px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.2rem;
    margin-top: 50px;
  }

  .jsa-detail p {
    font-size: 1.1rem;
    margin-top: 15px;
  }

  .link-button-area {
    margin-top: 30px;
    margin-bottom: 60px;
  }

  .lesson-list {
    margin-top: 59px;
    row-gap: 40px;
    margin-bottom: 60px;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  .main {
    padding-top: 70px;
  }
}