/* Official LINE contact, shared by the homepage and contact page. */
.line-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 26px;
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 28px;
  border: 1px solid #ded7e6;
  border-radius: 4px;
  background: #f6f4f8;
  color: #342e41;
  text-align: left;
}
.line-contact-copy { flex: 1 1 340px; min-width: 0; }
.line-contact-copy .line-contact-label {
  margin: 0 0 11px;
  color: #655384;
  font-family: var(--font-sans, sans-serif);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .17em;
}
.line-contact-copy > h2,
.line-contact-copy > h3 {
  margin: 0 0 11px;
  padding: 0;
  border: 0;
  color: #342e41;
  font-family: var(--font-serif, serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .01em;
}
.line-contact-copy > p:not(.line-contact-label) {
  margin: 0;
  color: #605b6b;
  font-size: 13px;
  line-height: 1.95;
}
.line-contact-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 52px;
  padding: 14px 21px;
  border: 1px solid #087f42;
  border-radius: 4px;
  background: #087f42;
  color: #fff;
  font-family: var(--font-sans, sans-serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}
.line-contact-button > span[aria-hidden="true"] { font-size: 17px; line-height: 1; }
.line-contact-button:visited { color: #fff; }
.line-contact-button:hover { background: #066a37; border-color: #066a37; color: #fff; }
.line-contact-button:active { background: #05592f; border-color: #05592f; color: #fff; }
.line-contact-button:focus-visible { outline: 3px solid #594573; outline-offset: 4px; }
@media (max-width: 619px) {
  .line-contact { flex-direction: column; align-items: stretch; gap: 21px; padding: 24px 20px; }
  .line-contact-copy { flex: 0 1 auto; }
  .line-contact-copy > h2,
  .line-contact-copy > h3 { font-size: 19px; }
  .line-contact-copy > p:not(.line-contact-label) { font-size: 12px; }
  .line-contact-button { width: 100%; min-height: 52px; padding-inline: 20px; }
}
/* Keep the adjacent existing form inside narrow contact-page viewports. */
@media (max-width: 619px) {
  .line-contact ~ .form-shell .form-submit .btn { min-width: 0; max-width: 100%; padding-inline: 16px; }
}
