:root {
  --blue-900: #0b2f5f;
  --blue-800: #124475;
  --blue-700: #1768a8;
  --blue-100: #eaf5ff;
  --blue-50: #f4fbff;
  --green-700: #22735f;
  --cream: #fff7ea;
  --orange: #e59a35;
  --text: #1b2b3a;
  --muted: #657588;
  --line: #dce7f0;
  --white: #fff;
  --shadow: 0 18px 50px rgba(10, 47, 95, .14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.75;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 231, 240, .8);
}

.header-inner,
.hero-inner,
.section,
.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(18, 68, 117, .22);
}

.brand-text {
  display: grid;
  line-height: 1.25;
}

.brand-text small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
  color: var(--blue-900);
}

.global-nav a {
  position: relative;
  font-size: 14px;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.global-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--blue-100);
  border-radius: 12px;
  padding: 11px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-900);
}

.section-bg-soft {
  background:
    radial-gradient(circle at 85% 15%, rgba(229, 154, 53, .22), transparent 28%),
    linear-gradient(180deg, var(--blue-50), #fff);
}

.hero {
  padding: 70px 0 80px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 52px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}

.hero h1,
.section-heading h2,
.split-layout h2,
.about-layout h2,
.contact-layout h2 {
  margin: 0;
  color: var(--blue-900);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.22;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.lead {
  margin: 22px 0 0;
  max-width: 680px;
  color: #31485f;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  box-shadow: 0 14px 30px rgba(18, 68, 117, .24);
}

.btn-secondary {
  color: var(--blue-900);
  background: var(--white);
  border-color: var(--line);
}

.hero-contact-card {
  display: inline-grid;
  gap: 2px;
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.hero-contact-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-contact-card a {
  color: var(--blue-900);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.hero-contact-card small {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.photo-frame {
  display: grid;
  place-items: center;
  min-height: 360px;
  color: rgba(255,255,255,.9);
  text-align: center;
  font-weight: 800;
  background:
    linear-gradient(rgba(11, 47, 95, .18), rgba(11, 47, 95, .28)),
    linear-gradient(135deg, #8ec5e8, #2d78aa 48%, #0b2f5f);
  border: 10px solid #fff;
  border-radius: 44px;
  box-shadow: 0 28px 70px rgba(10, 47, 95, .24);
}

.main-photo {
  position: absolute;
  inset: 20px 10px 60px 20px;
  transform: rotate(2deg);
}

.hero-badges {
  position: absolute;
  right: 0;
  bottom: 30px;
  display: grid;
  gap: 10px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  padding: 12px 18px;
  color: var(--blue-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 800;
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.split-layout h2,
.about-layout h2,
.contact-layout h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-heading p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
}

.feature-grid,
.flow-grid,
.property-grid {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.flow-grid article,
.consult-box,
.contact-form,
.contact-method,
.property-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 30px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  background: var(--blue-100);
  border-radius: 16px;
  font-size: 25px;
}

.feature-card h3,
.flow-grid h3,
.consult-box h3,
.property-body h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  line-height: 1.4;
}

.feature-card p,
.flow-grid p,
.consult-box p,
.property-body p {
  margin: 0;
  color: var(--muted);
}

.section-blue {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  background: linear-gradient(180deg, var(--blue-900), #0d4478);
}

.section-heading-light h2,
.section-heading-light p,
.section-heading-light .eyebrow {
  color: #fff;
}

.property-toolbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  min-width: 98px;
  padding: 10px 18px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.filter-btn.is-active,
.filter-btn:hover {
  color: var(--blue-900);
  background: #fff;
}

.property-grid {
  grid-template-columns: repeat(3, 1fr);
}

.property-card {
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
}

.property-card.is-hidden {
  display: none;
}

.property-image,
.modal-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  color: #fff;
  background:
    linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.16)),
    linear-gradient(135deg, #9bcbe6, #377fae 55%, #1d456a);
  font-weight: 900;
}

.property-image em {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  color: var(--blue-900);
  background: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
}

.property-image.is-sold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 68, 117, .55);
}

.property-image.is-sold span,
.property-image.is-sold em {
  z-index: 1;
}

.property-body {
  padding: 22px;
}

.property-type {
  display: inline-flex;
  margin: 0 0 8px !important;
  padding: 4px 10px;
  color: var(--green-700) !important;
  background: rgba(34, 115, 95, .10);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.property-body dl,
.modal-spec {
  display: grid;
  gap: 7px;
  margin: 16px 0;
}

.property-body dl div,
.modal-spec div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
  font-size: 14px;
}

.property-body dt,
.modal-spec dt {
  color: var(--muted);
  font-weight: 800;
}

.property-body dd,
.modal-spec dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.text-link {
  color: var(--blue-700);
  background: transparent;
  border: 0;
  padding: 0;
  font-weight: 900;
  cursor: pointer;
}

.text-link:hover {
  text-decoration: underline;
}

.split-layout,
.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.lead-small {
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.consult-box {
  padding: 34px;
  background: linear-gradient(180deg, #fff, var(--blue-50));
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: var(--green-700);
  border-radius: 999px;
  font-size: 13px;
}

.section-cream {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  background: var(--cream);
}

.flow-grid {
  grid-template-columns: repeat(4, 1fr);
}

.flow-grid article {
  padding: 28px;
}

.flow-grid span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 28px;
  font-weight: 900;
}

.about-photo {
  min-height: 420px;
}

.company-table {
  width: 100%;
  margin-top: 26px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.company-table th,
.company-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 0;
}

.company-table th {
  width: 130px;
  color: var(--blue-900);
  background: var(--blue-50);
}

.contact-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  color: #fff;
  background: linear-gradient(135deg, var(--blue-900), #1768a8);
}

.contact-section .eyebrow,
.contact-section h2,
.contact-section p {
  color: #fff;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-method {
  display: grid;
  gap: 2px;
  padding: 18px 20px;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.24);
}

.contact-method span {
  font-size: 12px;
  font-weight: 800;
  opacity: .8;
}

.contact-method strong {
  font-size: 18px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  color: var(--text);
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(23, 104, 168, .13);
}

.agree {
  grid-template-columns: 18px 1fr !important;
  align-items: center;
  color: var(--text) !important;
  font-weight: 700 !important;
}

.agree input {
  width: 18px;
  height: 18px;
}

.form-note {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 12px;
}

.site-footer {
  padding: 36px 20px 24px;
  color: #fff;
  background: #071f3d;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
}

.footer-inner p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.72);
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

.site-footer small {
  display: block;
  width: min(calc(100% - 40px), var(--max));
  margin: 24px auto 0;
  color: rgba(255,255,255,.55);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 35, .65);
}

.modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1fr;
  width: min(920px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 90px rgba(0,0,0,.34);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  color: var(--blue-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.modal-image {
  min-height: 100%;
}

.modal-content {
  padding: 34px;
}

.modal-content h2 {
  margin: 0;
  color: var(--blue-900);
  line-height: 1.35;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  transform: translateY(120px);
  opacity: 0;
  padding: 14px 18px;
  color: #fff;
  background: var(--blue-900);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 800;
  transition: transform .25s ease, opacity .25s ease;
}

.toast.is-show {
  transform: translateY(0);
  opacity: 1;
}

.pc-only {
  display: inline;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    padding: 12px 14px;
  }

  .hero-inner,
  .split-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 380px;
  }

  .main-photo {
    inset: 0 0 45px;
  }

  .feature-grid,
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-panel {
    grid-template-columns: 1fr;
  }

  .modal-image {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .hero-inner,
  .section,
  .footer-inner {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand-text small {
    display: none;
  }

  .brand-text span {
    font-size: 14px;
  }

  .hero {
    padding: 48px 0 58px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .hero-contact-card {
    width: 100%;
  }

  .hero-contact-card a {
    font-size: 25px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .photo-frame {
    min-height: 280px;
    border-radius: 30px;
  }

  .hero-badges {
    left: 10px;
    right: 10px;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-badges span {
    min-width: 0;
    padding: 10px 6px;
    font-size: 13px;
  }

  .section,
  .section-blue,
  .section-cream,
  .contact-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .feature-grid,
  .property-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .property-body dl div,
  .modal-spec div {
    grid-template-columns: 72px 1fr;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    border-bottom: 0;
    padding-bottom: 6px;
  }

  .company-table td {
    padding-top: 6px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-inner nav {
    flex-direction: column;
    gap: 6px;
  }

  .pc-only {
    display: none;
  }
}

/* === 2026-07-07 senior-friendly refinement === */
body {
  font-size: 17px;
  line-height: 1.85;
}
.global-nav a {
  font-size: 15px;
}
.btn {
  min-height: 58px;
  padding: 15px 26px;
  font-size: 16px;
}
.hero h1 {
  line-height: 1.3;
}
.lead,
.page-hero p:last-child,
.section-heading p:last-child,
.lead-small,
.contact-layout p,
.local-main-body p,
.local-card p,
.news-item p,
.detail-block p,
.detail-note {
  font-size: 18px;
  line-height: 1.9;
}
.hero-contact-card a {
  font-size: 32px;
}
.contact-form label,
.company-table th,
.company-table td,
.property-body dl,
.contact-method strong {
  font-size: 16px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 52px;
  font-size: 16px;
}
.contact-form textarea {
  min-height: 160px;
}

.reassurance-section {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}
.reassurance-section-soft {
  background: linear-gradient(180deg, #fff8ee, #fffdf9);
}
.reassurance-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.reassurance-wrap-single {
  grid-template-columns: 1fr;
}
.reassurance-copy h2 {
  margin: 0 0 14px;
  color: var(--blue-900);
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.4;
}
.reassurance-copy p {
  margin: 0;
  color: var(--muted);
}
.senior-check-list,
.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.senior-check-list li,
.check-list li {
  position: relative;
  padding: 18px 18px 18px 52px;
  font-size: 18px;
  line-height: 1.8;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.senior-check-list li::before,
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: var(--blue-700);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.consult-note {
  margin-top: 16px;
  padding: 16px 18px;
  color: var(--blue-900);
  background: #fff7ea;
  border: 1px solid #f0d2a8;
  border-radius: 16px;
  font-weight: 700;
}
.about-photo-real {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.about-photo-real img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

@media (max-width: 960px) {
  .reassurance-wrap {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .lead,
  .page-hero p:last-child,
  .section-heading p:last-child,
  .lead-small,
  .contact-layout p,
  .local-main-body p,
  .local-card p,
  .news-item p,
  .detail-block p,
  .detail-note,
  .senior-check-list li,
  .check-list li {
    font-size: 16px;
  }
  .reassurance-wrap {
    padding: 22px;
  }
  .hero-contact-card a {
    font-size: 28px;
  }
  .about-photo-real img {
    min-height: 280px;
  }
}

/* === Restored visual update / structured version === */
.hero.has-photo-bg {
  padding: 86px 0 92px;
  background:
    linear-gradient(90deg, rgba(7, 31, 61, .82) 0%, rgba(7, 31, 61, .62) 42%, rgba(7, 31, 61, .28) 100%),
    url('../images/hero-yusui.jpg') center center / cover no-repeat;
}
.hero-inner-single {
  grid-template-columns: 1fr;
}
.hero-copy-panel {
  max-width: 760px;
  padding: 38px 40px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .16);
  backdrop-filter: blur(6px);
}
.hero.has-photo-bg .eyebrow,
.hero.has-photo-bg h1,
.hero.has-photo-bg .lead {
  color: #fff;
}
.hero.has-photo-bg .lead {
  max-width: 620px;
}
.hero.has-photo-bg .hero-contact-card {
  background: rgba(255,255,255,.92);
}
.hero-badges-inline {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.hero-badges-inline span {
  color: #fff;
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.24);
  box-shadow: none;
}
.contact-office-card {
  margin-top: 26px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 22px;
}
.contact-office-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.contact-office-body {
  padding: 18px 20px 20px;
}
.contact-office-body strong {
  display: block;
  font-size: 18px;
}
.contact-office-body p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.88) !important;
  font-size: 14px;
}
.floating-instagram {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #fff;
  background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(131, 58, 180, .32);
  font-weight: 900;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.floating-instagram::before {
  content: '◎';
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  font-size: 14px;
  line-height: 1;
}
.floating-instagram.is-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (max-width: 960px) {
  .hero.has-photo-bg {
    padding: 68px 0 74px;
    background-position: center center;
  }
  .hero-copy-panel {
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .hero.has-photo-bg {
    padding: 54px 0 60px;
    background-position: 58% center;
  }
  .hero-copy-panel {
    padding: 28px 20px;
    border-radius: 22px;
  }
  .floating-instagram {
    right: 14px;
    bottom: 14px;
    padding: 10px 14px;
    font-size: 14px;
  }
}


/* === 2026-07-07 hero button refinement === */
.hero-actions-fv {
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.hero-actions-fv .btn {
  min-width: 280px;
  padding: 20px 32px;
  font-size: 18px;
  font-weight: 900;
}
.hero-actions-fv .btn-primary,
.hero-actions-fv .btn-secondary {
  box-shadow: 0 16px 32px rgba(7,31,61,.18);
}
@media (max-width: 640px) {
  .hero-actions-fv {
    flex-direction: column;
    gap: 14px;
  }
  .hero-actions-fv .btn {
    width: 100%;
    min-width: 0;
    padding: 18px 24px;
    font-size: 17px;
  }
}

/* === Final FV: background-blended hero, no Instagram in FV === */
.hero.has-photo-bg.hero-reference-style {
  position: relative;
  min-height: 720px;
  padding: 112px 0 92px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(15, 145, 210, .18) 0%, rgba(15, 145, 210, .08) 34%, rgba(7, 31, 61, .24) 100%),
    linear-gradient(90deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 42%, rgba(0,0,0,.08) 100%),
    url('../images/hero-yusui.jpg') center center / cover no-repeat;
  overflow: hidden;
}
.hero.has-photo-bg.hero-reference-style::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.12));
  pointer-events: none;
}
.hero-reference-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 1120px);
  margin: 0 auto;
  text-align: center;
}
.hero-kicker {
  margin: 0 0 16px;
  color: rgba(255,255,255,.96);
  font-size: clamp(17px, 2vw, 24px);
  letter-spacing: .08em;
  text-shadow: 0 2px 18px rgba(8, 34, 57, .34);
}
.hero-main-title {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: .045em;
  text-shadow: 0 4px 26px rgba(10, 39, 72, .38);
}
.hero-main-lead {
  max-width: 920px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.96);
  font-size: clamp(16px, 2vw, 23px);
  line-height: 1.9;
  text-shadow: 0 2px 12px rgba(8, 34, 57, .28);
}
.hero-message-stack {
  display: inline-grid;
  justify-items: start;
  gap: 10px;
  margin: 38px auto 0;
}
.hero-message-stack span {
  display: inline-block;
  padding: 12px 18px;
  color: #fff;
  font-size: clamp(15px, 1.55vw, 22px);
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
  background: rgba(0, 0, 0, .72);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}
.hero-actions-fv {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 38px;
}
.hero-actions-fv .btn {
  min-width: 300px;
  min-height: 72px;
  padding: 20px 36px;
  font-size: 20px;
  font-weight: 900;
}
.hero-actions-fv .btn-primary,
.hero-actions-fv .btn-secondary {
  box-shadow: 0 18px 36px rgba(7,31,61,.22);
}
.hero-actions-fv .btn-secondary {
  color: var(--blue-900);
  background: rgba(255,255,255,.94);
  border-color: rgba(255,255,255,.95);
}
.hero-contact-inline {
  display: inline-grid;
  gap: 4px;
  margin-top: 24px;
  padding: 14px 24px;
  color: #fff;
  background: rgba(7,31,61,.44);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
  backdrop-filter: blur(4px);
}
.hero-contact-inline strong,
.hero-contact-inline a,
.hero-contact-inline small {
  color: #fff;
}
.hero-contact-inline strong {
  font-size: clamp(17px, 2vw, 24px);
}
.hero-contact-inline a {
  font-size: 1.05em;
  font-weight: 900;
}
.hero-contact-inline small {
  font-size: 15px;
}

@media (max-width: 960px) {
  .hero.has-photo-bg.hero-reference-style {
    min-height: 640px;
    padding: 90px 0 72px;
    background-position: 56% center;
  }
  .hero-message-stack {
    width: 100%;
    justify-items: center;
  }
  .hero-message-stack span {
    width: min(100%, 760px);
  }
}
@media (max-width: 640px) {
  .hero.has-photo-bg.hero-reference-style {
    min-height: auto;
    padding: 78px 0 56px;
    background-position: 60% center;
  }
  .hero-reference-inner {
    width: min(calc(100% - 28px), 1120px);
  }
  .hero-kicker {
    margin-bottom: 10px;
    font-size: 14px;
  }
  .hero-main-title {
    font-size: clamp(28px, 9vw, 42px);
    line-height: 1.45;
  }
  .hero-main-lead {
    font-size: 15px;
    line-height: 1.8;
  }
  .hero-message-stack {
    margin-top: 26px;
    gap: 8px;
  }
  .hero-message-stack span {
    padding: 11px 14px;
    font-size: 14px;
  }
  .hero-actions-fv {
    flex-direction: column;
    gap: 14px;
  }
  .hero-actions-fv .btn {
    width: 100%;
    min-width: 0;
    min-height: 64px;
    padding: 18px 24px;
    font-size: 18px;
  }
  .hero-contact-inline {
    width: 100%;
    padding: 12px 16px;
    border-radius: 18px;
  }
  .hero-contact-inline small {
    font-size: 13px;
  }
}


/* === Top news placement === */
.top-news-section {
  margin-top: 0;
}

/* === Fix agreement checkbox layout === */
.contact-form label.agree {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px;
  color: var(--text) !important;
  font-weight: 700 !important;
  line-height: 1.6;
}
.contact-form label.agree input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
}
.contact-form label.agree span {
  display: inline;
}
.contact-form label.agree a {
  color: var(--blue-900);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* === Top page contact CTA only === */
.top-contact-cta {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  background: linear-gradient(180deg, #fff, var(--blue-50));
}

.top-contact-cta-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
  padding: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.top-contact-cta-copy h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
}

.top-contact-cta-copy p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.top-contact-cta-actions {
  display: grid;
  gap: 14px;
}

.top-contact-cta-actions .btn {
  width: 100%;
}

@media (max-width: 960px) {
  .top-contact-cta-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .top-contact-cta-card {
    padding: 26px 22px;
  }
  .top-contact-cta-copy p:last-child {
    font-size: 16px;
  }
}

/* === Top guide cards: local / about / contact === */
.top-guide-section {
  background: linear-gradient(180deg, #fff, var(--blue-50));
}

.top-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.top-guide-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 300px;
  padding: 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.top-guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(10, 47, 95, .18);
}

.top-guide-card::before {
  content: "";
  position: absolute;
  inset: auto 24px 24px auto;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: var(--blue-100);
  opacity: .72;
}

.top-guide-card span {
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.top-guide-card h3 {
  position: relative;
  margin: 12px 0 0;
  color: var(--blue-900);
  font-size: 28px;
  line-height: 1.35;
}

.top-guide-card p {
  position: relative;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.top-guide-card em {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--blue-700);
  font-style: normal;
  font-weight: 900;
}

.top-guide-card em::after {
  content: "→";
  font-size: 18px;
}

.top-guide-card-local::before {
  background: #e5f7ef;
}

.top-guide-card-about::before {
  background: #eaf5ff;
}

.top-guide-card-contact::before {
  background: #fff1dc;
}

@media (max-width: 960px) {
  .top-guide-grid {
    grid-template-columns: 1fr;
  }
  .top-guide-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .top-guide-card {
    padding: 24px 22px;
  }
  .top-guide-card h3 {
    font-size: 24px;
  }
  .top-guide-card p {
    font-size: 16px;
  }
}

/* === 2026-07-07 top news / pickup spacing fix === */
.top-news-section {
  width: 100%;
  max-width: none;
  padding: 76px max(20px, calc((100% - var(--max)) / 2));
  background: linear-gradient(180deg, #ffffff, var(--blue-50));
}

.top-news-heading {
  margin-bottom: 34px;
}

.top-news-heading .eyebrow {
  color: var(--blue-700);
}

.top-news-heading h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  color: var(--blue-900);
}

.top-news-heading h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--orange);
  border-radius: 999px;
}

.top-news-heading p:last-child {
  color: var(--muted);
}

.news-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.news-item {
  display: grid;
  grid-template-columns: 110px 104px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(10, 47, 95, .08);
}

.news-item time {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.news-category {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  color: var(--blue-900);
  background: var(--blue-100);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.news-item h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: 18px;
  line-height: 1.5;
}

.news-item p {
  grid-column: 3;
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.center-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 44px;
}

.top-pickup-section .center-actions {
  margin-top: 52px;
}

@media (max-width: 760px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  .news-category {
    justify-self: start;
  }

  .news-item p {
    grid-column: auto;
    margin-top: 0;
  }
}


/* === 2026-08 production cleanup & local page completion === */
.site-footer small {
  letter-spacing: .04em;
}

.local-intro-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 28px;
  align-items: start;
}

.local-intro-panel,
.local-summary-card,
.local-feature-card,
.local-panorama-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.local-intro-panel {
  padding: 28px;
  margin-bottom: 22px;
}
.local-intro-panel h3 {
  margin: 0 0 16px;
  color: var(--blue-900);
  font-size: 26px;
}

.local-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.local-summary-card {
  padding: 22px;
}
.local-summary-card span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  background: var(--blue-50);
  color: var(--blue-800);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.local-summary-card h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 22px;
  line-height: 1.45;
}
.local-summary-card p {
  margin: 0;
  color: var(--muted);
}

.local-intro-photo {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
  min-height: 100%;
}
.local-intro-photo img,
.local-panorama-photo img,
.local-feature-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.local-intro-photo img {
  min-height: 620px;
}

.local-panorama-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.local-panorama-photo {
  min-height: 420px;
}
.local-panorama-copy {
  padding: 34px;
  align-self: center;
}
.local-panorama-copy h2 {
  margin: 0 0 14px;
  color: var(--blue-900);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.4;
}
.local-panorama-copy p:last-child {
  margin-bottom: 0;
}

.local-feature-grid {
  display: grid;
  grid-template-columns: 1.1fr .95fr .95fr;
  gap: 20px;
}
.local-feature-card {
  overflow: hidden;
}
.local-feature-image {
  height: 250px;
}
.local-feature-body {
  padding: 24px;
}
.local-feature-body h3 {
  margin: 0 0 12px;
  color: var(--blue-900);
  font-size: 24px;
  line-height: 1.5;
}
.local-mini-list li {
  background: #f8fbff;
}

@media (max-width: 1080px) {
  .local-feature-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 960px) {
  .local-intro-grid,
  .local-panorama-card {
    grid-template-columns: 1fr;
  }
  .local-intro-photo img {
    min-height: 380px;
  }
}
@media (max-width: 640px) {
  .local-intro-panel,
  .local-summary-card,
  .local-feature-body,
  .local-panorama-copy {
    padding: 20px;
  }
  .local-summary-grid {
    grid-template-columns: 1fr;
  }
  .local-panorama-photo {
    min-height: 280px;
  }
  .local-feature-image {
    height: 220px;
  }
}


/* === 2026-08 logo and migration voices === */
.brand.brand-logo {
  display: inline-flex;
  align-items: center;
  min-width: 210px;
  padding: 2px 0;
}
.brand.brand-logo img {
  display: block;
  width: 205px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.local-voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.local-voice-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 26px;
  box-shadow: 0 18px 44px rgba(7,31,61,.18);
}
.local-voice-photo {
  display: grid;
  place-items: center;
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(18,106,168,.18), rgba(46,171,104,.12)),
    #eef7fb;
  color: var(--blue-800);
  font-weight: 800;
  letter-spacing: .08em;
}
.local-voice-body {
  padding: 26px;
}
.local-voice-label {
  margin: 0 0 8px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.local-voice-body h3 {
  margin: 0 0 12px;
  color: var(--blue-900);
  font-size: 24px;
  line-height: 1.5;
}
.local-voice-body p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 960px) {
  .brand.brand-logo {
    min-width: 176px;
  }
  .brand.brand-logo img {
    width: 174px;
    height: 58px;
  }
}
@media (max-width: 720px) {
  .brand.brand-logo {
    min-width: 150px;
  }
  .brand.brand-logo img {
    width: 148px;
    height: 50px;
  }
  .local-voice-grid {
    grid-template-columns: 1fr;
  }
  .local-voice-photo {
    min-height: 220px;
  }
}


/* === 2026-08-07 logo + migration voices update === */
.brand {
  gap: 14px;
}
.brand-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand-logo img {
  display: block;
  width: auto;
  height: 48px;
}
@media (max-width: 640px) {
  .brand-logo img {
    height: 40px;
  }
}

.local-voices-section {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}
.local-voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.local-voice-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.local-voice-photo-placeholder {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 20px;
  color: var(--blue-800);
  background: linear-gradient(135deg, #eef6ff, #f7fbff);
  font-weight: 800;
  letter-spacing: .08em;
}
.local-voice-body {
  padding: 24px;
}
.local-voice-body h3 {
  margin: 0 0 12px;
  color: var(--blue-900);
  font-size: 23px;
  line-height: 1.5;
}
.local-voice-body p {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 1080px) {
  .local-voice-grid {
    grid-template-columns: 1fr;
  }
}

/* Logo size fine-tuning */
.header-inner { min-height: 96px; }
.brand.brand-logo { min-width: 170px; }
.brand.brand-logo img {
  width: 170px;
  height: 82px;
}
@media (max-width: 720px) {
  .header-inner { min-height: 76px; }
  .brand.brand-logo { min-width: 126px; }
  .brand.brand-logo img {
    width: 126px;
    height: 62px;
  }
}


/* === 2026-08 logo update === */
.brand {
  min-width: 0;
}
.brand-logo {
  display: block;
  width: clamp(180px, 20vw, 280px);
  height: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 640px) {
  .brand-logo {
    width: 170px;
  }
}

/* === 2026-08 local voice section === */
.local-voice-card {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 24px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.local-voice-photo {
  min-height: 320px;
}
.local-voice-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f1f7fd, #e8f0f8);
  color: var(--blue-800);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .08em;
}
.local-voice-body h3 {
  margin: 0 0 14px;
  color: var(--blue-900);
  font-size: 26px;
}
.local-voice-body p:last-child {
  margin-bottom: 0;
}
@media (max-width: 960px) {
  .local-voice-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .local-voice-card {
    padding: 20px;
  }
  .local-voice-photo,
  .local-voice-placeholder {
    min-height: 220px;
  }
}


/* === 2026-08-07 refinement: logo sizing and local gallery === */
.site-header .header-inner {
  min-height: 106px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand.brand-logo {
  display: flex;
  align-items: center;
  min-width: 0;
  padding-top: 4px;
  padding-bottom: 4px;
}
.brand.brand-logo img {
  width: 148px;
  height: auto;
  display: block;
}
@media (max-width: 720px) {
  .site-header .header-inner {
    min-height: 82px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .brand.brand-logo img {
    width: 118px;
  }
}

.local-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.local-gallery-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.local-gallery-card-large {
  grid-column: span 2;
  grid-row: span 2;
}
.local-gallery-image {
  height: 230px;
}
.local-gallery-card-large .local-gallery-image {
  height: 420px;
}
.local-gallery-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.local-gallery-body {
  padding: 22px 22px 24px;
}
.local-gallery-kicker {
  margin: 0 0 10px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.local-gallery-body h3 {
  margin: 0 0 12px;
  color: var(--blue-900);
  font-size: 24px;
  line-height: 1.45;
}
.local-gallery-body p:last-child {
  margin-bottom: 0;
}
@media (max-width: 1080px) {
  .local-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .local-gallery-card-large {
    grid-column: span 2;
    grid-row: auto;
  }
}
@media (max-width: 720px) {
  .local-gallery-grid {
    grid-template-columns: 1fr;
  }
  .local-gallery-card-large {
    grid-column: auto;
  }
  .local-gallery-image,
  .local-gallery-card-large .local-gallery-image {
    height: 220px;
  }
  .local-gallery-body {
    padding: 18px;
  }
  .local-gallery-body h3 {
    font-size: 22px;
  }
}


/* === 2026-08-07 refinement v2: local intro layout and rotating gallery === */
.local-intro-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 18px;
}
.local-intro-panel {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.local-intro-photo.local-intro-photo--town {
  min-height: 100%;
  height: 100%;
}
.local-intro-photo.local-intro-photo--town img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}
.local-intro-section .local-summary-grid {
  margin-top: 18px;
}
@media (max-width: 960px) {
  .local-intro-hero {
    grid-template-columns: 1fr;
  }
  .local-intro-photo.local-intro-photo--town {
    min-height: 360px;
  }
}

.local-gallery-carousel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 320px;
  gap: 22px;
  align-items: start;
}
.local-gallery-stage {
  position: relative;
  min-height: 720px;
}
.local-gallery-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 420px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .6s ease, transform .6s ease;
  pointer-events: none;
}
.local-gallery-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.local-gallery-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.local-gallery-slide-body {
  padding: 28px 28px 86px;
}
.local-gallery-slide-body h3 {
  margin: 0 0 14px;
  color: var(--blue-900);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.45;
}
.local-gallery-slide-body p:last-child {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.9;
}
.local-gallery-controls {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.local-gallery-arrow,
.local-gallery-dots button {
  pointer-events: auto;
}
.local-gallery-arrow {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(10, 31, 68, .12);
  background: rgba(255,255,255,.92);
  color: var(--blue-900);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(10,31,68,.12);
}
.local-gallery-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.local-gallery-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(10,31,68,.18);
  cursor: pointer;
}
.local-gallery-dots button.is-active {
  width: 34px;
  background: var(--blue-700);
}
.local-gallery-thumbs {
  display: grid;
  gap: 12px;
}
.local-gallery-thumb {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.local-gallery-thumb:hover,
.local-gallery-thumb.is-active {
  transform: translateY(-2px);
  border-color: rgba(26,115,232,.28);
  box-shadow: 0 14px 28px rgba(10,31,68,.12);
}
.local-gallery-thumb img {
  width: 96px;
  height: 84px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.local-gallery-thumb span {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.local-gallery-thumb strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-700);
  font-size: 12px;
  letter-spacing: .08em;
}
@media (max-width: 1180px) {
  .local-gallery-carousel {
    grid-template-columns: 1fr;
  }
  .local-gallery-stage {
    min-height: 680px;
  }
  .local-gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .local-gallery-stage {
    min-height: 560px;
  }
  .local-gallery-slide {
    grid-template-rows: 230px auto;
  }
  .local-gallery-slide-body {
    padding: 18px 18px 74px;
  }
  .local-gallery-slide-body h3 {
    font-size: 24px;
  }
  .local-gallery-slide-body p:last-child {
    font-size: 16px;
    line-height: 1.8;
  }
  .local-gallery-controls {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .local-gallery-arrow {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
  .local-gallery-thumbs {
    grid-template-columns: 1fr;
  }
  .local-gallery-thumb {
    grid-template-columns: 72px 1fr;
  }
  .local-gallery-thumb img {
    width: 72px;
    height: 64px;
  }
}

/* === 2026-08-07 final delivery: local B section & company office section === */
.local-feature-section--b {
  padding-top: 24px;
}
.local-feature-heading-b {
  text-align: center;
  max-width: 1080px;
  margin: 0 auto 40px;
}
.local-feature-heading-b h2 {
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.32;
  letter-spacing: .03em;
}
.local-feature-heading-b p:last-child {
  color: #6d7d93;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.9;
}
.local-b-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 24px;
  align-items: stretch;
}
.local-b-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(8, 35, 71, .08);
  overflow: hidden;
}
.local-b-card--visual {
  grid-row: span 2;
}
.local-b-visual-photo {
  position: relative;
  height: 430px;
  overflow: hidden;
}
.local-b-visual-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.local-b-visual-photo::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -1px;
  height: 92px;
  background: #fff;
  border-radius: 52% 52% 0 0 / 100% 100% 0 0;
}
.local-b-visual-body {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 26px 30px;
  margin-top: -8px;
  position: relative;
  z-index: 1;
}
.local-b-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f0f7ff, #eaf4ff);
  display: grid;
  place-items: center;
  color: var(--blue-700);
  font-size: 30px;
  flex: 0 0 auto;
}
.local-b-visual-body h3,
.local-b-title-row h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(22px, 2.3vw, 40px);
  line-height: 1.4;
}
.local-b-visual-body p,
.local-b-card--guide p,
.local-b-support-copy p {
  color: #445367;
  line-height: 1.9;
  font-size: 16px;
}
.local-b-title-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}
.local-b-line {
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 16px;
  border-radius: 999px;
  background: #ccb16c;
}
.local-b-card--guide {
  padding: 28px 30px 30px;
}
.local-b-checks {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.local-b-checks li {
  position: relative;
  padding: 16px 18px 16px 68px;
  background: #f6faff;
  border-radius: 999px;
  font-weight: 700;
  color: var(--blue-900);
  font-size: 16px;
}
.local-b-checks li::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.local-b-card--support {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  min-height: 330px;
}
.local-b-support-copy {
  padding: 28px 30px;
}
.local-b-support-photo {
  position: relative;
  min-height: 100%;
}
.local-b-support-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.78) 22%, rgba(255,255,255,.12) 58%, rgba(255,255,255,0) 100%);
  z-index: 1;
}
.local-b-support-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.company-story-section {
  padding-top: 30px;
}
.company-story-header p:last-child {
  margin-top: -8px;
  color: var(--text);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
}
.company-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 42px;
  align-items: center;
  margin-top: 24px;
}
.company-story-photo img {
  width: 100%;
  display: block;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.company-story-copy h3 {
  margin: 0 0 18px;
  color: var(--blue-900);
  font-size: clamp(32px, 3vw, 52px);
  line-height: 1.4;
}
.company-story-copy p {
  color: #445367;
  line-height: 1.9;
}
.company-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.company-value-card {
  padding: 10px 8px 0;
  border-left: 1px solid var(--line);
}
.company-value-card:first-child {
  border-left: 0;
  padding-left: 0;
}
.company-value-icon,
.company-point-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f7ff;
  color: var(--blue-700);
  font-size: 28px;
  margin-bottom: 14px;
}
.company-value-card h4,
.office-gallery-body h4,
.company-point-card h4 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-size: 26px;
  line-height: 1.45;
}
.company-value-card p,
.office-gallery-body p,
.company-point-card p {
  margin: 0;
  color: #445367;
  line-height: 1.8;
}
.office-atmosphere-section {
  margin-top: 50px;
}
.office-atmosphere-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  text-align: center;
}
.office-line {
  height: 1px;
  background: rgba(21,59,111,.25);
}
.office-atmosphere-heading h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(28px, 2.6vw, 42px);
}
.office-atmosphere-heading p {
  margin: 6px 0 0;
  color: #6d7d93;
}
.office-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.office-gallery-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.office-gallery-photo {
  aspect-ratio: 1.42 / 1;
}
.office-gallery-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.office-gallery-body {
  padding: 18px 18px 20px;
}
.company-point-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.company-point-card {
  display: flex;
  gap: 16px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.company-point-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  font-size: 24px;
  margin-bottom: 0;
}
.company-detail-box {
  margin-top: 34px;
  padding: 28px;
  background: linear-gradient(180deg, #fbfdff, #ffffff);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.company-detail-box h3 {
  margin: 0 0 18px;
  color: var(--blue-900);
  font-size: 32px;
}

@media (max-width: 1120px) {
  .local-b-grid,
  .company-story-grid {
    grid-template-columns: 1fr;
  }
  .local-b-card--visual {
    grid-row: auto;
  }
  .company-value-grid,
  .office-gallery-grid,
  .company-point-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .local-b-card--support {
    grid-template-columns: 1fr;
  }
  .local-b-support-photo {
    min-height: 260px;
    order: -1;
  }
  .local-b-support-photo::before {
    background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.28) 100%);
  }
  .local-b-visual-body,
  .local-b-title-row {
    grid-template-columns: 58px 1fr;
    gap: 14px;
  }
  .local-b-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  .local-b-title-row h3,
  .local-b-visual-body h3 {
    font-size: clamp(22px, 4vw, 30px);
  }
}

