* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Zen Maru Gothic', sans-serif;
  width: auto;
  color: #3f5563;
  letter-spacing: 0.05em;
  background-color: white;
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
}

section {
  padding-top: 40px;
}

section:nth-of-type(odd) {
  background-color: #feffff;
}

section:nth-of-type(even) {
  background-color: #fafbfc;
}

h3 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 40px;
}

a {
  transition: opacity 0.3s;
  text-decoration: none;
}

/*ヘッダー*/
header {
  position: fixed;
  width: 100%;
  box-sizing: border-box;
  background-color: #eaeff3;
  box-shadow: 0 5px 10px -6px #3f5563;
  padding: 15px 30px 20px;
  text-align: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  word-break: keep-all;
}

header p {
  font-size: 24px;
  font-weight: bold;
}

nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  list-style: none;
}

nav li a {
  font-size: 18px;
  font-weight: bold;
  display: block;
  transition: 0.3s;
  letter-spacing: 0.05em;
  color: #3f5563;
}

nav li a:hover:after {
  width: 100%;
}

nav li a:hover {
  color: rosybrown;
}

div.container {
  max-width: 900px;
  box-sizing: border-box;
  margin: 0 auto;
}

/* トップ */

section.top {
  padding-top: 130px;
  text-align: center;
  color: #b5d3d7;
  max-width: 900px;
  padding: 110px 2em 1em;
  box-sizing: border-box;
}

.top p {
  display: inline-block;
  color: #3f5563;
  text-align: left;
  margin-bottom: 30px;
}

.top h1 {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size: 48px;
  margin-bottom: 35px;
  margin-top: 35px;
}

.top img {
  width: 100%;
}

/* プロジェクト */

.project {
  text-align: center;
  margin-top: 2em;
}

.project h1 {
  padding-top: 120px;
  margin-top: -120px;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  margin-bottom: 1em;
}

.project img {
  margin-bottom: 25px;
  max-width: 400px;
}

.links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 3em;
}

.links a {
  display: block;
}

/* fotter */
footer {
  color: #fafbfb;
  background: #8ea2af;
  text-align: center;
  padding: 30px;
  clear: both;
}
footer a {
  color: #fafbfb;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
footer ul li {
  margin: 0;
  padding: 0 20px;
}
footer .copyright {
  margin: 0;
  padding: 30px 0 0 0;
}
