@charset "UTF-8";


/* Common */


html {
  font-size: 100%;
  font-family: 'Lato', sans-serif;
}

body {
  color: #24292e;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

li {
  list-style: none;
}

.container {
  max-width: 960px;
  margin: 0 auto 130px auto;
  font-size: 0.9rem;
  padding: 0 4%;
}

.website-title {
  line-height: 1px;
}

.website-title a {
  display: block;
}

.section-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 65px;
}


/* Header */


#header {
  max-width: 960px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 270px;
  margin: 0 auto;
  padding: 0 4%;
}

#header ul {
  display: flex;
  padding: 10px 0;
}

#header li {
  font-size: 1rem;
  margin-left: 30px;
}

#header li a {
  color: #24292e;
}

#header li a:hover {
  opacity: 0.7;
}

#header li img.icon {
  margin-left: 30px;
}


/* Top Image */


#top-img {
  margin-bottom: 80px;
}

#top-img img {
  width: 100%;
  max-width: 1920px;
  height: 420px;
  object-fit: cover;
}


/* Mission */


#mission p {
  font-size: 1.2em;
}

#mission p+p {
  margin-top: 16px;
}

#pangolin-logo img {
  margin: 0 auto;
  display: block;
  text-align: center;
  padding-top: 12px;
}


/* Works */


#works ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 0px;
}

#works li {
  width: 31%;
  margin-bottom: 23px;
}

#works p {
  font-size: 20px;
  color: blue;
}

#works h3 i {
  font-size: 20px;
  color: #24292e;
}

#works h3 i:hover {
  opacity: 0.7;
}

.category {
  position: relative;
}

.category img {
  width: 100%;
  height: auto;
}

#works p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 8px 8px;
  margin: 0;
  font-size: 16px;
  color: white;
  background-color: rgba(36, 30, 35, 0.8);
  border-radius: 5px;
}


/* About */


#about-pic {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

#about-pic img {
  width: 14%;
  height: 14%;
  border-radius: 50%;
}

#about ul {
  margin-bottom: 30px;
}

#about li:first-child {
  margin-bottom: 30px;
}

#about p {
  text-align: justify;
  margin-bottom: 16px;
}

#about img {
  text-align: justify;
}


/* Footer */


#footer {
  background: #4c4948;
  padding: 16px 16px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer small {
  font-size: 14px;
  color: #eee;
}

footer li i {
  font-size: 26px;
  color: #eee;
}

footer ul {
  display: flex;
}

footer img {
  display: flex;
}

footer li+li {
  margin-left: 16px;
}


/* SP Common */


@media screen and (max-width: 600px) {
  .container {
    margin-bottom: 70px;
  }

  .website-title {
    margin-top: 20px;
  }

  .section-title {
    margin-bottom: 40px;
  }

  #works p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 8px 8px;
    margin: 0;
    font-size: 28px;
    color: white;
    background-color: rgba(36, 30, 35, 0.8);
    border-radius: 5px;
  }


 /* SP Header */


  #header {
    max-width: 100%;
    height: auto;
    flex-direction: column;
  }

  #header li {
    font-size: 0.8rem;
    margin-left: 20px;
  }

  #header li:first-child {
    margin-left: 0;
  }


  /* SP Works */

  
  #works ul {
    flex-direction: column;
  }

  #works li {
    width: 100%;
  }