@charset "utf-8";

html {
  font-size: 100%;
}

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: #333;
  line-height: 1.7;
  background-color: #FAF8F4;
  letter-spacing: 4px;

}



a {
  text-decoration: none;
  color: #333;
}

img {
  max-width: 100%;

}

ul {
  list-style: none;
}

/* HEADER */
.header-logo {
  display: block;
  width: 250px;
  display: flex;
  align-items: center;
}

.header-nav ul {
  display: flex;
  font-size: 1.25rem;
}

.header-nav li {
  margin: 16px 40px;
}
.header-nav ul li a {
  display: inline-block; /* ←これ追加 */
  transition: transform .4s;
}

.header-nav ul li a:hover {
  transform: scale(1.1);
}
.header {
  background-color: rgba(255, 255, 255, 0.5); 
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
.header-inner {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 40px;
}

.toggle-menu-button {
  display: none;
}

/* TopButton */

.top-button {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 200px;
  height: 200px;
  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  position: fixed;
}

/* 👇 背景用レイヤー */
.top-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(../images/index/top_button.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  animation: rotate 20s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.top-button a {
    color: #8FAF9A;
    font-weight: 500;
}

.top-button:hover {
      transform: scale(1.1);
    transition-duration: .4s;
}

.top-button span {
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
}


/* FOOTER */

.copyright {
  text-align: center;
  background-color: #E8DCCB;
  font-size: 0.7rem;
}


@media (max-width: 960px) {

  /* HEADER */
  .header-inner {
    position: relative;
    padding: 0 20px;
  }

  .header-nav ul {
    display: block;
    text-align: center;
  }

  .header-nav li {
    margin-top: 20px;
  }





  .header-inner {
    height: 50px;
  }

  .header-logo {
    width: 100px;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #8FAF9A;
    padding-top: 30px;
    padding-bottom: 50px;
    display: none;
  }

  .toggle-menu-button {
    display: block;
    width: 44px;
    height: 34px;
    background-image: url(../images/index/menu.png);
    /* background-position: center;
    background-repeat: no-repeat;
    background-color: transparent; */
  }

  .header-nav.is-show {
    display: block;
  }

  /* TopButton */

  .top-button {
    position: fixed;
    bottom: -10px;
    right: 10px;
    width: 120px;
    font-size: 0.8rem;
  }
  .top-button span {
    font-size: 1.5rem;
    line-height: 0.7;
  }
}