@media (max-width: 720px) {
  .local-feature-heading-b {
    margin-bottom: 28px;
  }
  .local-feature-heading-b h2 {
    font-size: clamp(26px, 8vw, 38px);
  }
  .local-feature-heading-b p:last-child {
    font-size: 14px;
    line-height: 1.8;
  }
  .local-b-visual-photo {
    height: 260px;
  }
  .local-b-visual-photo::after {
    height: 54px;
  }
  .local-b-visual-body,
  .local-b-title-row {
    grid-template-columns: 48px 1fr;
    gap: 12px;
  }
  .local-b-card--guide,
  .local-b-support-copy,
  .company-detail-box {
    padding: 20px;
  }
  .local-b-icon {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
  .local-b-checks li {
    padding: 14px 16px 14px 60px;
    font-size: 15px;
    border-radius: 18px;
  }
  .local-b-checks li::before {
    left: 16px;
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
  .local-b-support-photo {
    min-height: 220px;
  }
  .local-b-support-photo::before {
    background: linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.25) 100%);
  }
  .company-story-copy h3 {
    font-size: 28px;
  }
  .company-value-card {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .company-value-card:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .company-value-card h4,
  .office-gallery-body h4,
  .company-point-card h4 {
    font-size: 22px;
  }
  .office-atmosphere-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .office-line {
    display: none;
  }
  .company-point-card {
    padding: 18px;
    align-items: flex-start;
  }
}


/* === 2026-08-07 v7 local page balance adjustments === */
.local-feature-heading-b h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.28;
  letter-spacing: .02em;
}
.local-b-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "visual guide"
    "support support";
  gap: 26px;
}
.local-b-card--visual {
  grid-area: visual;
  grid-row: auto;
  display: grid;
  grid-template-rows: 320px 1fr;
  height: 100%;
}
.local-b-card--guide {
  grid-area: guide;
  height: 100%;
}
.local-b-card--support {
  grid-area: support;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  min-height: 260px;
}
.local-b-visual-photo {
  height: 320px;
}
.local-b-visual-photo::after {
  height: 74px;
}
.local-b-icon {
  display: none;
}
.local-b-visual-body,
.local-b-title-row {
  display: block;
}
.local-b-visual-body {
  padding: 22px 28px 28px;
}
.local-b-visual-body h3,
.local-b-title-row h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.45;
}
.local-b-visual-body p,
.local-b-card--guide p,
.local-b-support-copy p {
  font-size: 16px;
  line-height: 1.95;
}
.local-b-title-row {
  margin-bottom: 18px;
}
.local-b-line {
  margin-top: 12px;
}
.local-b-card--guide,
.local-b-support-copy {
  padding: 28px 30px 30px;
}
.local-b-card--guide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.local-b-checks {
  margin-top: 24px;
}
.local-b-support-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.local-b-support-photo {
  min-height: 260px;
}
.local-b-support-photo::before {
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.82) 18%, rgba(255,255,255,.18) 56%, rgba(255,255,255,0) 100%);
}

