@charset "UTF-8";

.footer {
  position: relative;
  background-color: #fff;
  overflow: hidden;
}

/* 波部分 */
.footer-wave {
  position: relative;
  width: 100%;
  height: 120px;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* クレジット部分（波の下） */
.footer-credit-block {
  background-color: var(--yellow-color);
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-credit {
  margin: 0;
  font-size: 14px;
  color: #333;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .footer-wave {
    height: 80px;
  }
  .footer-credit-block {
    height: 60px;
  }
  .footer-credit {
    font-size: 13px;
  }
}

/* TOPへボタン */
.page-top {
  position: sticky;
  top: calc(100vh - 120px);
  margin: 0 120px 80px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: auto;
  z-index: 100;
  transition: all 0.3s ease;
  transform: rotate(9deg);
}

.page-top img {
  width: 100%;
  height: auto;
 }

.page-top:hover {
  transform: translateY(-5px) rotate(3deg);
}

/* スマホ */
@media screen and (max-width: 768px) {
  .page-top {
    width: 80px;
    height: auto;
    top: calc(100vh - 90px);
    margin: 0 80px 80px auto;
  }
}



/* ページ全体の挙動 */
html {
  scroll-behavior: smooth;
}