*{
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  width: 100%;
  vertical-align: bottom;
}
  
body {
  color: #333;
  font-family: "Kiwi Maru";
  font-weight: 400;
  font-style: normal;
}

a {
  display: block;
  text-decoration: none;
  color: #f1eef7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 100px;
}

h2 {
  color: #f1eef7;
  text-shadow: 1px 1px 5px #333;
  font-size: 40px;
  letter-spacing: 0.2em;
  padding-block: 30px;
  text-align: center;
  font-weight: 400;
}

h3 {
  font-size: 24px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s;
}

/* header、footer------------------- */

header, footer {
  background-color: #61d7f1;
}

header nav {
  width: 90%;
  margin: 0 auto;
}

.nav-list  {
  display: flex;
  justify-content: space-between;
  text-align: center;
  line-height: 50px;
  background-color: #61d7f1;
}

.nav-list  a {
  font-size: 24px;
  padding: 24px 0;
  font-weight: 400;
}

.nav-list li {
  display: block;
  width: calc(100% / 5);
  font-weight: bold;
}

.nav-list a:hover {
  background-color: #f0c14b;
}

.nav-color  {
  display: flex;
  justify-content: space-between;
  text-align: center;
  line-height: 50px;
  background-color: #61d7f1;
}

.nav-color  a {
  font-size: 24px;
  padding: 24px 0;
  font-weight: 600;
}

.nav-color li {
  display: block;
  width: calc(100% / 5);
  font-weight: bold;
}

.nav-color a:hover {
  color: #1d20c9;
}

.toggle-btn {
  display: none;
}

.mask {
  display: none;
}

.photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

footer{
  text-align: center;
}

/* main------------ */
/* news */

#news ul {
  background: #f8a6e4;
  border-radius: 16px;
  padding-bottom: 56px;
}

#news li {
  background: #f1eef7;
  width: 90%;
  margin: 0 auto;
  border-radius: 16px;
  padding: 3%;
}

#news dl {
  display: flex;
}

#news h3 a {
  background: linear-gradient(45deg, #ff3bef 0%, #076ad9 20%, #58c6ff 40%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.news-date {
  width: 90%;
}

#news dt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20%;
  text-align: right;
  padding-right: 2%;
  font-size: 20px;
}

#news dd {
  width: 80%;
  padding-left: 2%;
}

#news li + li {
  margin-top: 30px;
}

/* about-------------------- */

#about ul {
  background-color: #adf1f8;
  border-radius: 20px;
}

.introduction {
  text-align: center;
}

#about .features  {
  background: #f1eef7;
  width: 90%;
  margin: 30px auto;
  padding: 30px;
  border-radius: 16px;
}

#about h3 {
  padding-block: 5px 20px;
}

#about p {
  padding-bottom: 5px;
}


/* point------------- */

#point .container {
  padding-bottom: 100px;
}

#point ul {
  background-color: #f8edad;
  border-radius: 20px;
  padding-bottom: 30px;
}

.box {
  display: flex;
  justify-content: center;
  padding: 3% 0;
  gap: 20px;
  /* align-items: center; */
  /* margin: 0 auto; */
}

.box img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
}

.case {
  background: #f1eef7;
  width: 90%;
  margin: 30px auto;
  padding: 30px;
  border-radius: 16px;
  display: flex;
  align-items: center;
}

.case h3 {
  width: 25%;
}

.case P {
  width: 75%;
}


.instructor {
  display: flex;
  justify-content: space-between;
  margin-bottom: 120px;
}

.image {
  width: 55%;
}


.slide-left {
  animation: slide-left 1.5s ease-out forwards;
}

