.single-column .p-column__article .l-column {
  grid-template-columns: 100%;
}

.p-column-fixed-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
}

.p-column-fixed-cta__pc {
  display: grid;
  width: 128px;
  aspect-ratio: 1;
  place-content: center;
  justify-items: center;
  gap: 8px;
  color: #fff;
  background: #ed861b;
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(59, 33, 8, 0.22);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.p-column-fixed-cta__pc .p-column-fixed-cta__icon {
  width: 1.5em;
}

.p-column-fixed-cta__icon {
  display: block;
  width: 1.35em;
  aspect-ratio: 1;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.p-column-fixed-cta__icon--phone {
  -webkit-mask-image: url(../images/common/icon-phone.svg);
  mask-image: url(../images/common/icon-phone.svg);
}

.p-column-fixed-cta__icon--mail {
  -webkit-mask-image: url(../images/common/icon-mail.svg);
  mask-image: url(../images/common/icon-mail.svg);
}

.p-column-fixed-cta__sp {
  display: none;
}

@media screen and (max-width: 767px) {
  body:is(.post-type-archive-column, .single-column) .l-safe-area {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .p-column-fixed-cta {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
  }

  .p-column-fixed-cta__pc {
    display: none;
  }

  .p-column-fixed-cta__sp {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 8px;
    width: 100%;
    max-width: 500px;
    min-height: 66px;
    margin-inline: auto;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(237, 134, 27, 0.45);
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(59, 33, 8, 0.2);
  }

  .p-column-fixed-cta__sp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    padding: 8px 6px;
    border: 1px solid #ed861b;
    border-radius: 9px;
    color: #ed861b;
    font-size: clamp(11px, 3.4vw, 14px);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }

  .p-column-fixed-cta__sp-link--mail {
    color: #fff;
    background: #ed861b;
  }
}

@media (hover: hover) and (pointer: fine) {
  .p-column-fixed-cta__pc:hover {
    color: #ed861b;
    background: #fff;
    border-color: #ed861b;
  }
}
