/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  background-color: var(--background-color);
  color: color-mix(in srgb, var(--heading-color), transparent 40%);
  padding: 60px 0;
  font-size: 0.78rem;
}

.footer a {
	color: color-mix(in srgb, var(--heading-color), transparent 40%);
  //color: var(--default-color);
}

.footer a:hover {
  color: var(--default-color);
}
.footer a.btn.rounded-pill:hover {
	color: var(--bs-white) !important;
}

.footer a#footer-logo {
	display: inline-block;
	border-radius: 16px;
	padding: 1rem 1.5rem !important;
	background-color: rgba(16,48,68,1);
	//background-color: rgba(0, 0, 0, .25);
}
.footer a#footer-logo:hover {
	-webkit-filter: drop-shadow(0px 0px 4px rgba(0,0,0,.5)) brightness(1.5);
  -moz-filter: drop-shadow(0px 0px 4px rgba(0,0,0,.5)) brightness(1.5);
  -ms-filter: drop-shadow(0px 0px 4px rgba(0,0,0,.5)) brightness(1.5);
  filter: drop-shadow(0px 0px 4px rgba(0,0,0,.5)) brightness(1.5);
	//background-color: var(--btn-hover-background-color);
}

.footer .copyright {
	color: var(--default-color);
  margin-top: 50px;
  position: relative;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p,
.footer .copyright .credits {
	color: var(--default-color);
  margin: 2px 0;
}

.footer .btn-learn-more {
  background-color: var(--accent-color);
  border-radius: 30px;
  padding: 8px 30px;
  border: 2px solid transparent;
  transition: 0.3s all ease-in-out;
  font-size: 14px;
  color: var(--contrast-color) !important;
}

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

.footer .widget .widget-heading {
  font-size: 15px;
  color: var(--heading-color);
  margin-bottom: 20px;
}

.footer .widget ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}

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

.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 40%);
  font-size: 0.78rem;
}

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

.footer .social-icons li a {
  display: inline-block;
  width: 40px;
  height: 40px;
  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 .footer-subscribe form {
  position: relative;
}

.footer .footer-subscribe .form-control {
  font-size: 0.81rem;
  height: 42px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 40%);
  background: none;
  color: var(--heading-color);
  padding-right: 40px;
}

.footer .footer-subscribe .form-control:focus {
  border-color: color-mix(in srgb, var(--default-color), transparent 10%);
  box-shadow: none;
}

.footer .footer-subscribe .form-control::placeholder {
  color: color-mix(in srgb, var(--heading-color), transparent 60%);
}

.footer .footer-subscribe .btn-link {
  padding: 0;
  margin: 0;
  font-size: 1.5rem;
  background-color: none;
  border-color: none;
  position: absolute;
  line-height: 0;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  top: 20px;
  right: 10px;
  transform: translateY(-50%) rotate(0deg);
}

.footer .footer-subscribe .btn-link:hover,
.footer .footer-subscribe .btn-link:focus,
.footer .footer-subscribe .btn-link:active {
  text-decoration: none;
}


/*--------------------------------------------------------------
# SP Bottom Menu Buttons
--------------------------------------------------------------*/
@media (min-width: 767.98px) {
  .bottom-menu {
    display: none !important;
  }
}
.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #b45f06bb;
  -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)); /* ← iPhone Safari対応 */
  /*border-top: 1px solid #ddd;*/
  transition: transform .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 .2s;
}

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

/* アイコン（絵文字を仮置き、SVGに置換も可能） */
.bottom-menu .icon {
  font-size: .91rem;
  line-height: 1;
}
.bottom-menu small {
  font-size: .68rem;
  font-weight: 400;
}

/* 表示/非表示 */
.bottom-menu.hide {
  transform: translateY(100%);
}