@media (max-width: 1120px) {
  .local-b-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "guide"
      "support";
  }
  .local-b-card--visual,
  .local-b-card--guide,
  .local-b-card--support {
    height: auto;
  }
}

@media (max-width: 900px) {
  .local-b-card--support {
    grid-template-columns: 1fr;
  }
  .local-b-support-photo {
    order: 2;
    min-height: 240px;
  }
}

@media (max-width: 720px) {
  .local-feature-heading-b h2 {
    font-size: clamp(26px, 7.2vw, 34px);
  }
  .local-b-card--visual {
    grid-template-rows: 250px 1fr;
  }
  .local-b-visual-photo {
    height: 250px;
  }
  .local-b-visual-photo::after {
    height: 52px;
  }
  .local-b-visual-body,
  .local-b-card--guide,
  .local-b-support-copy {
    padding: 20px;
  }
  .local-b-visual-body h3,
  .local-b-title-row h3 {
    font-size: 24px;
  }
}


/* === 2026-08-07 v8 local page final balance adjustments === */
.local-feature-heading-b {
  max-width: 960px;
  margin-bottom: 34px;
}
.local-feature-heading-b h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
  letter-spacing: .02em;
}
.local-b-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "visual guide"
    "support support";
  align-items: stretch;
  gap: 26px;
}
.local-b-card--visual,
.local-b-card--guide {
  min-height: 640px;
}
.local-b-card--visual {
  grid-area: visual;
  display: grid;
  grid-template-rows: 340px 1fr;
}
.local-b-card--guide {
  grid-area: guide;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.local-b-visual-photo {
  height: 340px;
}
.local-b-visual-photo::after {
  height: 68px;
}
.local-b-visual-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px 30px 34px;
}
.local-b-visual-body h3,
.local-b-title-row h3 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.45;
}
.local-b-visual-body p,
.local-b-card--guide p,
.local-b-support-copy p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.95;
}
.local-b-title-row {
  display: block;
  margin-bottom: 18px;
}
.local-b-card--guide,
.local-b-support-copy {
  padding: 30px 32px 32px;
}
.local-b-checks {
  margin-top: 24px;
}
.local-b-card--support {
  grid-area: support;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr);
  min-height: 290px;
}
.local-b-support-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.local-b-support-copy .local-b-title-row h3 {
  max-width: 10em;
}
.local-b-support-photo {
  min-height: 290px;
}
.local-b-support-photo::before {
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.84) 22%, rgba(255,255,255,.22) 58%, rgba(255,255,255,0) 100%);
}

