[data-line-block][hidden], [data-line-entry][hidden] { display: none !important; }

a.line-consult-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 24px;
  border: 1px solid #c8a76b;
  border-radius: 8px;
  background: #c8a76b;
  color: #07131d;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
a.line-consult-button:hover {
  transform: translateY(-2px);
  background: #ddc18a;
  color: #07131d;
  box-shadow: 0 12px 30px rgba(7, 19, 29, .15);
}
a.line-consult-button:focus-visible {
  outline: 3px solid #0abf53;
  outline-offset: 4px;
}
.line-consult-button svg { flex: 0 0 24px; width: 24px; height: 24px; }
a.line-consult-button--green {
  width: 100%;
  min-height: 62px;
  border-color: #06c755;
  border-radius: 10px;
  background: #06c755;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 12px 30px rgba(6, 199, 85, .18);
}
a.line-consult-button--green:hover { background: #05b94e; color: #fff; }
.line-result-hint {
  margin: 18px 0 0;
  color: #58656e;
  font-size: .875rem;
  line-height: 1.8;
}

.line-concierge-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #0b1b27;
}
.line-concierge-head > span {
  display: block;
  margin-bottom: 12px;
  color: #8c6835;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
}
.line-concierge-head h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.035em;
}
.line-concierge-head p {
  max-width: 38em;
  margin: 0;
  color: #64717a;
  line-height: 1.85;
}
.line-concierge-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 154px;
  gap: 26px;
  align-items: stretch;
}
.line-concierge-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(128, 96, 51, .22);
  border-radius: 10px;
  overflow: hidden;
  background: #fbfaf7;
}
.line-step {
  min-width: 0;
  padding: 20px 15px;
}
.line-step + .line-step { border-left: 1px solid rgba(128, 96, 51, .18); }
.line-step b {
  display: block;
  margin-bottom: 15px;
  color: #ae8549;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}
.line-step span {
  display: block;
  color: #1c2b35;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.65;
}
.line-qr {
  display: grid;
  place-items: center;
  align-content: center;
  padding: 12px;
  border: 1px solid rgba(128, 96, 51, .22);
  border-radius: 10px;
  background: #fff;
}
.line-qr img {
  display: block;
  width: 124px;
  height: 124px;
  image-rendering: crisp-edges;
}
.line-qr p {
  margin: 5px 0 0;
  color: #69747c;
  font-size: .67rem;
  letter-spacing: .03em;
}
.line-security-note {
  margin: 0;
  padding: 16px 18px 16px 44px;
  border-radius: 8px;
  background: #f4f3ef;
  color: #5a656d;
  font-size: .78rem;
  line-height: 1.75;
  position: relative;
}
.line-security-note::before {
  content: "i";
  position: absolute;
  left: 18px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid #a38250;
  border-radius: 50%;
  color: #8c6835;
  font-family: Georgia, serif;
  font-size: .7rem;
  font-style: italic;
  font-weight: 700;
}
.line-email-fallback {
  margin: -8px 0 0;
  color: #7a858d;
  font-size: .78rem;
  text-align: center;
}
.line-email-fallback a {
  color: #304d61;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .line-concierge-panel { gap: 22px; }
  .line-concierge-body { grid-template-columns: minmax(0, 1fr) 150px; }
}
@media (max-width: 620px) {
  .line-concierge-panel { gap: 20px; }
  .line-concierge-head h3 { font-size: 2rem; }
  .line-concierge-body { display: block; }
  .line-concierge-steps { grid-template-columns: 1fr; }
  .line-step { display: grid; grid-template-columns: 44px 1fr; align-items: center; padding: 15px 16px; }
  .line-step + .line-step { border-top: 1px solid rgba(128, 96, 51, .18); border-left: 0; }
  .line-step b { margin: 0; font-size: 1.15rem; }
  .line-step span br { display: none; }
  .line-qr { display: none; }
  a.line-consult-button { width: 100%; }
  a.line-consult-button--green { min-height: 60px; padding-inline: 16px; }
  .line-security-note { padding: 14px 14px 14px 40px; }
  .line-security-note::before { left: 15px; top: 14px; }
}

/* Mobile conversion: keep the LINE action within the first viewport of this section. */
@media (max-width: 620px) {
  .contact-copy {
    padding: 46px 24px 36px;
  }
  .contact-copy h2 {
    margin: 12px 0 18px;
    font-size: 2.55rem;
    line-height: 1.08;
  }
  .contact-copy > p {
    font-size: .9rem;
    line-height: 1.75;
  }
  .contact-points {
    margin-top: 22px;
    padding-top: 16px;
  }
  .contact-points div {
    margin: 7px 0;
    font-size: .82rem;
  }
  .contact-points div:nth-child(3) {
    display: none;
  }
  .contact-form.line-concierge-panel {
    padding: 38px 24px 32px;
    gap: 16px;
  }
  .line-concierge-head > span {
    margin-bottom: 7px;
  }
  .line-concierge-head h3 {
    margin-bottom: 8px;
    font-size: 1.82rem;
    line-height: 1.2;
  }
  .line-concierge-head p {
    font-size: .84rem;
    line-height: 1.7;
  }
  a.line-consult-button--green {
    min-height: 56px;
    font-size: .92rem;
  }
  .line-concierge-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .line-step {
    display: flex;
    min-height: 82px;
    padding: 11px 5px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
  }
  .line-step + .line-step {
    border-top: 0;
    border-left: 1px solid rgba(128, 96, 51, .18);
  }
  .line-step b {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1;
  }
  .line-step span {
    display: none;
  }
  .line-step::after {
    content: attr(data-short);
    color: #1c2b35;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.35;
  }
  .line-security-note {
    padding: 12px 12px 12px 37px;
    font-size: .69rem;
    line-height: 1.6;
  }
  .line-security-note::before {
    left: 13px;
    top: 12px;
  }
  .line-email-fallback {
    margin-top: -4px;
    font-size: .7rem;
  }
}

/* The mobile sticky action becomes a LINE handoff after diagnosis. */
@media (max-width: 620px) {
  .mobile-cta.is-line .mobile-cta-link {
    border-color: rgba(6, 199, 85, .42);
  }
  .mobile-cta.is-line .mobile-cta-badge {
    border-color: rgba(6, 199, 85, .62);
    color: #73e59d;
  }
  .mobile-cta.is-line .mobile-cta-arrow {
    border-color: rgba(255,255,255,.34);
    color: #fff;
    background: #06c755;
    box-shadow: 0 4px 12px rgba(6, 199, 85, .24);
  }
}
