.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 24px;
  align-items: start;
}

.contact-box {
  background: linear-gradient(135deg, #fff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.contact-intro {
  margin-bottom: 24px;
}

.contact-intro h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
  margin: 0;
  color: var(--navy);
}

.contact-intro p,
.contact-side p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.properties-group {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: #fff;
}

.properties-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.properties-header h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
}

.properties-header p {
  margin: 4px 0 0;
  color: var(--muted);
}

.property-list {
  display: grid;
  gap: 14px;
}

.property-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  margin: 0;
  background: var(--bg);
}

.property-item legend {
  padding: 0 8px;
  font-weight: 900;
  color: var(--navy);
}

.remove-property-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  padding: 5px 10px;
  font-weight: 800;
}

.add-property-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.field input[type="file"] {
  padding: 11px;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.required {
  font-size: 12px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 2px 7px;
  margin-left: 6px;
}

.submit-btn {
  border: 0;
  cursor: pointer;
  width: fit-content;
}

.form-message {
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-weight: 800;
}

.form-message-success {
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #067647;
}

.form-message-error {
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
}

.contact-side {
  display: grid;
  gap: 16px;
}

.contact-side .content-card {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 26px;
  }
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .submit-btn {
    width: 100%;
  }

  .contact-box {
    padding: 22px;
    border-radius: 24px;
  }

  .properties-header {
    display: grid;
  }

  .add-property-btn {
    width: 100%;
  }
}

.contact-box,.property-item,.company-overview .info-table,.simple-flow article{border-color:var(--line)}
.contact-intro,.company-message{background:linear-gradient(135deg,#fff9fb,#fde8ef)}
.property-item legend,.company-message h2,.contact-intro h2{color:var(--navy)}
.submit-btn,.contact-side .btn,.simple-flow span{background:linear-gradient(135deg,#7b2648,#a63f68);color:#fff}
.company-photo,.contact-side .content-card{box-shadow:0 18px 44px rgba(123,38,72,.12)}
.contact-hero,.company-hero{background:linear-gradient(135deg,#4a172b,#7b2648)}

.hero-premium {
  background: #182433;
}

.hero-bg-image {
  background-size: cover;
  background-position: center right;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 31, 45, .94) 0%, rgba(18, 31, 45, .78) 44%, rgba(18, 31, 45, .22) 100%),
    linear-gradient(180deg, rgba(18, 31, 45, .12), rgba(18, 31, 45, .5));
}

.badge-light {
  border-radius: 6px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .1);
}

.badge-light:before {
  width: 28px;
  height: 2px;
}

.consultation-panel {
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  padding: 18px;
}

.consultation-summary {
  background: linear-gradient(135deg, #10243a, #1d3d5f);
  border-radius: 16px;
  color: #fff;
  padding: 24px;
}

.consultation-summary span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  margin-bottom: 14px;
}

.consultation-summary strong {
  display: block;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.35;
}

.consultation-summary p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .82);
}

.quiet-fee-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.quiet-fee-note small,
.quiet-fee-note strong {
  display: block;
}

.quiet-fee-note small {
  color: var(--muted);
  font-weight: 800;
}

.quiet-fee-note strong {
  color: var(--navy);
  font-size: 18px;
}

.hero-tel-note {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .9);
  font-weight: 900;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 10px 16px;
}

.hero-tel-note a {
  color: #fff;
  font-size: 20px;
}

.image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.premium-big-percent {
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: .04em;
}

@media (max-width: 560px) {
  .hero-bg-image {
    opacity: .38;
    background-position: 62% center;
  }

  .consultation-summary {
    padding: 20px;
  }
}

body {
  font-size: 17px;
}

.nav a,
.header-tel {
  font-size: 15px;
}

.btn {
  min-height: 48px;
}

.lead,
.visual-grid p,
.section-title p,
.contact-intro p,
.company-message p,
.simple-flow p {
  font-size: 18px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.photo-grid figure,
.company-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(11, 47, 91, .08);
}

.photo-grid figure {
  grid-column: span 2;
}

.photo-grid figure:nth-child(4),
.photo-grid figure:nth-child(5) {
  grid-column: span 3;
}

.photo-grid img,
.company-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-grid figcaption {
  padding: 14px 16px;
  font-weight: 900;
  color: var(--navy);
  font-size: 18px;
}