@media (max-width: 1120px) {
  .local-b-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "guide"
      "support";
  }
  .local-b-card--visual,
  .local-b-card--guide {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .local-feature-heading-b h2 {
    font-size: clamp(26px, 7vw, 34px);
  }
  .local-b-card--visual {
    grid-template-rows: 250px 1fr;
  }
  .local-b-visual-photo {
    height: 250px;
  }
  .local-b-card--support {
    grid-template-columns: 1fr;
  }
  .local-b-support-photo {
    min-height: 220px;
  }
  .local-b-support-copy .local-b-title-row h3 {
    max-width: none;
  }
}


/* === 2026-08-07 v8 local intro single-frame and cleanup === */
.local-intro-hero {
  display: block;
  margin-bottom: 18px;
}
.local-intro-panel.local-intro-panel--merged {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 28px;
  align-items: stretch;
  padding: 30px;
}
.local-intro-panel-copy {
  display: flex;
  flex-direction: column;
}
.local-intro-panel-copy .check-list {
  margin-bottom: 0;
}
.local-intro-panel-photo {
  overflow: hidden;
  border-radius: 28px;
  min-height: 100%;
}
.local-intro-panel-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}
.page-hero-inner > p:empty {
  display: none;
}

@media (max-width: 960px) {
  .local-intro-panel.local-intro-panel--merged {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .local-intro-panel-photo {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .local-intro-panel.local-intro-panel--merged {
    padding: 18px;
    gap: 18px;
  }
  .local-intro-panel-photo {
    min-height: 260px;
    border-radius: 22px;
  }
}


/* === 2026-08-07 v8 intro unification + release text cleanup === */
.local-intro-hero {
  display: block;
}
.local-intro-panel--with-photo {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 28px;
  align-items: stretch;
  padding: 30px;
}
.local-intro-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.local-intro-panel--with-photo .local-intro-photo {
  min-height: 100%;
  height: 100%;
  border-radius: 28px;
  box-shadow: none;
}
.local-intro-panel--with-photo .local-intro-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}
.local-intro-panel--with-photo .check-list {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .local-intro-panel--with-photo {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .local-intro-panel--with-photo .local-intro-photo {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  .local-intro-panel--with-photo {
    gap: 20px;
    padding: 20px;
  }
  .local-intro-panel--with-photo .local-intro-photo {
    min-height: 260px;
  }
}


/* Instagram section */
.instagram-section { padding-top: 24px; }
.instagram-card { display:grid; grid-template-columns: 1.2fr 0.8fr; gap:32px; background:#fff; border:1px solid #dbe4ef; border-radius:28px; padding:40px; box-shadow:0 18px 40px rgba(19,53,103,0.08); }
.instagram-copy h2 { margin: 8px 0 16px; font-size: clamp(28px, 3vw, 40px); line-height: 1.35; color:#0f3c7a; }
.instagram-copy > p:last-of-type { color:#4e5f75; line-height:1.9; }
.instagram-actions { display:flex; gap:16px; margin-top:28px; flex-wrap:wrap; }
.instagram-preview { display:flex; align-items:center; justify-content:center; }
.instagram-phone { width:100%; min-height:220px; background:linear-gradient(135deg,#f8fbff 0%,#eef4fb 100%); border:1px solid #dbe4ef; border-radius:24px; padding:28px; }
.instagram-post-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px; }
.instagram-post-grid span { display:flex; align-items:center; justify-content:center; min-height:88px; border-radius:18px; background:#fff; color:#0f3c7a; font-weight:700; box-shadow:0 10px 22px rgba(19,53,103,0.06); text-align:center; padding:12px; }
@media (max-width: 900px) { .instagram-card { grid-template-columns:1fr; padding:28px; gap:24px; } .instagram-copy h2 { font-size: clamp(24px, 5vw, 32px); } }


/* === 2026-08-11 Dream Japan v11 update: supplied logo / FV / local life guide / migration story === */
.brand.brand-logo img {
  width: 176px;
  max-height: 88px;
  object-fit: contain;
}
.hero-reference-style .hero-reference-inner {
  max-width: 1180px;
}
.hero-reference-style .hero-main-title {
  max-width: 780px;
  letter-spacing: .01em;
}

/* local life / nearby guide */
.local-life-section {
  background:
    radial-gradient(circle at 88% 8%, rgba(247, 159, 31, .12), transparent 24%),
    linear-gradient(180deg, #fff 0%, #f7fbf5 100%);
}
.local-life-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.local-life-card {
  position: relative;
  min-height: 292px;
  padding: 26px 20px 22px;
  background: #fff;
  border: 1px solid rgba(20, 94, 66, .12);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(25, 67, 55, .08);
  overflow: hidden;
}
.local-life-card::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  right: -42px;
  bottom: -48px;
  border-radius: 50%;
  background: rgba(45, 154, 74, .08);
}
.local-life-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: #eef8ed;
  color: #1f7c46;
  font-weight: 900;
  font-size: 19px;
}
.local-life-kicker {
  margin: 0 0 8px;
  color: #1f7c46;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}
.local-life-card h3 {
  margin: 0 0 12px;
  color: var(--blue-900);
  font-size: 20px;
  line-height: 1.45;
}
.local-life-card > p:not(.local-life-kicker) {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.85;
}
.local-life-note {
  display: inline-block;
  color: #687770;
  font-size: 11px;
  line-height: 1.6;
}
.local-onsen-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  margin-top: 30px;
  background: #0c315f;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 22px 56px rgba(5, 45, 88, .18);
}
.local-onsen-photo {
  position: relative;
  min-height: 430px;
}
.local-onsen-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,49,95,.04), rgba(10,49,95,.34));
}
.local-onsen-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.local-onsen-badge {
  position: absolute;
  z-index: 2;
  left: 24px;
  top: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f79f1f;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(247,159,31,.28);
}
.local-onsen-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 42px;
  color: #fff;
}
.local-onsen-copy .eyebrow { color: #ffd397; }
.local-onsen-copy h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.45;
}
.local-onsen-copy > p:not(.eyebrow):not(.local-onsen-note) {
  font-size: 16px;
  line-height: 1.95;
}
.local-onsen-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 16px 0 18px;
}
.local-onsen-points span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: 12px;
  font-weight: 800;
}
.local-onsen-note {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  line-height: 1.7;
}

/* one-person migration story */
.migration-story-card {
  max-width: 1120px;
  margin: 36px auto 0;
  padding: 34px;
  background: #fff;
  color: #26364a;
  border-radius: 32px;
  box-shadow: 0 24px 64px rgba(4, 35, 74, .2);
}
.migration-story-profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid #dfe7ef;
}
.migration-story-photo {
  display: grid;
  place-items: center;
  min-height: 245px;
  border-radius: 24px;
  background: linear-gradient(135deg, #edf4ee, #dbe8df);
  color: #547061;
  font-weight: 800;
  text-align: center;
  line-height: 1.7;
}
.migration-story-label,
.migration-story-kicker {
  margin: 0 0 9px;
  color: #2b8a57;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}
.migration-story-profile h3 {
  margin: 0 0 14px;
  color: var(--blue-900);
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.45;
}
.migration-story-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 30px 0;
}
.migration-story-topic {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: 22px;
  background: #f5f8fb;
}
.migration-story-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0c315f;
  color: #fff;
  font-weight: 900;
  letter-spacing: .05em;
}
.migration-story-topic h4,
.migration-before-after h4 {
  margin: 0 0 15px;
  color: var(--blue-900);
  font-size: 22px;
  line-height: 1.55;
}
.migration-story-topic ul {
  margin: 0 0 16px;
  padding-left: 1.25em;
  line-height: 1.9;
}
.migration-story-placeholder {
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed #b9c8d6;
  color: #657487;
  font-size: 13px;
  line-height: 1.8;
}
.migration-before-after {
  padding-top: 30px;
  border-top: 1px solid #dfe7ef;
}
.migration-before-after-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 24px;
}
.migration-before-after-heading > p {
  margin: 0;
  line-height: 1.9;
}
.migration-ba-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 54px minmax(0,1fr);
  gap: 14px;
  align-items: center;
}
.migration-ba-photo {
  display: grid;
  place-items: center;
  min-height: 300px;
  border-radius: 22px;
  background: #edf1f5;
  color: #687789;
  font-size: 18px;
  font-weight: 900;
}
.migration-ba-item--after .migration-ba-photo {
  background: linear-gradient(135deg, #eef8ed, #dcefd8);
  color: #40704c;
}
.migration-ba-item figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 13px;
}
.migration-ba-item figcaption strong {
  color: var(--blue-900);
  font-size: 18px;
  letter-spacing: .08em;
}
.migration-ba-item figcaption span { color: #718092; font-size: 13px; }
.migration-ba-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f79f1f;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .local-life-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .brand.brand-logo img { width: 138px; max-height: 68px; }
  .local-life-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .local-onsen-feature,
  .migration-story-profile,
  .migration-before-after-heading { grid-template-columns: 1fr; }
  .local-onsen-photo { min-height: 300px; }
  .migration-story-sections { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand.brand-logo img { width: 118px; max-height: 58px; }
  .hero-reference-style .hero-main-title { font-size: clamp(32px, 10vw, 43px); }
  .local-life-grid { grid-template-columns: 1fr; }
  .local-life-card { min-height: auto; }
  .local-onsen-copy { padding: 30px 22px; }
  .migration-story-card { padding: 20px; border-radius: 24px; }
  .migration-story-topic { grid-template-columns: 42px 1fr; padding: 18px; gap: 14px; }
  .migration-story-number { width: 42px; height: 42px; font-size: 12px; }
  .migration-ba-grid { grid-template-columns: 1fr; }
  .migration-ba-arrow { margin: 0 auto; transform: rotate(90deg); }
  .migration-ba-photo { min-height: 220px; }
}


/* === 2026-08-11 Dream Japan v12: FV centering / recommended filter / visual consultation cards === */
.hero-reference-style .hero-main-title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.filter-btn-recommended {
  position: relative;
  padding-left: 22px;
  padding-right: 22px;
}
.filter-btn-recommended::before {
  content: "★";
  margin-right: 6px;
  font-size: .86em;
}
.property-image .property-recommend-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 7px 12px;
  color: #7b4c00;
  background: #fff3c8;
  border: 1px solid rgba(255, 204, 73, .7);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(25, 50, 77, .18);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.property-consult-grid {
  align-items: stretch;
}
.property-consult-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0;
  color: #fff;
  background-position: center;
  background-size: cover;
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(20, 57, 91, .18);
  text-decoration: none;
  isolation: isolate;
  transition: transform .22s ease, box-shadow .22s ease;
}
.property-consult-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 23, 43, .08) 10%, rgba(3, 23, 43, .76) 100%);
}
.property-consult-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(20, 57, 91, .24);
}
.property-consult-card--phone { background-image: url('../images/consult-phone.svg'); }
.property-consult-card--mail { background-image: url('../images/consult-mail.svg'); }
.property-consult-card--instagram { background-image: url('../images/consult-instagram.svg'); }
.property-consult-card__content {
  width: 100%;
  padding: 32px 30px 30px;
}
.property-consult-card__label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
.property-consult-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(24px, 2.5vw, 31px);
  line-height: 1.3;
}
.property-consult-card p {
  margin: 0;
  color: rgba(255,255,255,.9);
  line-height: 1.75;
}
.property-consult-card__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #fff;
  font-weight: 900;
}
.property-consult-card__action::after {
  content: "→";
  transition: transform .2s ease;
}
.property-consult-card:hover .property-consult-card__action::after {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .hero-reference-style .hero-main-title {
    font-size: clamp(23px, 7vw, 28px);
    line-height: 1.48;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .property-toolbar {
    gap: 8px;
  }
  .filter-btn {
    min-width: 0;
    padding: 9px 14px;
    font-size: 13px;
  }
  .property-consult-card {
    min-height: 265px;
    border-radius: 22px;
  }
  .property-consult-card__content {
    padding: 26px 22px 24px;
  }
}


/* === 2026-08-11 Dream Japan v14: local life guide 2x3 visual cards === */
.local-life-heading {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.local-life-heading .eyebrow {
  margin-bottom: 16px;
  color: #1f7c46;
  letter-spacing: .22em;
}
.local-life-heading h2 {
  margin-bottom: 18px;
}
.local-life-heading-line {
  display: block;
}
.local-life-heading > p:last-child {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.local-life-grid.local-life-grid--visual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.local-life-grid--visual .local-life-card {
  min-height: 360px;
  padding: 0;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  border: 1px solid rgba(20, 94, 66, .12);
  border-radius: 28px;
  background-image:
    linear-gradient(180deg, rgba(6, 34, 55, .03), rgba(6, 34, 55, .30)),
    var(--life-bg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 44px rgba(25, 67, 55, .13);
  overflow: hidden;
}
.local-life-grid--visual .local-life-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(5,35,64,.08));
}
.local-life-grid--visual .local-life-card::after {
  display: none;
}
.local-life-card-panel {
  width: min(72%, 520px);
  margin: 22px;
  padding: 24px 26px 22px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 22px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 14px 34px rgba(10, 51, 74, .16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.local-life-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.local-life-grid--visual .local-life-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 14px;
}
.local-life-grid--visual .local-life-kicker {
  margin: 0;
  font-size: 13px;
}
.local-life-grid--visual .local-life-card h3 {
  margin-bottom: 12px;
  font-size: clamp(23px, 2vw, 29px);
  line-height: 1.45;
}
.local-life-grid--visual .local-life-card > p:not(.local-life-kicker),
.local-life-grid--visual .local-life-card-panel > p {
  margin: 0 0 12px;
  color: #3e5264;
  font-size: 14px;
  line-height: 1.85;
}
.local-life-grid--visual .local-life-note {
  color: #64766f;
  font-size: 11px;
  line-height: 1.65;
}
.local-life-card.is-featured {
  border: 2px solid rgba(247,159,31,.86);
  box-shadow: 0 22px 56px rgba(247,159,31,.20), 0 18px 44px rgba(25,67,55,.13);
  transform: translateY(-4px);
}
.local-life-card.is-featured .local-life-card-panel {
  border-color: rgba(247,159,31,.62);
}
.local-life-feature-badge {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f79f1f;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  box-shadow: 0 10px 22px rgba(247,159,31,.28);
}

@media (max-width: 820px) {
  .local-life-grid.local-life-grid--visual {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .local-life-grid--visual .local-life-card {
    min-height: 330px;
  }
  .local-life-card-panel {
    width: calc(100% - 36px);
    margin: 18px;
    padding: 22px;
  }
  .local-life-card.is-featured {
    transform: none;
  }
}

@media (max-width: 560px) {
  .local-life-heading {
    text-align: left;
  }
  .local-life-heading-line {
    display: inline;
  }
  .local-life-heading-line + .local-life-heading-line::before {
    content: " ";
  }
  .local-life-grid.local-life-grid--visual {
    margin-top: 28px;
  }
  .local-life-grid--visual .local-life-card {
    min-height: 360px;
    border-radius: 24px;
    background-position: center;
  }
  .local-life-card-panel {
    width: calc(100% - 28px);
    margin: 14px;
    padding: 20px 18px;
    border-radius: 20px;
  }
  .local-life-grid--visual .local-life-card h3 {
    font-size: 22px;
  }
  .local-life-feature-badge {
    top: 14px;
    right: 14px;
    padding: 8px 13px;
  }
}


/* === 2026-08-11 Dream Japan v15: local-life polish / migration order === */
@media (min-width: 900px) {
  .local-intro-section > .section-heading {
    max-width: 1080px;
  }
  .local-intro-section > .section-heading h2 {
    white-space: nowrap;
  }
}

.local-life-card-panel {
  background: rgba(255,255,255,.78);
  border-color: rgba(255,255,255,.62);
  box-shadow: 0 14px 34px rgba(10, 51, 74, .13);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.local-life-card.is-featured .local-life-card-panel {
  background: rgba(255,255,255,.80);
  border-color: rgba(247,159,31,.52);
}
.local-life-card-meta {
  gap: 0;
  margin-bottom: 14px;
}
.local-life-grid--visual .local-life-kicker {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(238,248,237,.76);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.migration-story-placeholder strong {
  color: #2b8a57;
}


/* === 2026-08-16 Dream Japan v17: life map / real migration interview / property nearby === */
.local-life-map-section{background:radial-gradient(circle at 10% 14%,rgba(46,126,78,.08),transparent 24%),radial-gradient(circle at 92% 8%,rgba(221,148,67,.12),transparent 22%),linear-gradient(180deg,#fbfdf9 0%,#f4f8f1 100%)}
.life-map-shell{max-width:1120px;margin:42px auto 0}
.life-map-paper{position:relative;min-height:650px;overflow:hidden;border:1px solid rgba(35,77,57,.14);border-radius:34px;background:linear-gradient(rgba(255,255,255,.56),rgba(255,255,255,.56)),repeating-linear-gradient(0deg,rgba(72,91,66,.025) 0,rgba(72,91,66,.025) 1px,transparent 1px,transparent 8px),#f3eee1;box-shadow:0 28px 70px rgba(41,68,51,.12)}
.life-map-paper::before,.life-map-paper::after{content:"";position:absolute;width:240px;height:170px;border:2px solid rgba(61,120,72,.11);border-radius:48% 52% 42% 58%;transform:rotate(-12deg)}
.life-map-paper::before{left:-70px;top:60px}.life-map-paper::after{right:-55px;bottom:38px;transform:rotate(17deg)}
.life-map-lines{position:absolute;inset:0;width:100%;height:100%}.life-map-road,.life-map-river{fill:none;stroke-linecap:round}.life-map-road{stroke:#d4c7aa;stroke-width:17;stroke-dasharray:5 11}.life-map-road--main{stroke:#c9b68b;stroke-width:28;stroke-dasharray:none;opacity:.68}.life-map-river{stroke:#9bc9d1;stroke-width:18;opacity:.55}
.life-map-center{position:absolute;left:50%;top:50%;width:230px;min-height:180px;transform:translate(-50%,-50%) rotate(-1.5deg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:26px;border:2px solid #6a8a67;border-radius:50% 44% 48% 46%;background:rgba(255,253,244,.94);box-shadow:0 14px 30px rgba(61,85,62,.12);text-align:center;z-index:2}
.life-map-center-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#2e7d4f;color:#fff;font-size:24px;font-weight:900}.life-map-center strong{color:#16436c;font-size:23px}.life-map-center small{color:#687266;line-height:1.6}
.life-map-pin{position:absolute;z-index:3;display:grid;grid-template-columns:50px 1fr;gap:12px;width:245px;padding:16px 17px;border:1px solid rgba(62,89,68,.16);border-radius:19px 22px 18px 24px;background:rgba(255,255,250,.92);box-shadow:0 12px 26px rgba(50,72,57,.10);transform:rotate(var(--pin-rotate,0deg))}
.life-map-pin-icon{display:grid;place-items:center;width:46px;height:46px;border:2px solid currentColor;border-radius:50% 45% 48% 44%;color:#2e7d4f;font-weight:900;background:#f8fbf3}.life-map-pin strong{display:block;margin:1px 0 5px;color:#173e67;font-size:16px}.life-map-pin p{margin:0;color:#647066;font-size:11px;line-height:1.65}
.life-map-pin--nature{left:5.5%;top:7%;--pin-rotate:-2deg}.life-map-pin--shopping{right:5%;top:10%;--pin-rotate:2deg}.life-map-pin--medical{left:4%;top:43%;--pin-rotate:1.5deg}.life-map-pin--school{right:4%;top:42%;--pin-rotate:-1.5deg}.life-map-pin--access{left:12%;bottom:8%;--pin-rotate:1deg}.life-map-pin--onsen{right:10%;bottom:8%;--pin-rotate:-2deg}.life-map-pin--onsen .life-map-pin-icon{color:#b7692d;background:#fff6e9}
.life-map-caption{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);width:min(640px,72%);margin:0;color:#758078;font-size:10px;line-height:1.6;text-align:center;z-index:4}.local-onsen-feature--final{max-width:1120px;margin:34px auto 0}

.migration-story-card--real{overflow:hidden}.migration-story-photo--image{min-height:360px;overflow:hidden;background:#dce8df}.migration-story-photo--image img{width:100%;height:100%;min-height:360px;display:block;object-fit:cover;object-position:center 25%}.migration-story-profile-copy{padding-right:10px}
.migration-profile-meta{display:flex;flex-wrap:wrap;gap:10px 22px;margin:18px 0}.migration-profile-meta p{margin:0}.migration-profile-meta strong,.migration-profile-meta span{display:block}.migration-profile-meta strong{color:#173e67;font-size:15px}.migration-profile-meta span{margin-top:3px;color:#6c7986;font-size:12px}.migration-story-lead{margin:0;color:#526476;line-height:1.9}
.migration-story-topic>div>p:not(.migration-story-kicker){color:#536578;line-height:1.9}.migration-condition-box{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;padding-top:16px;border-top:1px dashed #c5d0d9}.migration-condition-box span{padding:8px 11px;border-radius:999px;background:#eaf5ec;color:#2d7350;font-size:11px;font-weight:800}
.migration-quote{margin:18px 0 0;padding:18px 20px;border-left:4px solid #f79f1f;border-radius:0 16px 16px 0;background:#fffaf0;color:#173e67;font-size:18px;font-weight:800;line-height:1.7}
.migration-ba-pair{display:grid;grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);gap:14px;align-items:center}.migration-ba-pair--second{margin-top:26px}.migration-ba-photo--image{min-height:330px;overflow:hidden;background:#e9edf1}.migration-ba-photo--image img{width:100%;height:330px;display:block;object-fit:cover}.migration-ba-pair:first-of-type .migration-ba-item--before img,.migration-ba-pair:first-of-type .migration-ba-item--after img{object-position:center 52%}
.migration-life-gallery{margin-top:32px;padding-top:30px;border-top:1px solid #dfe7ef}.migration-life-gallery-copy{display:grid;grid-template-columns:.75fr 1.25fr;gap:26px;align-items:start;margin-bottom:20px}.migration-life-gallery-copy h4{grid-column:1;margin:0;color:#173e67;font-size:22px;line-height:1.55}.migration-life-gallery-copy>p:last-child{grid-column:2;grid-row:1/span 2;margin:0;color:#566879;line-height:1.9}
.migration-life-gallery-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.migration-life-gallery-grid figure{margin:0;overflow:hidden;border-radius:22px;background:#f0f3f5}.migration-life-gallery-grid img{width:100%;height:350px;display:block;object-fit:cover}.migration-life-gallery-grid figure:first-child img{object-position:center 52%}.migration-life-gallery-grid figcaption{padding:12px 15px 14px;background:#f5f8fa;color:#617181;font-size:12px}

.property-nearby-block .eyebrow{margin-bottom:8px;color:#2e7d4f}.property-nearby-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.property-nearby-grid>div{padding:17px 18px;border:1px solid #dfe7e2;border-radius:16px;background:#f8fbf8}.property-nearby-grid span,.property-nearby-grid strong{display:block}.property-nearby-grid span{color:#2e7d4f;font-size:11px;font-weight:900;letter-spacing:.04em}.property-nearby-grid strong{margin:5px 0;color:#173e67;font-size:15px}.property-nearby-grid p{margin:0;color:#6c7a74;font-size:11px;line-height:1.6}.property-nearby-note{margin-top:13px!important;color:#78857f!important;font-size:11px!important}

@media(max-width:900px){
.life-map-paper{min-height:760px}.life-map-center{width:200px;min-height:158px}.life-map-pin{width:220px}.life-map-pin--nature{left:3%;top:6%}.life-map-pin--shopping{right:3%;top:7%}.life-map-pin--medical{left:2.5%;top:38%}.life-map-pin--school{right:2.5%;top:39%}.life-map-pin--access{left:7%;bottom:10%}.life-map-pin--onsen{right:7%;bottom:10%}.migration-story-profile{grid-template-columns:280px 1fr;gap:28px}.migration-ba-photo--image img{height:290px}.migration-ba-photo--image{min-height:290px}}
@media(max-width:720px){
.life-map-paper{min-height:auto;display:grid;grid-template-columns:1fr;gap:12px;padding:24px 18px 54px}.life-map-lines{opacity:.32}.life-map-center,.life-map-pin,.life-map-caption{position:relative;inset:auto;left:auto;right:auto;top:auto;bottom:auto;transform:none;width:auto}.life-map-center{min-height:145px;margin-bottom:4px}.life-map-pin{grid-template-columns:48px 1fr}.life-map-caption{position:absolute;left:18px;right:18px;bottom:16px;width:auto;transform:none}.migration-story-profile{grid-template-columns:1fr}.migration-story-photo--image,.migration-story-photo--image img{min-height:0;height:420px}.migration-ba-pair{grid-template-columns:1fr}.migration-ba-pair .migration-ba-arrow{margin:0 auto;transform:rotate(90deg)}.migration-life-gallery-copy{grid-template-columns:1fr;gap:8px}.migration-life-gallery-copy h4,.migration-life-gallery-copy>p:last-child{grid-column:auto;grid-row:auto}.migration-life-gallery-grid{grid-template-columns:1fr}.migration-life-gallery-grid img{height:auto;max-height:480px}}
@media(max-width:560px){
.local-life-map-section .local-life-heading{text-align:left}.life-map-shell{margin-top:28px}.life-map-paper{border-radius:24px;padding:18px 14px 60px}.life-map-center{padding:20px}.life-map-center strong{font-size:20px}.life-map-pin{padding:14px;border-radius:17px}.local-onsen-feature--final{margin-top:24px}.migration-story-photo--image,.migration-story-photo--image img{height:340px}.migration-story-profile h3{font-size:26px}.migration-story-profile-copy{padding-right:0}.migration-profile-meta{display:grid;gap:10px}.migration-ba-photo--image,.migration-ba-photo--image img{min-height:0;height:245px}.migration-life-gallery-grid img{max-height:360px}.property-nearby-grid{grid-template-columns:1fr}}


/* === 2026-08-16 v19 sell page visual refinement === */
.page-hero-sell {
  position: relative;
  overflow: hidden;
  padding: 50px 0 56px;
  background:
    radial-gradient(circle at 14% 18%, rgba(229, 154, 53, .22), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(23, 104, 168, .18), transparent 32%),
    linear-gradient(180deg, #f4fbff 0%, #ffffff 100%);
}
.page-hero-sell::before {
  content: '';
  position: absolute;
  inset: auto auto -120px -80px;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  filter: blur(12px);
}
.page-hero-sell .page-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .85fr);
  gap: 42px;
  align-items: center;
}
.page-hero-sell .page-hero-copy h1 {
  margin: 8px 0 16px;
  color: var(--blue-900);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.25;
}
.page-hero-sell .page-hero-copy > p:last-of-type {
  margin: 0;
  max-width: 44rem;
  color: var(--muted);
}
.page-hero-sell .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px 14px;
  color: var(--blue-900);
  font-size: 13px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(11,47,95,.08);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(10,47,95,.08);
}
.sell-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.sell-hero-points span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: var(--blue-900);
  font-weight: 800;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(23,104,168,.12);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(10,47,95,.06);
}
.sell-hero-summary-card {
  margin-top: 22px;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.82));
  border: 1px solid rgba(23,104,168,.12);
  border-radius: 22px;
  box-shadow: 0 20px 38px rgba(10,47,95,.10);
}
.sell-hero-summary-card strong {
  display: block;
  color: var(--blue-900);
  font-size: 19px;
}
.sell-hero-summary-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
.page-hero-sell .page-hero-visual {
  position: relative;
}
.page-hero-sell .page-hero-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 26px 56px rgba(10,47,95,.16);
}
.page-hero-sell .page-hero-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 35%, rgba(7,31,61,.08) 100%);
}
.page-hero-sell .page-hero-photo-frame img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.page-hero-sell .page-hero-visual::after {
  content: '相談しやすさを大切に';
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  padding: 12px 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  background: rgba(7,31,61,.68);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0,0,0,.14);
  backdrop-filter: blur(8px);
}
.sell-intro-section {
  position: relative;
}
.split-layout-sell {
  align-items: stretch;
}
.sell-intro-copy,
.consult-box-sell {
  position: relative;
  padding: 36px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.sell-intro-copy {
  background: linear-gradient(180deg, #fff, #fbfeff);
}
.consult-box-sell {
  border: 1px solid rgba(23,104,168,.08);
}
.consult-box-sell::before {
  content: '';
  position: absolute;
  inset: 14px 14px auto auto;
  width: 92px;
  height: 92px;
  background: radial-gradient(circle, rgba(229,154,53,.16), rgba(229,154,53,0) 70%);
  pointer-events: none;
}
@media (max-width: 960px) {
  .page-hero-sell .page-hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .page-hero-sell .page-hero-photo-frame img {
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 640px) {
  .page-hero-sell {
    padding: 34px 0 40px;
  }
  .page-hero-sell .breadcrumb {
    margin-bottom: 14px;
    font-size: 12px;
  }
  .page-hero-sell .page-hero-copy h1 {
    font-size: clamp(30px, 8vw, 40px);
  }
  .sell-hero-points {
    gap: 8px;
  }
  .sell-hero-points span {
    padding: 8px 12px;
    font-size: 13px;
  }
  .sell-hero-summary-card,
  .sell-intro-copy,
  .consult-box-sell {
    padding: 22px 18px;
    border-radius: 22px;
  }
  .page-hero-sell .page-hero-visual::after {
    left: 14px;
    bottom: 14px;
    font-size: 12px;
  }
}


/* === 2026-08-16 v20 migration interview mobile spacing refinement === */
.migration-story-photo {
  margin: 0;
}
.migration-story-topic {
  display: block;
}
.migration-story-topic-heading {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.migration-story-topic-title {
  min-width: 0;
}
.migration-story-topic-title h4 {
  margin-bottom: 0;
}
.migration-story-topic-body {
  margin-top: 18px;
}
.migration-story-topic-body > p {
  margin: 0 0 14px;
  color: #536578;
  line-height: 1.9;
}
.migration-story-topic-body > p:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  /* Make the white interview card use more of the screen width. */
  .local-voices-section {
    padding-left: 8px;
    padding-right: 8px;
  }
  .migration-story-card {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 14px;
    border-radius: 20px;
  }
  .migration-story-profile {
    gap: 20px;
    padding-bottom: 24px;
  }
  .migration-story-photo {
    width: 100%;
    margin: 0;
    border-radius: 20px;
  }
  .migration-story-photo--image,
  .migration-story-photo--image img {
    width: 100%;
    height: 360px;
  }
  .migration-story-profile-copy {
    padding: 0 4px;
  }

  /* 01 / 02 are treated as the title row; body copy uses full card width below. */
  .migration-story-sections {
    gap: 14px;
    padding: 22px 0;
  }
  .migration-story-topic {
    padding: 18px 16px;
    border-radius: 20px;
  }
  .migration-story-topic-heading {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }
  .migration-story-number {
    width: 42px;
    height: 42px;
    font-size: 12px;
  }
  .migration-story-topic-title .migration-story-kicker {
    margin-top: 2px;
  }
  .migration-story-topic-title h4 {
    margin: 0;
    font-size: 21px;
    line-height: 1.55;
  }
  .migration-story-topic-body {
    margin-top: 18px;
  }
  .migration-story-topic-body > p {
    margin-left: 0;
    padding-left: 0;
    font-size: 16px;
    line-height: 1.9;
  }
  .migration-condition-box,
  .migration-quote {
    margin-left: 0;
  }
}


/* === 2026-08-16 v21 Yusui actual-map based life map === */
.life-map-visual {
  max-width: 1120px;
  margin: 38px auto 0;
  padding: 0;
}
.life-map-visual picture,
.life-map-visual img {
  display: block;
  width: 100%;
}
.life-map-visual img {
  height: auto;
  border: 1px solid rgba(35, 77, 57, .12);
  border-radius: 32px;
  box-shadow: 0 26px 64px rgba(41, 68, 51, .13);
  background: #f8f4e8;
}
.local-life-heading > p:last-child {
  max-width: 900px;
  color: #53675d;
  line-height: 2;
}
@media (max-width: 640px) {
  .life-map-visual {
    width: calc(100% + 8px);
    margin: 26px -4px 0;
  }
  .life-map-visual img {
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(41, 68, 51, .11);
  }
  .local-life-heading > p:last-child {
    font-size: 16px;
    line-height: 1.9;
  }
}


/* === 2026-08-16 v22 B-plan image based life map === */
.life-map-visual {
  max-width: 1120px;
}
.life-map-visual img {
  background: #f7f2e6;
  border: 1px solid rgba(74, 91, 76, .12);
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(62, 74, 67, .14);
}
@media (max-width: 640px) {
  .life-map-visual {
    width: 100%;
    margin: 24px 0 0;
  }
  .life-map-visual img {
    border-radius: 22px;
    box-shadow: 0 20px 42px rgba(62, 74, 67, .12);
  }
}


/* === 2026-08-16 final review: full-width LIFE MAP + nature page heroes === */

/* LIFE MAP: extend the soft green background to the full viewport width. */
.local-life-map-section {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding: 88px max(20px, calc((100% - var(--max)) / 2));
  background:
    radial-gradient(circle at 12% 12%, rgba(70, 145, 93, .10), transparent 27%),
    radial-gradient(circle at 88% 8%, rgba(229, 174, 96, .10), transparent 26%),
    linear-gradient(180deg, #f4f8f1 0%, #f8fbf6 55%, #f2f7ef 100%);
}
.local-life-map-section .local-life-heading,
.local-life-map-section .life-map-visual,
.local-life-map-section .local-onsen-feature {
  position: relative;
  z-index: 1;
}
.local-life-map-section .life-map-visual {
  max-width: var(--max);
}

/* Shared page hero image treatment.  The photos come from PHOTO GALLERY and
   are deliberately washed out so the existing typography remains readable. */
.page-hero-nature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #f5faf8;
  background-image: var(--page-hero-bg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.page-hero-nature::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(245, 251, 253, .91) 0%,
      rgba(250, 253, 252, .86) 48%,
      rgba(255, 249, 238, .84) 100%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.24));
}
.page-hero-nature > .section {
  position: relative;
  z-index: 1;
}
.page-hero-properties { --page-hero-bg: url('../images/pagehero-properties-pc.webp'); }
.page-hero-sellbg    { --page-hero-bg: url('../images/pagehero-sell-pc.webp'); }
.page-hero-local     { --page-hero-bg: url('../images/pagehero-local-pc.webp'); }
.page-hero-about     { --page-hero-bg: url('../images/pagehero-about-pc.webp'); }
.page-hero-contact   { --page-hero-bg: url('../images/pagehero-contact-pc.webp'); }

/* Keep the sell page's photo/card composition above the background wash. */
.page-hero-sell.page-hero-nature {
  background-color: #f5faf8;
  background-image: var(--page-hero-bg);
  background-size: cover;
  background-position: center center;
}
.page-hero-sell.page-hero-nature::before {
  opacity: .45;
}
.page-hero-sell.page-hero-nature .page-hero-layout {
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .local-life-map-section {
    padding: 58px 14px;
    background:
      radial-gradient(circle at 16% 8%, rgba(70,145,93,.10), transparent 28%),
      linear-gradient(180deg, #f4f8f1 0%, #f8fbf6 58%, #f2f7ef 100%);
  }
  .page-hero-properties { --page-hero-bg: url('../images/pagehero-properties-sp.webp'); }
  .page-hero-sellbg    { --page-hero-bg: url('../images/pagehero-sell-sp.webp'); }
  .page-hero-local     { --page-hero-bg: url('../images/pagehero-local-sp.webp'); }
  .page-hero-about     { --page-hero-bg: url('../images/pagehero-about-sp.webp'); }
  .page-hero-contact   { --page-hero-bg: url('../images/pagehero-contact-sp.webp'); }
  .page-hero-nature {
    background-position: center center;
  }
  .page-hero-nature::after {
    background:
      linear-gradient(180deg,
        rgba(248,252,253,.90) 0%,
        rgba(250,253,252,.87) 56%,
        rgba(255,249,238,.86) 100%);
  }
}


/* === 2026-08-16 v25 TOP FV subtle motion === */
.hero.has-photo-bg.hero-reference-style {
  isolation: isolate;
  background: #173d5b;
}

/* Background photo is separated from the text layer so it can gently appear and zoom. */
.hero.has-photo-bg.hero-reference-style::after {
  content: "";
  position: absolute;
  inset: -2%;
  z-index: 0;
  pointer-events: none;
  background: url('../images/hero-yusui.jpg') center center / cover no-repeat;
  opacity: .14;
  transform: scale(1.065);
  transform-origin: center center;
  animation: djHeroPhotoReveal 8s cubic-bezier(.16, .72, .18, 1) .35s both;
  will-change: opacity, transform;
}

/* Keep the text readable without putting a large panel over the scenery. */
.hero.has-photo-bg.hero-reference-style::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(8, 35, 58, .34) 0%, rgba(8, 35, 58, .20) 48%, rgba(8, 35, 58, .12) 72%, rgba(8, 35, 58, .08) 100%),
    linear-gradient(180deg, rgba(7, 31, 61, .34) 0%, rgba(7, 31, 61, .20) 52%, rgba(7, 31, 61, .30) 100%);
  opacity: .98;
  animation: djHeroShadeRelease 2.5s ease .35s both;
}

.hero-reference-style .hero-reference-inner {
  position: relative;
  z-index: 2;
}

.hero-reference-style .hero-kicker,
.hero-reference-style .hero-main-title,
.hero-reference-style .hero-main-lead,
.hero-reference-style .hero-message-stack span,
.hero-reference-style .hero-actions-fv,
.hero-reference-style .hero-contact-inline {
  opacity: 0;
  transform: translateY(14px);
  animation: djHeroCopyReveal .78s cubic-bezier(.22, .74, .22, 1) both;
  will-change: opacity, transform;
}

.hero-reference-style .hero-kicker { animation-delay: .06s; }
.hero-reference-style .hero-main-title { animation-delay: .24s; }
.hero-reference-style .hero-main-lead { animation-delay: .48s; }
.hero-reference-style .hero-message-stack span:nth-child(1) { animation-delay: .72s; }
.hero-reference-style .hero-message-stack span:nth-child(2) { animation-delay: .88s; }
.hero-reference-style .hero-message-stack span:nth-child(3) { animation-delay: 1.04s; }
.hero-reference-style .hero-actions-fv { animation-delay: 1.28s; }
.hero-reference-style .hero-contact-inline { animation-delay: 1.46s; }

/* Stronger but soft shadows keep white text legible over bright sky/greenery. */
.hero-reference-style .hero-kicker {
  text-shadow: 0 2px 15px rgba(3, 21, 38, .62);
}
.hero-reference-style .hero-main-title {
  text-shadow: 0 4px 24px rgba(3, 21, 38, .72), 0 1px 2px rgba(3, 21, 38, .75);
}
.hero-reference-style .hero-main-lead {
  text-shadow: 0 2px 14px rgba(3, 21, 38, .72), 0 1px 2px rgba(3, 21, 38, .72);
}

/* Keep the three benefit labels lighter than the old solid black treatment. */
.hero-reference-style .hero-message-stack span {
  background: rgba(6, 30, 50, .68);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(3, 21, 38, .18);
  backdrop-filter: blur(2px);
}

.hero-reference-style .hero-actions-fv .btn {
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.hero-reference-style .hero-actions-fv .btn:hover {
  transform: translateY(-2px);
}

@keyframes djHeroCopyReveal {
  0% { opacity: 0; transform: translateY(14px); filter: blur(2px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes djHeroPhotoReveal {
  0% { opacity: .14; transform: scale(1.065); filter: saturate(.84) brightness(.86); }
  26% { opacity: .76; }
  100% { opacity: 1; transform: scale(1); filter: saturate(1) brightness(1); }
}

@keyframes djHeroShadeRelease {
  0% { opacity: 1; }
  100% { opacity: .72; }
}

@media (max-width: 960px) {
  .hero.has-photo-bg.hero-reference-style::after {
    background-position: 56% center;
  }
}

@media (max-width: 640px) {
  .hero.has-photo-bg.hero-reference-style::after {
    inset: -1.5%;
    background-position: 60% center;
    transform: scale(1.045);
    animation-duration: 7s;
  }
  .hero.has-photo-bg.hero-reference-style::before {
    background:
      linear-gradient(180deg, rgba(7, 31, 61, .38) 0%, rgba(7, 31, 61, .19) 42%, rgba(7, 31, 61, .34) 100%),
      radial-gradient(ellipse at center, rgba(7, 31, 61, .20), rgba(7, 31, 61, .08) 72%);
  }
  .hero-reference-style .hero-kicker,
  .hero-reference-style .hero-main-title,
  .hero-reference-style .hero-main-lead,
  .hero-reference-style .hero-message-stack span,
  .hero-reference-style .hero-actions-fv,
  .hero-reference-style .hero-contact-inline {
    transform: translateY(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.has-photo-bg.hero-reference-style::after,
  .hero.has-photo-bg.hero-reference-style::before,
  .hero-reference-style .hero-kicker,
  .hero-reference-style .hero-main-title,
  .hero-reference-style .hero-main-lead,
  .hero-reference-style .hero-message-stack span,
  .hero-reference-style .hero-actions-fv,
  .hero-reference-style .hero-contact-inline {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* === 2026-08-19 Dream Japan v28: shared responsive life map / migration photo update / official onsen link === */
.life-map-scroll {
  overflow: hidden;
  border: 1px solid rgba(74, 91, 76, .12);
  border-radius: 28px;
  background: #f7f2e6;
  box-shadow: 0 28px 60px rgba(62, 74, 67, .14);
}
.life-map-scroll img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.life-map-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 0 4px;
  color: #6e7b73;
  font-size: 11px;
  line-height: 1.7;
}
.life-map-swipe-hint {
  display: none;
  flex: 0 0 auto;
  color: #2e7d4f;
  font-weight: 800;
}
.life-map-mobile-index {
  display: none;
}

.local-onsen-official-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 999px;
  background: #fff;
  color: #0c315f;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}
.local-onsen-official-link:hover {
  transform: translateY(-2px);
  background: #fff8ed;
}
.local-onsen-official-link span {
  font-size: 15px;
}

/* The indoor Before/After photos are both portrait-oriented, so keep the same frame ratio. */
.migration-ba-pair--second .migration-ba-photo--image {
  min-height: 0;
  height: auto;
  aspect-ratio: 4 / 5;
  background: #f0eee8;
}
.migration-ba-pair--second .migration-ba-photo--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Both DAILY SCENES photos are landscape-oriented after the photo swap. */
.migration-life-gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.migration-life-gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 640px) {
  .life-map-visual {
    width: 100%;
    margin-top: 24px;
  }
  .life-map-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 22px;
    box-shadow: 0 20px 42px rgba(62, 74, 67, .12);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  .life-map-scroll img {
    width: 820px;
    max-width: none;
  }
  .life-map-note {
    display: block;
    margin-top: 10px;
    padding: 0 2px;
    font-size: 10px;
  }
  .life-map-swipe-hint {
    display: block;
    margin-top: 5px;
  }
  .life-map-mobile-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 1120px;
    margin: 16px auto 0;
  }
  .life-map-mobile-index > div {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 2px 8px;
    align-items: start;
    padding: 12px;
    border: 1px solid rgba(46,125,79,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.76);
  }
  .life-map-index-no {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #2e7d4f;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
  }
  .life-map-mobile-index > div:nth-child(6) .life-map-index-no {
    background: #7a4a94;
  }
  .life-map-mobile-index strong {
    color: #173e67;
    font-size: 13px;
    line-height: 1.45;
  }
  .life-map-mobile-index small {
    color: #68766d;
    font-size: 10px;
    line-height: 1.55;
  }
  .migration-life-gallery-grid {
    grid-template-columns: 1fr;
  }
  .local-onsen-official-link {
    width: 100%;
    align-self: stretch;
  }
}

@media (max-width: 420px) {
  .life-map-mobile-index {
    grid-template-columns: 1fr;
  }
}


/* === 2026-08-19 Dream Japan v30: migration / local-life final polish === */
.migration-instagram-cta {
  margin-top: 34px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(247, 159, 31, .28);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,248,235,.96));
}
.migration-instagram-cta > div { max-width: 680px; }
.migration-instagram-cta h4 {
  margin: 5px 0 10px;
  color: var(--blue-900);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.45;
}
.migration-instagram-cta p:not(.migration-story-kicker) {
  margin: 0;
  color: #4e5f75;
  line-height: 1.85;
}
.migration-instagram-cta .btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 760px) {
  .migration-instagram-cta {
    padding: 24px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .migration-instagram-cta .btn { width: 100%; text-align: center; }
}


/* === 2026-08-19 Dream Japan v31: onsen-led local intro / migration interview heading === */
.local-life-map-section .local-onsen-feature--final {
  margin-top: 34px;
}
.local-migration-heading {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.local-migration-heading .eyebrow {
  margin-bottom: 16px;
  color: #1f7c46;
  letter-spacing: .22em;
}
.local-migration-heading h2 {
  margin-bottom: 18px;
  color: var(--blue-900);
}
.local-migration-heading > p:last-child {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  line-height: 2;
}
@media (max-width: 640px) {
  .local-life-map-section .local-onsen-feature--final {
    margin-top: 26px;
  }
  .local-migration-heading > p:last-child {
    font-size: 16px;
    line-height: 1.9;
  }
}

/* === v32 WordPress managed news / properties === */
.news-title-link {
  color: inherit;
  text-decoration: none;
}
.news-title-link:hover {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.news-item-empty {
  grid-template-columns: 1fr;
  text-align: center;
}
.news-item-empty h3 {
  grid-column: 1 / -1;
}
.property-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 36px;
  color: #fff;
  text-align: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 20px;
}
.property-image {
  overflow: hidden;
}
.property-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-image > span {
  position: relative;
  z-index: 1;
}
.property-image em,
.property-image .property-recommend-badge,
.property-image .property-negotiating-badge,
.property-image .property-sold-badge {
  z-index: 3;
}
.property-negotiating-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 12px;
  color: #fff;
  background: rgba(180, 112, 24, .94);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.property-sold-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 12px;
  color: #fff;
  background: rgba(10, 47, 95, .9);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.property-image.is-sold::after {
  z-index: 2;
}
.property-image.is-sold .property-card-image {
  filter: saturate(.55);
}

/* Property detail */
.property-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, .72fr);
  gap: 36px;
  align-items: start;
}
.property-detail-main {
  min-width: 0;
}
.detail-photo-main {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 460px;
  color: #fff;
  background: linear-gradient(135deg, #9bcbe6, #377fae 55%, #1d456a);
  border-radius: 28px;
  box-shadow: var(--shadow);
  font-weight: 900;
}
.detail-main-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-photo-main > span {
  position: relative;
  z-index: 1;
}
.detail-photo-main em {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  padding: 7px 13px;
  color: var(--blue-900);
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-style: normal;
}
.detail-photo-main .property-recommend-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
}
.detail-photo-main .property-negotiating-badge,
.detail-photo-main .property-sold-badge {
  z-index: 4;
}
.detail-photo-main.is-sold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(18, 68, 117, .48);
}
.detail-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.detail-gallery-item {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eef4f8;
  border-radius: 18px;
}
.detail-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-block {
  margin-top: 30px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(10,47,95,.07);
}
.detail-block h2 {
  margin-top: 0;
  color: var(--blue-900);
}
.detail-check-list {
  margin-top: 18px;
}
.property-detail-side {
  position: sticky;
  top: 96px;
}
.detail-summary-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.detail-summary-card h2 {
  margin: 4px 0 10px;
  color: var(--blue-900);
  font-size: 24px;
  line-height: 1.45;
}
.detail-price {
  margin: 0 0 20px;
  color: var(--orange);
  font-size: 30px;
  font-weight: 900;
}
.detail-spec-table {
  margin: 0;
  border-top: 1px solid var(--line);
}
.detail-spec-table > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.detail-spec-table dt {
  color: var(--muted);
  font-weight: 700;
}
.detail-spec-table dd {
  margin: 0;
  color: var(--blue-900);
  font-weight: 800;
}
.detail-note {
  margin: 20px 0 0;
  color: var(--muted);
}
.detail-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.detail-actions .btn {
  width: 100%;
  text-align: center;
}
.btn-instagram {
  color: var(--blue-900);
  background: #fff;
  border: 1px solid var(--line);
}
.property-map-wrap {
  overflow: hidden;
  margin-top: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #eef4f8;
}
.property-map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}
.map-placeholder {
  margin-top: 18px;
  padding: 54px 24px;
  color: var(--muted);
  text-align: center;
  background: #eef4f8;
  border: 1px dashed #a8bdcf;
  border-radius: 20px;
}
.property-nearby-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.property-nearby-grid > div {
  padding: 18px;
  background: #f6fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.property-nearby-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 900;
}
.property-nearby-grid strong {
  display: block;
  color: var(--blue-900);
}
.property-nearby-grid p {
  margin: 8px 0 0;
}
.property-nearby-note {
  margin-top: 18px !important;
  padding: 14px 16px;
  background: #fff8ee;
  border-radius: 14px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.related-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(10,47,95,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(10,47,95,.12);
}
.related-card span {
  color: var(--green-700);
  font-size: 13px;
  font-weight: 900;
}
.related-card strong {
  color: var(--blue-900);
  line-height: 1.55;
}
.related-card small {
  color: var(--muted);
}

/* News detail */
.news-detail-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}
.news-detail-meta time {
  color: var(--muted);
  font-weight: 800;
}
.news-detail-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 16px 44px rgba(10,47,95,.08);
}
.news-detail-image {
  overflow: hidden;
  margin-bottom: 28px;
  border-radius: 20px;
}
.news-detail-image img {
  width: 100%;
  height: auto;
}
.news-detail-content {
  color: var(--blue-900);
  line-height: 2;
}
.news-detail-content > *:first-child { margin-top: 0; }
.news-detail-content img { max-width: 100%; height: auto; }

@media (max-width: 960px) {
  .property-detail-layout {
    grid-template-columns: 1fr;
  }
  .property-detail-side {
    position: static;
  }
  .detail-photo-main {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .detail-photo-main {
    min-height: 280px;
    border-radius: 20px;
  }
  .detail-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-block,
  .detail-summary-card,
  .news-detail-card {
    padding: 22px;
    border-radius: 20px;
  }
  .property-nearby-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
  .property-map-wrap iframe {
    height: 320px;
  }
  .detail-spec-table > div {
    grid-template-columns: 78px 1fr;
  }
  .news-detail-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* === v38 News cards: whole-card link to full article === */
.news-item-link-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.news-item-link-card:hover,
.news-item-link-card:focus-visible {
  color: inherit;
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(24, 104, 166, .32);
  box-shadow: 0 16px 38px rgba(10, 47, 95, .13);
  outline: none;
}
.news-item-link-card:hover h3,
.news-item-link-card:focus-visible h3 {
  color: var(--green-700);
}
.news-read-more {
  grid-column: 3;
  justify-self: end;
  margin-top: -2px;
  color: var(--blue-700, #1767a6);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .03em;
}
.news-item-link-card:hover .news-read-more,
.news-item-link-card:focus-visible .news-read-more {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 760px) {
  .news-read-more {
    grid-column: auto;
    justify-self: start;
    margin-top: 2px;
  }
}


/* === v39 property cards: address title hidden / image emphasized === */
.property-card .property-image {
  min-height: 0;
  aspect-ratio: 4 / 3;
}
.property-card .property-body {
  padding-top: 18px;
}
.property-card .property-body .property-type {
  margin-bottom: 10px !important;
}

/* === v39 Contact Form 7 integration === */
.dreamjapan-cf7-wrap .wpcf7,
.dreamjapan-cf7-wrap .wpcf7-form {
  width: 100%;
}
.dreamjapan-cf7-wrap .wpcf7-form {
  display: grid;
  gap: 14px;
  margin: 0;
}
.dreamjapan-cf7-wrap .wpcf7-form > p {
  margin: 0;
}
.dreamjapan-cf7-wrap .wpcf7-form label {
  display: grid;
  gap: 6px;
  color: var(--blue-900);
  font-size: 14px;
  font-weight: 900;
}
.dreamjapan-cf7-wrap .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 6px;
}
.dreamjapan-cf7-wrap input[type="text"],
.dreamjapan-cf7-wrap input[type="email"],
.dreamjapan-cf7-wrap input[type="tel"],
.dreamjapan-cf7-wrap select,
.dreamjapan-cf7-wrap textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  font: inherit;
}
.dreamjapan-cf7-wrap input[type="text"]:focus,
.dreamjapan-cf7-wrap input[type="email"]:focus,
.dreamjapan-cf7-wrap input[type="tel"]:focus,
.dreamjapan-cf7-wrap select:focus,
.dreamjapan-cf7-wrap textarea:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(23, 104, 168, .13);
}
.dreamjapan-cf7-wrap input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 28px;
  color: #fff;
  background: var(--blue-700);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform .2s ease, opacity .2s ease;
}
.dreamjapan-cf7-wrap input[type="submit"]:hover {
  transform: translateY(-1px);
  opacity: .92;
}
.dreamjapan-cf7-wrap .wpcf7-list-item {
  margin-left: 0;
}
.dreamjapan-cf7-wrap .wpcf7-not-valid-tip {
  margin-top: 5px;
  font-size: 12px;
}
.dreamjapan-cf7-wrap .wpcf7-response-output {
  margin: 8px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 12px;
}
.contact-form-fallback p {
  margin: 0 0 14px;
}

@media (max-width: 640px) {
  .property-card .property-image {
    aspect-ratio: 4 / 3;
  }
}


/* === v40 Contact Form 7 radio / checkbox layout fix ===
   The original .contact-form input rule is intended for text fields, but also
   affects CF7 radio/checkbox controls. Reset those controls and keep choices
   aligned horizontally/cleanly on both PC and mobile. */
.dreamjapan-cf7-wrap input[type="radio"],
.dreamjapan-cf7-wrap input[type="checkbox"] {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  background: #fff;
  flex: 0 0 18px;
  accent-color: var(--blue-700);
}
.dreamjapan-cf7-wrap input[type="checkbox"] {
  border-radius: 4px !important;
}
.dreamjapan-cf7-wrap .wpcf7-radio,
.dreamjapan-cf7-wrap .wpcf7-checkbox,
.dreamjapan-cf7-wrap .wpcf7-acceptance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  width: 100%;
}
.dreamjapan-cf7-wrap .wpcf7-radio .wpcf7-list-item,
.dreamjapan-cf7-wrap .wpcf7-checkbox .wpcf7-list-item,
.dreamjapan-cf7-wrap .wpcf7-acceptance .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
}
.dreamjapan-cf7-wrap .wpcf7-radio .wpcf7-list-item label,
.dreamjapan-cf7-wrap .wpcf7-checkbox .wpcf7-list-item label,
.dreamjapan-cf7-wrap .wpcf7-acceptance .wpcf7-list-item label {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  color: var(--text) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.5;
  cursor: pointer;
}
.dreamjapan-cf7-wrap .wpcf7-list-item-label {
  display: inline !important;
  white-space: nowrap;
}
.dreamjapan-cf7-wrap .wpcf7-acceptance .wpcf7-list-item-label {
  white-space: normal;
}
.dreamjapan-cf7-wrap .wpcf7-spinner {
  margin: 8px 0 0 12px;
  vertical-align: middle;
}

@media (max-width: 640px) {
  .dreamjapan-cf7-wrap .wpcf7-radio,
  .dreamjapan-cf7-wrap .wpcf7-checkbox {
    gap: 10px 18px;
  }
}


/* === v42 Migration interview BEFORE closet photo framing fix ===
   Show the full supplied photograph without cover-cropping so the right-side
   window/glass area remains visible as requested. */
.migration-ba-pair--second .migration-ba-item--before .migration-ba-photo--image {
  background: #e9edf1;
}
.migration-ba-pair--second .migration-ba-item--before .migration-ba-photo--image img {
  object-fit: contain !important;
  object-position: center center !important;
}


/* === v43 property listing details === */
.property-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(12, 57, 91, .14);
  border-left: 1px solid rgba(12, 57, 91, .14);
  margin-top: 22px;
}
.property-legal-item {
  display: grid;
  grid-template-columns: minmax(110px, 32%) 1fr;
  min-width: 0;
  border-right: 1px solid rgba(12, 57, 91, .14);
  border-bottom: 1px solid rgba(12, 57, 91, .14);
  background: #fff;
}
.property-legal-item dt,
.property-legal-item dd {
  margin: 0;
  padding: 13px 15px;
  line-height: 1.7;
}
.property-legal-item dt {
  background: #f4f8fb;
  color: #123d61;
  font-weight: 700;
}
.property-legal-item dd {
  color: #263b4c;
  overflow-wrap: anywhere;
}
.property-legal-item.is-wide {
  grid-column: 1 / -1;
}
.dj-admin-field-wide {
  grid-column: 1 / -1;
}
@media (max-width: 767px) {
  .property-legal-grid { grid-template-columns: 1fr; }
  .property-legal-item.is-wide { grid-column: auto; }
  .property-legal-item { grid-template-columns: 105px 1fr; }
  .property-legal-item dt,
  .property-legal-item dd { padding: 11px 12px; }
}


/* === v44 Migration BEFORE/AFTER photo framing ===
   BEFORE（押入れ）は元画像の比率のまま表示し、上下の余白をなくす。
   AFTERは従来の見栄えを維持し、拡大・トリミングしない。 */
.migration-ba-pair--second {
  align-items: flex-start;
}

.migration-ba-pair--second .migration-ba-item--before .migration-ba-photo--image {
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
  background: transparent !important;
  overflow: hidden;
}

.migration-ba-pair--second .migration-ba-item--before .migration-ba-photo--image img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: initial !important;
  object-position: initial !important;
}

.migration-ba-pair--second .migration-ba-item--after .migration-ba-photo--image img {
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

@media (max-width: 767px) {
  .migration-ba-pair--second .migration-ba-item--before .migration-ba-photo--image,
  .migration-ba-pair--second .migration-ba-item--before .migration-ba-photo--image img {
    height: auto !important;
  }
}


/* === v45 Migration BEFORE/AFTER same-size layout ===
   2つ目のBEFORE/AFTERは同じサイズで表示。
   AFTERは横画像を使用し、無理な縦長トリミングを避ける。 */
.migration-ba-pair--second {
  align-items: center !important;
}

.migration-ba-pair--second .migration-ba-photo--image {
  min-height: 330px !important;
  height: 330px !important;
  background: #e9edf1 !important;
  overflow: hidden !important;
}

.migration-ba-pair--second .migration-ba-photo--image img {
  display: block !important;
  width: 100% !important;
  height: 330px !important;
  object-fit: cover !important;
}

.migration-ba-pair--second .migration-ba-item--before .migration-ba-photo--image img,
.migration-ba-pair--second .migration-ba-item--after .migration-ba-photo--image img {
  object-position: center center !important;
}

@media (max-width: 1100px) {
  .migration-ba-pair--second .migration-ba-photo--image {
    min-height: 290px !important;
    height: 290px !important;
  }
  .migration-ba-pair--second .migration-ba-photo--image img {
    height: 290px !important;
  }
}

@media (max-width: 767px) {
  .migration-ba-pair--second .migration-ba-photo--image {
    min-height: 245px !important;
    height: 245px !important;
  }
  .migration-ba-pair--second .migration-ba-photo--image img {
    height: 245px !important;
  }
}


/* === v46 Migration BEFORE/AFTER final matching frame ===
   2つ目は左右を完全に同サイズ化。
   BEFOREの元画像比率（1440:1071）をフレーム比率に採用し、
   AFTERは横長版を使用。比率差がごく小さいため、ほぼ全景を保ったまま揃える。 */
.migration-ba-pair--second {
  align-items: start !important;
}

.migration-ba-pair--second .migration-ba-item {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.migration-ba-pair--second .migration-ba-item .migration-ba-photo--image {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1440 / 1071 !important;
  overflow: hidden !important;
  background: #e9edf1 !important;
}

.migration-ba-pair--second .migration-ba-item .migration-ba-photo--image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  transform: none !important;
}

/* BEFOREは添付写真の全体感をそのまま。 */
.migration-ba-pair--second .migration-ba-item--before .migration-ba-photo--image img {
  object-position: center center !important;
}

/* AFTERは室内の奥行き・床面・窓がバランスよく見える位置に微調整。 */
.migration-ba-pair--second .migration-ba-item--after .migration-ba-photo--image img {
  object-position: 50% 48% !important;
}

@media (max-width: 720px) {
  .migration-ba-pair--second .migration-ba-item .migration-ba-photo--image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1440 / 1071 !important;
  }
  .migration-ba-pair--second .migration-ba-item .migration-ba-photo--image img {
    width: 100% !important;
    height: 100% !important;
  }
}


/* === v47 Migration BEFORE/AFTER visual tuning ===
   2段目をユーザー確認イメージに寄せて、左右とも同サイズ・自然な見え方に最終調整 */
.migration-ba-pair--second {
  grid-template-columns: minmax(0,1fr) 54px minmax(0,1fr) !important;
  gap: 20px !important;
  align-items: center !important;
}
.migration-ba-pair--second .migration-ba-item {
  width: 100% !important;
  min-width: 0 !important;
}
.migration-ba-pair--second .migration-ba-photo--image {
  min-height: 330px !important;
  height: 330px !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  background: #e9edf1 !important;
}
.migration-ba-pair--second .migration-ba-photo--image img {
  display: block !important;
  width: 100% !important;
  height: 330px !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover !important;
  transform: none !important;
}
.migration-ba-pair--second .migration-ba-item--before .migration-ba-photo--image img {
  object-position: center 48% !important;
}
.migration-ba-pair--second .migration-ba-item--after .migration-ba-photo--image img {
  object-position: center 46% !important;
}
@media (max-width: 1180px) {
  .migration-ba-pair--second .migration-ba-photo--image {
    min-height: 290px !important;
    height: 290px !important;
  }
  .migration-ba-pair--second .migration-ba-photo--image img {
    height: 290px !important;
  }
}
@media (max-width: 720px) {
  .migration-ba-pair--second {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .migration-ba-pair--second .migration-ba-photo--image {
    min-height: 245px !important;
    height: 245px !important;
  }
  .migration-ba-pair--second .migration-ba-photo--image img {
    height: 245px !important;
  }
}


/* v54: 物件一覧カードの物件管理番号 */
.property-management-number {
  margin: 0.2rem 0 0.65rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-text, #333);
}


/* === v58 Forest sale section =========================================== */
.forest-sale-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(circle at 9% 12%, rgba(81, 123, 89, .13), transparent 25%),
    radial-gradient(circle at 92% 82%, rgba(210, 151, 61, .12), transparent 26%),
    linear-gradient(180deg, #f4f7f1 0%, #eef4ed 100%);
}
.forest-sale-section::before,
.forest-sale-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  border: 1px solid rgba(49, 92, 61, .10);
}
.forest-sale-section::before {
  width: 360px;
  height: 360px;
  top: -210px;
  right: -100px;
}
.forest-sale-section::after {
  width: 260px;
  height: 260px;
  bottom: -150px;
  left: -80px;
}
.forest-sale-inner {
  position: relative;
  z-index: 1;
}
.forest-sale-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 56px;
  align-items: end;
}
.forest-sale-heading h2 {
  margin: 8px 0 0;
  color: #244832;
  font-size: clamp(30px, 3.7vw, 48px);
  line-height: 1.4;
  letter-spacing: .01em;
}
.forest-sale-heading > p {
  margin: 0;
  color: #59675e;
  font-size: 16px;
  line-height: 2;
}
.forest-sale-lead {
  position: relative;
  margin-top: 34px;
  padding: 24px 30px 24px 34px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(49, 92, 61, .12);
  border-left: 5px solid #527c5b;
  border-radius: 0 22px 22px 0;
  box-shadow: 0 18px 42px rgba(46, 77, 52, .08);
}
.forest-sale-lead strong {
  display: block;
  color: #244832;
  font-size: 20px;
  line-height: 1.65;
}
.forest-sale-lead p {
  margin: 8px 0 0;
  color: #667268;
  line-height: 1.85;
}
.forest-flow-wrap {
  position: relative;
  margin-top: 42px;
}
.forest-flow-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.forest-flow-card {
  position: relative;
  min-height: 274px;
  padding: 25px 18px 22px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(51, 91, 59, .12);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(50, 82, 55, .07);
}
.forest-flow-card:not(:last-child)::after {
  content: "›";
  position: absolute;
  z-index: 3;
  top: 48px;
  right: -12px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  color: #5c7d61;
  font-size: 22px;
  font-weight: 900;
  background: #f1f6ef;
  border: 1px solid rgba(49,92,61,.13);
  border-radius: 999px;
}
.forest-flow-no {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .05em;
  background: #315c3d;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(49,92,61,.19);
}
.forest-flow-card h3 {
  min-height: 58px;
  margin: 20px 0 12px;
  color: #244832;
  font-size: 17px;
  line-height: 1.55;
}
.forest-flow-card p {
  margin: 0;
  color: #68736b;
  font-size: 13px;
  line-height: 1.85;
}
.forest-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.forest-focus-grid article {
  position: relative;
  padding: 28px 28px 26px;
  background: linear-gradient(145deg, rgba(36,72,50,.98), rgba(53,91,63,.96));
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(33,68,45,.14);
}
.forest-focus-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #f4cf8b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}
.forest-focus-grid h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.5;
}
.forest-focus-grid p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.9;
}
.forest-sale-bottom {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid rgba(49,92,61,.12);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(50,82,55,.08);
}
.forest-sale-bottom > div {
  max-width: 720px;
}
.forest-sale-bottom strong {
  color: #244832;
  font-size: 19px;
}
.forest-sale-bottom p {
  margin: 7px 0 0;
  color: #68736b;
  font-size: 14px;
  line-height: 1.8;
}
.forest-sale-bottom .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.forest-sale-note {
  margin: 16px 2px 0;
  color: #748078;
  font-size: 12px;
  line-height: 1.75;
}
.sp-only {
  display: none;
}

@media (max-width: 1100px) {
  .forest-flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .forest-flow-card {
    min-height: 238px;
  }
  .forest-flow-card::after {
    display: none !important;
  }
}
@media (max-width: 820px) {
  .forest-sale-section {
    padding: 70px 0;
  }
  .forest-sale-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .forest-sale-heading > p {
    font-size: 15px;
  }
  .forest-focus-grid {
    grid-template-columns: 1fr;
  }
  .forest-sale-bottom {
    display: grid;
    gap: 20px;
    align-items: start;
  }
  .forest-sale-bottom .btn {
    width: fit-content;
  }
}
@media (max-width: 640px) {
  .forest-sale-section {
    padding: 56px 0;
  }
  .forest-sale-heading h2 {
    font-size: clamp(27px, 7.6vw, 35px);
  }
  .forest-sale-lead {
    margin-top: 24px;
    padding: 20px 18px 20px 21px;
    border-radius: 0 18px 18px 0;
  }
  .forest-sale-lead strong {
    font-size: 17px;
  }
  .forest-flow-wrap {
    margin-top: 28px;
  }
  .forest-flow-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .forest-flow-card {
    min-height: 0;
    padding: 20px 18px;
    border-radius: 18px;
  }
  .forest-flow-card h3 {
    min-height: 0;
    margin: 14px 0 8px;
    font-size: 17px;
  }
  .forest-flow-no {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
  .forest-focus-grid {
    margin-top: 20px;
    gap: 12px;
  }
  .forest-focus-grid article {
    padding: 22px 20px;
    border-radius: 19px;
  }
  .forest-sale-bottom {
    margin-top: 20px;
    padding: 22px 18px;
    border-radius: 19px;
  }
  .forest-sale-bottom .btn {
    width: 100%;
    text-align: center;
  }
  .forest-sale-note {
    font-size: 11px;
  }
  .sp-only {
    display: inline;
  }
}
