@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

img {
  width: 100%;
  vertical-align: bottom;
}

/* body */
body {
  color: #555;
  background-color: #f5fafd;
}

/* header */
header {
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: #f5fafd;
  padding: 3px 0;
}

header a :hover {
  opacity: 0.5;
}

.inner-header {
  width: 90%;
  margin: 30px auto;
  justify-content: space-between;
  align-items: end;
}

.inner-header h1 {
  font-size: 22px;
  color: #fff;
  text-shadow: 2px 2px 3px #777;
}

.inner-header nav ul {
  justify-content: space-between;
  gap: 20px;
}

.inner-header nav ul a {
  font-size: small;
  color: #999;
}

.inner-header nav ul a:hover {
  opacity: 0.5;
}

.ham {
  width: 35px;
  height: 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  position: fixed;
  top: 40px;
  right: 40px;
}

.ham span {
  display: block;
  width: 100%;
  height: 1px;
  border-radius: 1px;
  background-color: #555;
  transition: 1s;
}

/* スマホ */
.navi {
  width: 100%;
  height: 100vh;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 1s;
  pointer-events: none;
}

.navi.open {
  opacity: 1;
  pointer-events: all;
}

.ham.open span:first-child {
  transform: translateY(11px) rotate(45deg);
}

.ham.open span:nth-child(2) {
  opacity: 0;
}

.ham.open span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.pc-navi {
  display: none;
}

/* main */
/* 上・部分 */
.main01 {
  width: 90%;
  margin: 0 auto;
}

.main01 h2 {
  font-size: small;
  font-weight: bold;
  text-align: left;
}

details {
  font-size: 11px;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-bottom: 50px;
  text-align: center;
}

/* 下・部分 */
.main02 {
  width: 90%;
  margin: 0 auto;
  gap: 40px;
}

.main02 div {
  width: 100%;

  padding-bottom: 100px;
}

.main02 img {
  opacity: 0.8;
}

.m-item {
  align-items: end;
}

.p-color {
  color: blueviolet;
}

.m-item p {
  font-size: 11px;
}

.p-text {
  font-size: 10px;
}

/* footer */
footer {
  width: 100%;
  display: flex;
}

footer div {
  width: fit-content;
  text-align: center;
  margin: 0 auto;
}

footer p {
  font-size: small;
  margin-bottom: 50px;
  border-bottom: 1px solid #555;
}

/* レスポンシブ */
@media (min-width: 767px) {
  .pc-navi {
    display: block;
  }

  .pc-navi ul {
    display: flex;
    gap: 20px;
  }

  .ham {
    display: none;
  }

  header {
    padding: 15px;
    background-color: #f5fafd;
  }

  .inner-header {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }

  .inner-header h1 {
    font-size: 32px;
  }

  .inner-header nav ul {
    gap: 50px;
  }

  .inner-header nav ul a {
    font-size: medium;
  }

  .navi {
    display: block;
  }

  .navi ul {
    display: flex;
    gap: 5px;
  }

  .navi ul li {
    font-family: sans-serif;
  }

  .navi ul li a {
    display: block;
    padding: 5px 15px;
    opacity: 1;
  }

  .navi ul a:hover {
    opacity: 0.5;
  }

  .pc-navi ul li {
    font-family: sans-serif;
  }

  .main01 {
    width: 90%;
    margin: 0 auto;
  }

  .main01 h2 {
    font-size: 25px;
    font-weight: bold;
    text-align: right;
    margin-top: 100px;
    margin-bottom: 20px;
  }

  details {
    font-size: large;
    font-weight: bold;
    padding-top: 50px;
    padding-bottom: 300px;
    text-align: right;
  }

  .main02 {
    width: 70%;
    display: flex;
    margin: 0 auto;
    gap: 40px;
  }

  .main02 div {
    width: 50%;
    display: flex;
    padding-bottom: 100px;
  }

  .main02 img {
    opacity: 0.8;
  }

  .m-item {
    align-items: end;
  }

  .p-color {
    color: blueviolet;
  }

  .m-item p {
    font-size: 14px;
  }

  .p-text {
    font-size: 12px;
  }

  footer {
    width: 100%;
    display: flex;
  }

  footer div {
    width: fit-content;
    text-align: center;
    margin: 0 auto;
  }

  footer p {
    font-size: medium;
    margin-bottom: 50px;
    border-bottom: 1px solid #555;
  }
}
