@charset "UTF-8";

/* --------------------------------
  reset
-------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
html {
  font-size: 100%;
  /* ↑100％は「ほぼ16px」 */
}

/* --------------------------------
  body
-------------------------------- */
body{
  background-color: ;
  color: #333;
  font-size: 1rem;
  font-family: sans-serif;
  line-height: 1;
}

/* --------------------------------
  layout
-------------------------------- */
.container{
  width: min(92%, 1240px);
  margin: 0 auto;
}

/* --------------------------------
  header
-------------------------------- */
.header{
  width: 100%;
  height: 70vh;
  margin-bottom: 80px;
  background: url(../img) no-repeat center center / cover;
}
.header > .container{
  display: flex;
  align-items: center;
  padding: 40px 0;
}
h1{
  margin-right: auto;
}
/* --------------------------------
  nav
-------------------------------- */
.gnav ul{
  display: flex;
  justify-content: center;
}
.gnav li > a {
  display: block;
  padding: 10px 20px;
  font-size: 1.25em;
}
.gnav li > a:hover {
  background-color: #d7d7d7;
}

/* --------------------------------
  main
-------------------------------- */
section{
  margin-bottom: 50px;
}
h2{
  margin-bottom: 20px;
}
.website ul{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.website img{
  margin-bottom: 14px;
}
.website h3{
  text-align: center;
}
.banner ul{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.javascript ul{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

/* --------------------------------
  footer
-------------------------------- */
footer{
  background-color: #ababab;
  padding: 40px 0;
  text-align: center;
}