@keyframes slide-left {
  0% {
    transform: translateX(-60%);
  }
  
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-right {
  animation: slide-right 1.5s ease-out forwards;
}

@keyframes slide-right {
  0% {
    transform: translateX(60%);
  }
  
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}


@media (max-width: 800px) {
  .container {
  padding-top: 20px;
}

  header, footer {
    padding-top: 0px;
  }
  
  footer {
    padding-bottom: 0px;
    font-size: 12px;
  }
  
  .header-logo {
    height: 50px;
    gap: 5px;
  }

  h1 {
    font-size: 24px;
    padding-block: 10px;
    }

  h2 {
    font-size: 24px;
  }
  

  h3 {
    font-size: 18px;
  }

  .header-logo P {
    font-size: 14px;
    padding-block: 10px;
    padding-right: 45px;
  }

  .toggle-btn {
    display: block;
    width: 50px;
    height: 50px;
    transition: all 0.5s;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 50;
    background-color: #333;
  }
  
  .toggle-btn span {
    display: block;
    width: 50%;
    height: 3px;
    background-color: #fff;
    transition: all 0.5s;
    position: absolute;
    left: 25%;
  }
  
  .toggle-btn span:nth-child(1) {
    top: 35%;
  }
  
  .toggle-btn span:nth-child(2) {
    top: 50%;
  }
  
  .toggle-btn span:nth-child(3) {
    top: 65%;
  }
  
  .toggle-btn:hover {
    opacity: 0.7;
  }
  
  .open .toggle-btn span:nth-child(1) {
    top: 50%;
    transform: rotate( -45deg);
  }
  
  .open .toggle-btn span:nth-child(2),
  .open .toggle-btn span:nth-child(3) {
    top: 50%;
    transform: rotate( 45deg);
  }

  .open .mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #333;
    opacity: 0.7;
    display: block;
    z-index: 15;
  }

  .nav-list {
    width: 200px;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: -200px;
    transition: all .5s;
    opacity: 0;
    z-index: 100;
  }

  .open .nav-list {
    opacity: 1;
    left: 0;
  }

  .open .nav-list .header-menu {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background-color: #fff;
  }
  
  nav li a{
    color: #333;
  }
    
  nav .nav-list {
    flex-direction: column;
  }

  .nav-list li {
    width: 100%;
  }

  .section {
    padding: 0px;
    margin-bottom: 0px;
  }

  #news dt {
    width: 28%;
    text-align: right;
    padding-right: 2%;
    font-size: 18px;
  }

  .introduction {
    text-align: left;
    padding: 0 30px;
    font-size: 16px;
  }

  #about .features  {
    width: 60%;
    margin: 20px auto;
    padding: 10px;
  }

  #about .features h3 {
    text-align: center;
  }

  .fade-in p {
    font-size: 16px;
  }

  .box {
    flex-direction: column;
    padding-inline: 20px;
    align-items: center;
  }

  .case {
    flex-direction: column;
  }

  .case h3 {
    width: 100%;
    font-size: 18px;
    text-align: center;
  }

  #point .container {
  padding-bottom: 50px;
}

  

@media (max-width: 600px) {
  
  .nav-list li {
  width: 100% ;
  }

  .nav-list  a {
  font-size: 14px;
  padding: 7px 0;
  font-weight: 400;
  }

  header, footer {
    padding-top: 0px;
  }
  
  footer {
    padding-bottom: 0px;
  }

  .header-logo {
    height: 30px;
    gap: 8px;
  }
  
  .header-logo h1 {
    font-size: 16px;
    padding-block: 5px;
    }

  .header-logo P {
    font-size: 12px;
    padding-right: 15px;
    padding-block: 5px;
  }

  .toggle-btn {
    width: 30px;
    height: 30px;
  }
  
  .toggle-btn span {
    display: block;
    width: 50%;
    height: 3px;
    background-color: #fff;
    transition: all 0.5s;
    position: absolute;
    left: 25%;
  }

  .toggle-btn span:nth-child(1) {
    top: 30%;
  }
  
  .toggle-btn span:nth-child(2) {
    top: 50%;
  }
  
  .toggle-btn span:nth-child(3) {
    top: 70%;
  }

  .features h3 {
    font-size: 12px;
    width: 100%;
  }

  .news, .lesson, .features p {
    font-size: 12px;
    padding-inline: 20px;
  }

  h2 {
    font-size: 16px;
    letter-spacing: 0.3em;
    margin-bottom: 10px;
  }

  #news dl {
    flex-direction: column;
  }

  #news dt {
    width: 100%;
  }

  #news dd {
    width: 100%;
    font-size: 12px;
  }

  .news-date {
    text-align: center;
    font-size: 14px;
  }

  #news h3 a {
    font-size: 16px;
    text-align: center;
  }

  #about .features  {
    width: 90%;
    margin: 20px auto;
    padding: 10px;
  }

  .introduction p {
    font-size: 12px;
  }

  .fade-in p {
    font-size: 12px;
  }

  .box {
    font-size: 12px;
    gap: 5px;
  }
  
  .case {
    margin : 10px;
  }
  .case P {
    width: 100%;
    font-size: 12px;
  }

  .case h3 {
    width: 100%;
    font-size: 14px;
  }

  #point .container {
    padding-bottom: 30px;
  }

  footer {
    font-size: 9px;
  }
  
}
}