.kana-line-contact {
  color: var(--kana-v2-ink, #302a36);
  font-family: inherit;
}

.kana-line-contact__inline {
  padding: 12px 20px;
  background: #fffaf7;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
}

.kana-line-contact__inline a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  color: #28613b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kana-line-contact__launcher {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid #d4e6d9;
  border-radius: 999px;
  background: #fff;
  color: #216c39;
  box-shadow: 0 3px 16px rgba(34, 65, 43, .12);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.kana-line-contact__launcher:hover {
  background: #f1f9f3;
  color: #18542b;
}

.kana-line-contact__launcher svg {
  flex: none;
}

.kana-line-contact__launcher[hidden],
.kana-line-contact__dialog[hidden],
.kana-line-contact__dialog:not([open]) {
  display: none !important;
}

.kana-age-gate-open .kana-line-contact {
  visibility: hidden;
  pointer-events: none;
}

.kana-line-contact__dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(400px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 32px 26px 24px;
  overflow: auto;
  border: 1px solid #e0e8e1;
  border-radius: 20px;
  background: #fff;
  color: #302a36;
  box-shadow: 0 18px 60px rgba(20, 34, 25, .2);
  text-align: center;
}

.kana-line-contact__dialog::backdrop {
  background: rgba(32, 31, 36, .45);
}

.kana-line-contact__close {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #514b56;
  font-family: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.kana-line-contact__close:hover {
  background: #f3f5f3;
}

.kana-line-contact__eyebrow {
  display: block;
  margin: 10px 0 10px;
  color: #47644e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.kana-line-contact__dialog h2 {
  margin: 0 0 12px;
  color: inherit;
  font-size: 22px;
  line-height: 1.4;
}

.kana-line-contact__dialog p {
  margin: 0;
  color: #615c66;
  font-size: 14px;
  line-height: 1.7;
}

.kana-line-contact__qr {
  display: block;
  width: min(240px, 100%);
  height: auto;
  margin: 16px auto;
  background: #fff;
}

.kana-line-contact__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #087f35;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.kana-line-contact__action:hover {
  background: #09672d;
  color: #fff;
}

.kana-line-contact__dialog .kana-line-contact__note {
  margin-top: 12px;
  font-size: 12px;
}

.kana-line-contact a:focus-visible,
.kana-line-contact button:focus-visible {
  outline: 3px solid #7453a4;
  outline-offset: 3px;
}

@media (max-width: 749px) {
  .kana-line-contact__launcher {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 0 12px;
    font-size: 13px;
  }
}

@media print {
  .kana-line-contact {
    display: none !important;
  }
}
