.evl-line-contact {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #17242e;
  background: #f3faf5;
  border: 1px solid #c3dfcb;
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}
.evl-line-contact .evl-line-contact__copy,
.evl-line-contact .evl-line-contact__action {
  min-width: 0;
}
.evl-line-contact .evl-line-contact__copy {
  flex: 1;
}
.evl-line-contact .evl-line-contact__title {
  margin: 0 0 8px;
  padding: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
  color: #17242e;
}
.evl-line-contact .evl-line-contact__description {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
  color: #34463c;
  overflow-wrap: break-word;
  word-break: normal;
}
.evl-line-contact .evl-line-contact__action {
  display: flex;
  flex: 0 1 230px;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.evl-line-contact a.evl-line-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  padding: 4px;
  border: 0;
  background: transparent;
  text-decoration: none;
  flex-shrink: 0;
}
.evl-line-contact a.evl-line-contact__button img {
  display: block;
  width: 116px;
  height: 36px;
  max-width: none;
  margin: 0;
  border: 0;
  object-fit: contain;
}
.evl-line-contact a.evl-line-contact__button:focus-visible {
  outline: 3px solid #174f34;
  outline-offset: 3px;
  border-radius: 5px;
}
.evl-line-contact .evl-line-contact__note {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: #34463c;
  overflow-wrap: break-word;
  word-break: normal;
}
.evl-line-contact--page {
  margin: 0 0 32px;
}
.footer-new .evl-line-contact--footer {
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding: 20px;
  text-align: center;
}
.footer-new .evl-line-contact--footer .evl-line-contact__title {
  font-size: 17px;
}
.footer-new .evl-line-contact--footer .evl-line-contact__action {
  flex-basis: auto;
  width: 100%;
}
@media (max-width: 767px) {
  .evl-line-contact--page {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }
  .evl-line-contact--page .evl-line-contact__action {
    flex-basis: auto;
  }
  .evl-line-contact .evl-line-contact__title {
    font-size: 17px;
  }
}

/* Header and mobile contact entry; phone and form remain available. */
.header-new .header-buttons .evl-line-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 12px;
  box-sizing: border-box;
  color: #fff;
  background: #067c36;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 4px;
  font: 600 13px/1.2 'Noto Sans JP', sans-serif;
  letter-spacing: 0;
  text-decoration: none;
}
.header-new .header-buttons .evl-line-header i { font-size: 20px; }
.header-new .header-buttons .evl-line-header:hover { color: #fff; background: #06662e; }
.header-new .evl-line-header:focus-visible,
.header-new .evl-line-menu:focus-visible { outline: 3px solid #e3c893; outline-offset: 3px; }
.header-new .mobile-submenu .evl-line-menu { min-height: 44px; align-items: center; }
.header-new .mobile-submenu .evl-line-menu i { color: #53df85; font-size: 22px; }
.header-new .mobile-submenu .evl-line-menu span { color: #fff; font-size: 15px; font-weight: 500; }
@media (min-width: 768px) {
  .header-new .header-buttons .btn-phone span,
  .header-new .header-buttons .btn-message span {
    display: inline !important;
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .header-new .header-buttons .btn-phone,
  .header-new .header-buttons .btn-message { padding: 12px; white-space: nowrap; flex-shrink: 0; }
}
@media (min-width: 768px) and (max-width: 1250px) {
  .header-new .header-buttons .evl-line-header { gap: 0; padding: 10px; }
  .header-new .header-buttons .evl-line-header span { display: none; }
}

/* Extend the existing scroll-triggered phone/mail bar without changing its visibility logic. */
@media (max-width: 767px) {
  .sp-fixed-contact[data-evl-line-fixed] {
    background: rgba(255, 255, 255, .97);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .sp-fixed-contact[data-evl-line-fixed] .sp-fixed-contact-btn {
    box-sizing: border-box;
    flex: 1 1 0;
    min-width: 0;
    min-height: 52px;
    gap: 7px;
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .sp-fixed-contact[data-evl-line-fixed] .sp-fixed-mail {
    border-right: 1px solid rgba(0, 0, 0, .08);
  }
  .sp-fixed-contact[data-evl-line-fixed] .sp-fixed-line {
    background: #067c36;
    color: #fff;
  }
  .sp-fixed-contact[data-evl-line-fixed] .sp-fixed-line i,
  .sp-fixed-contact[data-evl-line-fixed] .sp-fixed-line svg {
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
  }
  .sp-fixed-contact[data-evl-line-fixed] .sp-fixed-line:hover {
    background: #06662e;
  }
  .sp-fixed-contact[data-evl-line-fixed] a:focus-visible {
    outline: 3px solid #71571f;
    outline-offset: -3px;
  }
  .sp-fixed-contact[data-evl-line-fixed] .sp-fixed-line:focus-visible {
    outline-color: #ffe39a;
  }
}
