@charset "utf-8";

html {
  font-size: 62.5%;
}

body {
  font-family: sans-serif;
  background-image: url(../img/hikari/3wave.png);
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: top;
  font-size: 1.4em;
  /* font-family: "Zen Old Mincho", serif; */
  background-color: #fafafa;
  max-width: 100%;
}

/* 上段で指定した10pxを14pxにしている（PC上）、レスポンシブで字を大きめに設定し直せる */

.site-menu ul {
  background-color: #c7c7c5;
}

.contents {
  background-image: url(../img/hikari/hikari-back.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  height: calc(100vh - 40px);
  align-items: center;
  width: 100%;
  position: relative;
  justify-content: center;
  margin-bottom: 300px;
}

.contents img {
  display: block;
  width: 35%;
  overflow: hidden;
  filter: drop-shadow(8px 8px 0px #647a7f);
}

.contents .phototext {
  margin: 0 0 0 100px;
  padding: 0;
}

.p1 {
  font-size: 20px;
  margin-bottom: 80px;
  line-height: 2;
}

.p2 {
  font-size: 17px;
  line-height: 1.8;
  padding-bottom: 50px;
}

.item-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 1rem;
  width: 40%;
  margin: 0 auto;
}

.item-list li {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.item-list p {
  margin-top: 20px;
}

.item-list img {
  display: block;
  max-width: 100%;
  height: 175px;
  object-fit: contain;
}

.right-border {
  background: #647a7f;
  position: relative;
  justify-content: space-around;
  align-items: center;
  margin: 5px auto;
  max-width: 500px;
  padding: 10px 30px;
  color: #ffffff;
  transition: 0.3s ease-in-out;
  font-weight: 200;
  position: relative;
  display: inline-block;
}

.list .right-border {
  position: relative;
  font-size: 25px;
}

.list .right-border::after {
  content: "";
  width: 38%;
  height: 1px;
  background: #fff;
  transition: all 0.5s;
  transform: scale(0, 0);
  transform-origin: right;
}

.list .right-border:hover::after {
  transform: scale(1, 1);
}

.start-center::after {
  position: absolute;
  top: 50%;
  left: 25%;
}

.btn-box2 {
  margin-top: 120px;
}

/* 光背景ここから---------- */
.top {
  position: relative;
}

.object-fit-img {
  object-fit: cover;
  object-position: bottom;
  font-family: "object-fit: cover; object-position: bottom;";
}

.bg_container {
  position: relative;
  width: 100%;
  height: 0;
  background-size: 0%;
}

.bg_container .image {
  position: absolute;
  width: 100%;
  /* 画像の幅を50%に縮小 */
  top: 0;
  left: 0;
  object-fit: cover;
  align-items: center;
  z-index: -100;
  animation: change-img-anim 1s infinite;
}

.bg_container .image:nth-of-type(1) {
  animation-delay: 0s;
}

.bg_container .image:nth-of-type(2) {
  animation-delay: 0.25s;
}

@keyframes change-img-anim {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

/* 光背景ここまで---------- */
h4 {
  padding-top: 80px;
  font-size: 20px;
  margin: 100px;
  display: flex;
  justify-content: center;
}

.howto p {
  font-size: 16px;
  margin: 100px;
  display: flex;
  justify-content: center;
  line-height: 2;
}

footer img {
  width: 100%;
  margin-top: 200px;
}