.company-overview {
  display: grid;
  gap: 24px;
}

.company-message {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.company-message h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
  margin: 0;
}

.company-message p {
  color: var(--muted);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 24px;
  align-items: stretch;
}

.info-table dl {
  margin: 0;
}

.info-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row dt,
.info-row dd {
  margin: 0;
  padding: 18px;
  font-size: 18px;
}

.info-row dt {
  background: var(--bg);
  color: var(--navy);
  font-weight: 900;
}

.info-row dd {
  background: #fff;
}

.simple-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.simple-flow article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(11, 47, 91, .06);
}

.simple-flow span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  margin-bottom: 12px;
}

.simple-flow strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
}

.simple-flow p {
  color: var(--muted);
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .photo-grid,
  .company-grid,
  .simple-flow {
    grid-template-columns: 1fr;
  }

  .photo-grid figure,
  .photo-grid figure:nth-child(4),
  .photo-grid figure:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .lead,
  .visual-grid p,
  .section-title p,
  .contact-intro p,
  .company-message p,
  .simple-flow p {
    font-size: 16px;
  }

  .company-message {
    padding: 22px;
  }

  .info-row {
    grid-template-columns: 1fr;
  }

  .info-row dt,
  .info-row dd {
    padding: 14px 16px;
  }
}

/* Luck Kayashima inspired refresh for contact/company sections. */
.contact-intro,
.company-message {
  background: #fff;
  border: 4px solid #fcc331;
  border-radius: 24px;
  box-shadow: 6px 6px 0 rgba(203, 8, 35, .08);
}

.contact-box,
.property-item,
.company-overview .info-table,
.simple-flow article,
.contact-side .content-card {
  border: 3px solid #fff;
  border-radius: 24px;
  box-shadow: 6px 6px 0 rgba(203, 8, 35, .08), 0 14px 34px rgba(203, 8, 35, .08);
}

.contact-box h3,
.property-item h3,
.company-message h2,
.simple-flow strong {
  color: #cb0823;
}

.contact-box input,
.contact-box select,
.contact-box textarea {
  border: 2px solid #f3c7cc;
  background: #fffafa;
  border-radius: 14px;
}

.contact-box input:focus,
.contact-box select:focus,
.contact-box textarea:focus {
  border-color: #cb0823;
  box-shadow: 0 0 0 4px rgba(203, 8, 35, .1);
}

.submit-btn,
.contact-side .btn,
.simple-flow span {
  background: #cb0823;
  color: #fff;
  border-radius: 100vmax;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, .12);
}

.company-photo {
  border: 6px solid #fff;
  border-radius: 24px;
  box-shadow: 6px 6px 0 rgba(203, 8, 35, .08), 0 16px 40px rgba(203, 8, 35, .08);
}

.info-row dt {
  color: #cb0823;
}

/* Meishoen inspired refresh for sub pages. */
.contact-intro,
.company-message {
  background: #fffdf8;
  border: 3px solid #ecd9c7;
  border-radius: 32px;
  box-shadow: 0 18px 42px rgba(117, 82, 49, .1);
}

.contact-box,
.property-item,
.company-overview .info-table,
.simple-flow article,
.contact-side .content-card {
  background: #fff;
  border: 2px solid #ecd9c7;
  border-radius: 30px;
  box-shadow: 0 18px 42px rgba(117, 82, 49, .1);
}

.contact-box h3,
.property-item h3,
.company-message h2,
.simple-flow strong {
  color: #3d3028;
}

.contact-box input,
.contact-box select,
.contact-box textarea {
  border: 2px solid #ecd9c7;
  background: #fffdf8;
  border-radius: 18px;
}

.contact-box input:focus,
.contact-box select:focus,
.contact-box textarea:focus {
  border-color: #f08a34;
  box-shadow: 0 0 0 4px rgba(240, 138, 52, .12);
}

.submit-btn,
.contact-side .btn,
.simple-flow span {
  background: #7f9d6e;
  color: #fff;
  border-radius: 100vmax;
  box-shadow: none;
}

.company-photo {
  border: 10px solid #fff;
  border-radius: 34px;
  box-shadow: 0 20px 42px rgba(117, 82, 49, .12);
}

.info-row dt {
  color: #7f9d6e;
}
