html {
  font-family: "Zen Maru Gothic", serif;
  line-height: normal;
}
.nav__sp {
  visibility: hidden;
}
:root {
  --text--: rgba(25, 25, 112, 1);
}
img {
  width: 100%;
  object-fit: cover;
  overflow: hidden;
}
.inner {
  max-width: 1141px;
  margin: auto;
  padding: 20px;
}
.header {
  height: 50px;
  width: 100%;
  position: fixed;
  z-index: 100;
  background-color: #fff;
}
.pc__ul {
  font-size: 20px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 12px;
}
.pc__li:first-of-type,
.pc__li:nth-of-type(2) {
  margin-right: 50px;
}
.img__box {
  width: 100%;
  height: 600px;
  overflow: hidden;
  position: relative;
  top: 50px;
  left: 0;
  margin-bottom: 100px;
}
.img__box1,
.img__box2,
.img__box3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 10;
  opacity: 0;
  animation-name: fade;
  animation-duration: 15s;
  animation-iteration-count: infinite;
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    z-index: 0;
  }
}
.img__box1 {
  background-image: url(../img/top1.jpg);
}
.img__box2 {
  background-image: url(../img/top2.jpg);
  animation-delay: 5s;
}
.img__box3 {
  background-image: url(../img/top3.jpg);
  animation-delay: 5s;
}
.name {
  position: absolute;
  z-index: 15;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.name__h1 {
  font-size: 50px;
  font-weight: bold;
}
.name__p {
  font-size: 20px;
}
.about {
  position: relative;
  background-color: rgba(255, 255, 255, 0.5);
}
.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../img/about.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.7;
  z-index: -1;
}
.about__h2 {
  font-size: 40px;
  text-align: center;
  font-weight: bold;
  color: var(--text--);
  padding-top: 20px;
}
.about__span {
  display: inline-block;
  width: 100px;
  height: 2px;
  background-color: var(--text--);
  vertical-align: middle;
  margin: 0 30px;
}
.about__p {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #191970;
  margin-bottom: 30px;
}
.about2 {
  display: flex;
  padding-bottom: 30px;
}
.about__img {
  border-radius: 50%;
  width: 400px;
  margin: auto;
}
table {
  font-size: 18px;
  width: 650px;
  margin: auto;
}
.about__tr,
.about__td2 {
  border-bottom: solid 1px;
}
.about__th {
  width: 185px;
}
.about__th,
.about__th2,
.about__td,
.about__td2 {
  padding: 10px 0;
}
.top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 25px;
  border-radius: 50px;
  background-color: #000;
  color: #fff;
  width: 40px;
  text-align: center;
  padding-bottom: 4px;
  opacity: 0;
  transition: opacity 0.5s;
}

