/* common */

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: normal;
  line-height: 1.6;
}

p {
  margin: 0;
}

img {
  vertical-align: bottom;
}

.container {
  margin: 0 16px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.5;
}

button {
  background: inherit;
  transition: opacity 0.3s;
  cursor: pointer;
}

button:hover {
  opacity: 0.5;
}

/* header */

header {
  background: white;
  padding: 16px 0;
  position: fixed;
  top: 0;
  width: 100%;
  transition: background-color 0.3s, box-shadow 0.3s;
  z-index: 1;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header ul {
  display: flex;
}

header li a {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  text-align: center;
}

header li a i {
  font-size: 18px;
}

header li + li {
  margin-left: 8px;
}

header form {
  display: none;
}

header input,
header button {
  all: unset;
}

header input {
  border-bottom: 1px solid #aaa;
  padding: 4px;
  width: 300px;
}

header button {
  cursor: pointer;
}
#to_top {
  position: fixed;
  bottom: 16px;
  right: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

/* hero */

.hero {
  /* height: 800px; */
  width: 700px;
  margin: 80px auto 0;
}

.hero img {
  width: 700px;
  height: 700px;
  /* margin-top: 80px; */
  /* object-fit: cover; */
  /* position: absolute; */
  /* opacity: 0; */
  transition: opacity 0.5s;
}

.hero img.current {
  opacity: 1;
}

/* section  */

.remons {
  margin-top: 20px;
  position: relative;
  width: 700px;
  height: 700px;
  overflow: hidden;
}

.remon {
  position: absolute;
  top: 0;
}

.hero .remon-srice1 {
  left: -300px;
  top: 300px;
  animation: spin 19s infinite linear;
}

.hero .remon-srice2 {
  width: 600px;
  height: 600px;
  right: -200px;
  top: -200px;
  animation: spin 20s infinite linear;
}

@keyframes spin {
    100% {
      transform: rotate(360deg);
    }
}

/* ハートのループアニメーション */
@keyframes loop_animation_right2 {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes loop_animation_right {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

.harts2 {
animation: loop_animation_right2 24s linear infinite;
  white-space: nowrap;
}

.harts1 {
  animation: loop_animation_right 24s linear infinite;
  white-space: nowrap;
}
/* ここまで */

/* buble */
.bubble {
  animation: floating-y 3s ease-in-out infinite alternate-reverse;
}
@keyframes floating-y {
  0% {
    transform: translateY(-2.5%);
  }
  100% {
    transform: translateY(2.5%);
  }
}

/* ここまで */

.hero .inumaru {
  top: 110px;
}

/* products */

.products {
  padding: 80px 0 0;
}

.products ul {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.products + .products {
  padding-top: 80px;
}

.products li {
  width: calc((100% - 12px) / 6);
}

.products li img {
  width: 100%;
}

.products li h3 {
  font-size: 16px;
  margin-top: 8px;
}

.products li a {
  display: block;
}

.products .more {
  display: block;
  width: 70%;
  line-height: 48px;
  border: 2px solid #333;
  text-align: center;
  margin: 32px auto 0;
}

/* footer */

footer {
  margin-top: 80px;
  background: #4c4948;
  padding: 16px 0;
  color: #eee;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer small {
  font-size: 16px;
}

footer li i {
  font-size: 24px;
}

footer ul {
  display: flex;
}

footer li + li {
  margin-left: 8px;
}
.list-item{
    opacity: 1;
}
.list-item.is-hidden {
    opacity: 0;
    height: 0;
    margin: 0;
}
.list-btn {
    margin-top: 20px;
}
.list-btn.is-btn-hidden{
  display:none;
}
.list-btn button {
    background-color: #333;
  color:#fff;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    height: 32px;
    line-height: 32px;
    width: 120px;
}
/* medium screen */

@media (min-width: 600px) {
  .products li {
    width: calc((100% - 60px) / 6);
  }
}

/* large screen */

@media (min-width: 800px) {
  .container {
    width: calc(100% - 60px);
    margin: 0 auto;
    max-width: 1260px;
  }

  header form {
    display: block;
  }
}
