* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  color: #333;
}

a {
  text-decoration: none;
}

.clear {
  clear: left;
}

/* navigation*/
header {
  height: 65px;
  width: 100%;
  background-color: rgba(34, 49, 52, 0.9);
  position :fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999;
  font-size: 18px;
  line-height: normal;
}

.nav {
  max-width: 1170px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

.nav ul {
  display: flex;
  gap: 10px;
  list-style: none;
  align-items: center;
  text-align: center;
}

.nav li {
  margin: auto;
  padding: 2px;
}

.logo {
  padding: 6px;
  border-radius: 6px;
  color: #fff;
  float: left;
}

.nav li a {
  line-height: 65px;
  padding: 0 25px;
  color: white;
  display: block;
  float: left;
  transition: all 0.5s;
}

.nav-right a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* top*/
.top-wrapper {
  padding: 80px 0 80px 0;
  background-image: url(https://ranjan.indo-it.com/IMG_3924.JPG);
  background-size: cover;
  color: #f08282;
  text-align: center;
}

.top-wrapper h1 {
  font-weight: 600px;
  opacity: 1.5;
  font-size: 44px;
  letter-spacing: 2px;
  margin: 20px 40px;
  padding: 10px;
}

.top-wrapper h2,h4 {
  opacity: 0.7;
  padding: 6px;
  margin: 2px 40px ;
}

.btn-wrapper {
  text-align: center;
  margin: 20px 0;
}

.btn-wrapper p {
  margin: 10px 0;
}

.signup {
  color: #e3e3e3;
  background-color: #239b76;
}

.facebook {
  color: #e3e3e3;
  background-color: #3b5998;
  margin-right: 10px;
}

.twitter {
  color: #e3e3e3;  
  background-color: #55acee;
}

.btn {
  padding: 8px 24px;
  color: white;
  display: inline-block;
  opacity: 0.8;
  border-radius: 4px;
  text-align: center;
}

.btn:hover {
  opacity: 1;
}

.fa {
  margin-right: 5px;
}

/* Projects col-3 */

.col-3 {
  width: 960px;
  max-width: 100%;
  margin: 0 auto 60px;
  border: 2px solid #e6e3e3;
  border-radius: 2px;
  text-align: center;
}

.col-3 h2 {
  color: #333;
  font-size: 38px;
  padding: 20px;
  margin: 20px 20px;
  font-weight: 700px;
}

.col-3 h4 {
  color: #333;
  font-size: 18px;
  padding: 20px;
  margin: 20px;
  font-weight: 400px;
}

.col-3 .lists {
  display: flex;
  gap: 12px;
  list-style: none;
}

.col-3 .list {
  flex: 1;
  color: #333;
  font-size: 22px;
  line-height: 1.75;
  counter-increment: number;
  position: relative;
  border: 1px solid #f8a3a3;
  border-radius: 10px;
  margin: 10px;
  padding: 20px;
}

.col-3 .list .logo_ttl {
  font-size: 20px;
  width: 100%;
  display: inline;
  text-decoration: underline;
}

.text-contents {
  margin: 10px auto;
  width: 80%;
 // display: none;
  font-size: 12px;
  color: #333;
}

.lesson-wrapper {
  width: 1200px;
  max-width: 100%;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  padding: 20px;
  text-align: center;
  align-content: center;
  justify-items: center;
  background-color: rgb(247, 243, 243); 
}

.lesson-wrapper h2 {
  font-size: 28px;
  margin: 0 auto;
  padding: 20px;
}

  /* .text-active */
.text-active {
  display: block;
}

/* certificates.CSS */


.slides {
  padding: 0;
}

.slide {
  display: none;
}

.active {
  display: block;
}

.slide img {
  width: 500px;
  height: auto;
  border-radius: 5px;
}

.index-btn-wrapper {
  font-size: 16px;
  margin-top: 20px;
}

.index-btn {
  display: inline-block;
  color: #4e90af;
  background-color: #e0f5ff;
  width: 40px;
  padding: 6px 0;
  margin: 0 5px;
  border-radius: 3px;
  cursor: pointer;
}

.index-btn:hover {
  color: #fff;
  background-color: #5cabd0;
}

/* react.CSS */

.red{
    background: yellow;
}

footer img {
  width: 125px;
}

footer p {
  color: #b3aeb5;
  font-size: 12px;
}


footer {
  text-align: center;
  padding: 20px 0;
  padding-bottom: 20px;
  color: #999;
  background-color: #222;
}

.copyright {
  align-items: center;
  justify-items: center;
}

.copyright p{
  margin-top: 4px;
  padding: 4px;
}

/* タブレット向けレイアウト */
@media all and (max-width: 992px) {
  .lesson {
    width: 50%;
    margin-bottom: 50px;
  }

  footer {
    text-align: center;
  }

  .top-wrapper h1 {
    font-size: 32px;
  }

  .heading h2 {
    font-size: 20px;
  }
}

/* スマホ向けレイアウト */
@media all and (max-width: 768px) {
  .nav ul {
    gap: 2px;
    text-align: center;
    font-size: 14px;
  }

  .lesson-wrapper {
    width: 420px;
  }
  
  .lesson {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .facebook {
    margin-bottom: 10px;
  }
  
  .top-wrapper {
    text-align: left;
  }

  /* header-rightクラスのdisplayをnoneに指定してください */
  .header-right {
    display: none;
  }
  
  /* menu-iconクラスのdisplayをblockに指定してください  */
  .menu-icon {
    display: block;
  }
  
  .top-wrapper h1 {
    font-size: 24px;
  }

  .top-wrapper p {
    font-size: 14px;
  }

  /* slide img  */
  .lesson-icon img {
    width: 100%;
  }

  .slide img {
    width: 100%;
  }
}

@media all and (max-width: 576px) {
  .nav ul li:first-child {
    display: block;
    justify-items: center;
    margin: 20px auto;
  }

  .nav li {
    display: none;
  }

 .nav li a{
  line-height: 2;
  background-color: #f65656;
  border-radius: 10px;

}

  .col-3 .lists {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .col-3 h2 {
    font-size: 24px;
  }
  
  .col-3 h4 {
    font-size: 14px;
  }

  .lesson-wrapper h2 {
    font-size: 24px;
  }
}