.products {
  margin-top: 30px;
  margin-bottom: 30px;
}
.products__h2 {
  font-size: 40px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 5px;
}
.products__span {
  display: inline-block;
  width: 100px;
  height: 2px;
  background-color: #000;
  vertical-align: middle;
  margin: 0 30px;
}
.products__p {
  font-size: 20px;
  text-align: center;
  margin-bottom: 30px;
}
.products__ul {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  row-gap: 40px;
  justify-content: space-around;
  margin-left: 20px;
}
.products__img {
  height: 240px;
  width: 100%;
  border: solid 5px #ff69b4;
  border-radius: 20px;
  border-style: double;
}
.products__p2 {
  text-align: center;
  font-size: 18px;
  padding-top: 10px;
}
.products__li {
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.8s;
  flex-basis: calc(100% / 3.3);
  text-align: center;
}
.products__li.show {
  opacity: 1;
  transform: translateY(0);
}
.contact {
  position: relative;
  background-color: rgba(255, 255, 255, 0.5);
  padding-top: 30px;
  padding-bottom: 30px;
}
.contact::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../img/contact.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.9;
  z-index: -1;
}
form {
  width: 650px;
  margin: auto;
  font-size: 16px;
}
.c-form__input {
  width: 500px;
  background-color: #fff;
  border: solid 1px;
  padding-left: 20px;
}
#field-name,
#field-email {
  height: 40px;
}
#field-message {
  height: 250px;
  padding-top: 10px;
}
dt {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}
dt:first-of-type,
dt:nth-of-type(2) {
  align-items: center;
}
dt:last-of-type {
  padding-top: 40px;
}
.form {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
}
.form2 {
  background-color: #00ffff;
  width: 200px;
  height: 50px;
  transition: all 0.5s;
  transition: color 0.5s, border 1s;
}
@keyframes border-draw {
  0% {
    border: solid 2px transparent;
  }
  25% {
    border-top: solid 2px #ff0000;
  }
  50% {
    border-top: solid 2px #ff0000;
    border-right: solid 2px #ff0000;
  }
  75% {
    border-top: solid 2px #ff0000;
    border-right: solid 2px #ff0000;
    border-bottom: solid 2px #ff0000;
  }
  100% {
    border: solid 2px #ff0000;
  }
}
.form2:hover {
  color: #ff0000;
  animation: border-draw 1s forwards;
}
footer {
  height: 50px;
  font-size: 18px;
  text-align: center;
  padding-top: 10px;
}
@media screen and (max-width: 1140px) {
  .about2 {
    display: block;
  }
  .about__img {
    width: 250px;
    display: flex;
    margin-bottom: 20px;
  }
  .products__li {
    flex-basis: 45%;
  }
}
@media screen and (max-width: 767px) {
  .inner {
    padding: 0 12px;
  }
  .nav__pc {
    visibility: hidden;
  }
  .header {
    width: 0;
    height: 0;
  }
  .nav__sp {
    visibility: visible;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 20;
    width: 100%;
    max-width: 200px;
    height: 100vh;
    transform: translateX(100%);
    transition: all 0.5s;
    background-color: rgba(25, 25, 25, 0.7);
    color: #fff;
    font-size: 20px;
    padding-top: 80px;
    padding-left: 35px;
    font-weight: bold;
  }
  .sp__li {
    padding-top: 20px;
  }
  .button {
    position: fixed;
    top: 0;
    right: 10px;
    z-index: 100;
    width: 35px;
    height: 40px;
  }
  .btn1 {
    position: absolute;
    top: 10px;
    right: 0;
    height: 2px;
    width: 35px;
    background-color: #000;
    transition: all 0.5s;
  }
  .btn2 {
    position: absolute;
    top: 19px;
    right: 0;
    height: 2px;
    width: 35px;
    background-color: #000;
    transition: all 0.5s;
  }
  .btn3 {
    position: absolute;
    bottom: 10px;
    right: 0;
    height: 2px;
    width: 35px;
    background-color: #000;
    transition: all 0.5s;
  }
  .buttonIsOpen.btn1 {
    transform: rotate(45deg);
    top: 20px;
    background-color: #fff;
    height: 3px;
  }
  .buttonIsOpen.btn2 {
    opacity: 0;
  }
  .buttonIsOpen.btn3 {
    transform: rotate(-45deg);
    bottom: 17px;
    background-color: #fff;
    height: 3px;
  }
  .img__box {
    height: 400px;
    top: 0;
    margin-bottom: 30px;
  }
  .img__box1,
  .img__box2,
  .img__box3 {
    height: 400px;
  }
  .about__h2,
  .products__h2 {
    font-size: 25px;
  }
  .about__p {
    font-size: 18px;
  }
  .about__span,
  .products__span {
    width: 50px;
  }
  table {
    width: 90%;
    font-size: 14px;
  }
  .about__tr,
  .about__td2 {
    display: grid;
  }
  .about__th2 {
    display: none;
  }
  .about__th,
  .about__th2 {
    padding: 0;
    padding-top: 5px;
  }
  .about__td,
  .about__td2 {
    padding: 0;
  }
  .top {
    visibility: hidden;
  }
  .products__ul {
    margin: 0;
  }
  .products__li {
    flex-basis: 100%;
  }
  .products__p {
    font-size: 16px;
    margin-bottom: 15px;
  }
  form {
    width: 93%;
    margin: auto;
  }
  dt {
    display: block;
  }
  #field-name,
  #field-email,
  #field-message {
    width: 100%;
    margin-top: 5px;
    padding-left: 5px;
  }
  dt:last-of-type {
    padding-top: 20px;
  }
}
