/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 996;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 1.125rem;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 50px;
}
@media (max-width: 767.98px) {
	.scroll-top.active {
		bottom: 64px;
	}
}

/*--------------------------------------------------------------
# Bottom Menu Buttons
--------------------------------------------------------------*/
/* PC・大タブレット以上 */
@media (min-width: 767.98px) {
  .bottom-menu {
    position: fixed;
    right: 40px;
    bottom: 0;
    width: 420px;
    height: 36px;
    z-index: 990;
    display: flex;
    align-items: center;
    justify-content: space-around;
    transition: transform 0.3s ease-in-out 0s;
    overflow: visible;
    z-index: 4;
    /* アイコン */
    /* 表示 / 非表示 */
  }

  .bottom-menu a {
    position: relative;
    width: 140px;
    height: 40px;
    border-radius: 20px 20px 0 0;
    background-color: var(--accent-color);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    flex: 1;
    text-align: center;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
    transition: all 0.3s;
    overflow: visible;
  }

  .bottom-menu a:active {
    opacity: 0.4;
  }

  .bottom-menu a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -20px;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    -webkit-mask-image: url("/img/corner.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    mask-image: url("/img/corner.svg");
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    transform: rotate(180deg);
    overflow: visible;
    opacity: 1;
    z-index: 5;
  }

  .bottom-menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -20px;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    -webkit-mask-image: url("/img/corner.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    mask-image: url("/img/corner.svg");
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    transform: rotate(-90deg);
    overflow: visible;
    opacity: 1;
    z-index: 5;
  }

  .bottom-menu a:hover {
    filter: brightness(1.25);
    z-index: 6;
  }

  .bottom-menu .icon {
    font-size: 0.875rem;
    line-height: 1;
  }

  .bottom-menu small {
    font-size: 0.775rem;
    font-weight: 400;
    line-height: 1;
  }

  .bottom-menu.hide {
    transform: translateY(100%);
  }
}

/* SP・小タブレット */
@media (max-width: 768px) {
  .bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: color-mix(in srgb, var(--accent-color), transparent 25%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-around;
    padding: 5px 0 calc(4px + env(safe-area-inset-bottom));
    transition: transform 0.3s ease-in-out 0s;
    z-index: 990;
    /* メニュー項目 */
    /* アイコン */
    /* 表示 / 非表示 */
  }

  .bottom-menu a {
    flex: 1;
    text-align: center;
    color: #fff;
    text-decoration: none;
    line-height: 1.25;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 5px 0;
    transition: opacity 0.3s;
  }

  .bottom-menu a:active {
    opacity: 0.4;
  }

  .bottom-menu .icon {
    font-size: 0.91rem;
    line-height: 1;
  }

  .bottom-menu small {
    font-size: 0.68rem;
    font-weight: 400;
  }

  .bottom-menu.hide {
    transform: translateY(100%);
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  background-color: var(--background-color);
  color: var(--contrast-color);
  padding-top: 60px;
  font-size: 0.8rem;
}

.footer a {
  color: var(--default-color) !important;
}

.footer a:hover {
  color: var(--accent-color);
}

.footer .copyright {
  position: relative;
  padding: 1rem 0.5rem 5rem;
}

.footer .copyright p,
.footer .copyright .credits {
  margin: 0;
  font-size: 0.7rem;
}

.footer .btn-learn-more {
  background-color: transparent;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--accent-color);
  transition: 0.3s all ease-in-out;
  font-size: 0.8rem;
  color: var(--contrast-color);
}

.footer .btn-learn-more:hover {
  border-color: var(--accent-color);
  background-color: var(--accent-color);
}

.footer .widget .widget-heading {
  font-size: 0.925rem;
  color: var(--heading-color);
  margin-bottom: 1.25rem;
}

.footer .widget p {
  font-family: var(--heading-font);
  font-size: 0.85rem;
  line-height: 1.75;
}

.footer .widget ul li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer .widget ul li a {
  color: color-mix(in srgb, var(--heading-color), transparent 50%);
}

.footer .widget ul li a:hover {
  text-decoration: none;
  color: var(--heading-color);
}

.footer .widget .footer-blog-entry .date {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 0.7rem;
}

.footer .social-icons li {
  display: inline-block;
}

.footer .social-icons li a {
  display: inline-block;
  width: 44px;
  height: 44px;
  position: relative;
  border-radius: 50%;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .social-icons li a span {
  color: color-mix(in srgb, var(--heading-color), transparent 0%);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s all ease-in-out;
}

.footer .social-icons li a:hover {
  background: var(--accent-color);
}

.footer .social-icons li a:hover span {
  color: var(--contrast-color);
}

.footer .social-icons li:first-child a {
  padding-left: 0;
}

.footer .policies {
  margin: 1.5rem auto;
}

.footer .policies ul {
  margin: 0 auto;
  text-align: center;
}

.footer .policies ul>li {
  display: inline-block;
  font-size: 0.775rem;
  line-height: 1.25;
  padding-right: 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2666666667);
  margin-bottom: 0.75rem;
}

.footer .policies ul>li:last-child {
  padding-right: 0;
  border: none;
}