@charset "utf-8";

@media not all and (max-width: 767px) {
  .p-footer-fix {
    display: none;
  }
}

.p-footer-fix {
  --tcd-footer-fix-font-color: #ffffff;
  --tcd-footer-fix-bg-color: #000000;
  --tcd-footer-cta-text-color: #000000;
  position: relative;
  z-index: 1000;
  pointer-events: none;
}

body.start_scroll .p-footer-fix {
  pointer-events: auto;
}


.p-footer-fix-nav {
  position: fixed;
  z-index: 100;
  inset: auto 0 0;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.2);
	opacity:0;
	transition: opacity 0.5s ease;
}
body.start_scroll .p-footer-fix-nav {
  opacity:1;
}

.p-footer-fix-spacer {
  height: 50px;
}


/* アイコンメニュー */
.p-footer-fix-nav-list {
  display: flex;
  height: 50px;
  color: var(--tcd-footer-fix-font-color);
  background: var(--tcd-footer-fix-bg-color);
  font-size: 10px;
}

.p-footer-fix-nav-list a {
  color:inherit !important;
}

.p-footer-fix-nav-item {
  flex: 1;
  display: grid;
  place-content: center;
  place-items: center;
  row-gap: 7px;
  color: inherit;
  text-align: center;
}

.p-footer-fix-nav-item :where(svg, img) {
  font-size: 14px;
  width: 3em;
  height: 1em;
  fill: currentColor;
  object-fit: contain;
}

/* modal */
.p-footer-fix-share {
  position: fixed;
  inset: auto 0 0;
  z-index: calc(infinity);
  background: #ffffff;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.5);
  transition-property: transform, box-shadow;
  transition-duration: 0.2s;
  transition-timing-function: ease;
}

.p-footer-fix-share:not(.is-open) {
  pointer-events: none;
  transform: translateY(100%);
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0);
}

body:has(.p-footer-fix-share.is-open) .p-footer-fix-share-overlay {
  position: fixed;
  z-index: calc(infinity);
  inset: 0;
}

.p-footer-fix-share-content {
  display: grid;
  align-content: start;
  row-gap: 20px;
}

.p-footer-fix-share-label {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: #000000;
  margin-top: 20px;
}

.p-footer-fix-share-close {
  display: grid;
  place-items: center;
  width: 100%;
  height: 50px;
  border-top: 1px solid #dddddd;
  font-size: 20px;
  margin-top: 20px;
}


/* cta image */
.p-footer-fix-cta-image {
  position: fixed;
  z-index: 100;
  inset: auto 20px 20px;
  width: fit-content;
  margin: auto;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.2);
	opacity:0;
	transition: opacity 0.5s ease;
}
body.start_scroll .p-footer-fix-cta-image {
  opacity:1;
}

.p-footer-fix-cta-close {
  position: absolute;
  inset: -0.75em -0.75em auto auto;
  display: grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  font-size: 20px;
  color: #fff;
  background: rgba(0, 0, 0, .8);
  border-radius: 50%;
}

/* cta text */
.p-footer-fix-cta-text {
  position: fixed;
  z-index: 100;
  inset: auto 0px 0px;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-columns: 1fr auto;
  height: 65px;
  font-size: 12px;
  font-weight: 600;
  padding: 15px 20px;
  background: var(--tcd-footer-cta-text-color);
	opacity:0;
	transition: opacity 0.5s ease;
}
body.start_scroll .p-footer-fix-cta-text {
  opacity:1;
}

.p-footer-fix-cta-text-label {
  align-self: center;
  color: #fff;
  line-height: 1.6;
  max-height: 3.2em;
  margin-block: -0.3em;
  overflow: hidden;
}

.p-footer-fix-cta-text-button {
  display: grid;
  place-items: center;
  color: var(--tcd-footer-cta-text-color);
  padding-inline: 1.5em;
  background: #ffffff;
  height: 35px;
  border-radius: 5px;
  white-space: nowrap;
}