:root {
  --ink: #0f172a;
  --muted: #475569;
  --line: #dbe2ea;
  --soft: #f7f9fb;
  --brand: #166534;
  --max: 1100px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic", Meiryo, Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.header-table {
  width: 100%;
  border-collapse: collapse;
}
.header-table td {
  vertical-align: middle;
  padding: 10px 0;
}
.brand-logo {
  width: 216px;
  height: auto;
  display: block;
}
.nav {
  text-align: right;
  white-space: nowrap;
}
.nav a {
  display: inline-block;
  padding: 7px 8px;
  margin-left: 2px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 7px;
}
.nav a.active,
.nav a[aria-current="page"] {
  color: var(--brand);
  background: #ecfdf5;
  text-decoration: none;
}
.hero {
  padding: 20px 0 28px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}
h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 14px;
}
h2 {
  font-size: 28px;
  margin: 0 0 16px;
}
h3 {
  font-size: 20px;
  margin: 10px 0 6px;
}
.ja {
  display: block;
  color: var(--muted);
  font-size: 0.82em;
  font-weight: 500;
  margin-top: 3px;
}
.hero-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.page-brand-mark {
  display: block;
  width: 190px;
  height: 72px;
  margin: 0 0 10px;
  object-fit: contain;
  object-position: left center;
}
.actions {
  margin-top: 14px;
}
.btn {
  display: inline-block;
  padding: 9px 15px;
  margin: 0 6px 6px 0;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  font-weight: 800;
}
.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.section {
  padding: 30px 0;
}
.section.soft {
  background: var(--soft);
}
.layout-4,
.layout-3,
.layout-2 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 12px;
}
.layout-4 td {
  width: 25%;
  vertical-align: top;
}
.layout-3 td {
  width: 33.333%;
  vertical-align: top;
}
.layout-2 td {
  width: 50%;
  vertical-align: top;
}
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}
.balanced-cards > tbody > tr > td {
  height: 100%;
}
.balanced-cards .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.balanced-cards .card > .btn {
  align-self: flex-start;
  margin-top: auto;
}
.card img {
  display: block;
  width: 260px;
  height: 163px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 9px;
}
.card img.product-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.card img.product-lineup-photo {
  object-fit: contain;
  background: #f8fafc;
}
.business-pillars .card {
  height: 100%;
}
.business-pillars .card img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}
.property-photo-frame {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 62.5%;
  overflow: hidden;
  border-radius: 9px;
  background: #f3f6f5;
}
.property-photo-frame > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
}
.portfolio-note {
  padding: 14px 16px;
  border-left: 4px solid var(--brand);
  background: #f0fdf4;
}
.portfolio-note a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: underline;
}
.division-note {
  border-left: 4px solid var(--brand);
}
.card p {
  margin: 7px 0;
  color: #334155;
}
.badge {
  display: inline-block;
  padding: 3px 8px;
  background: #ecfdf5;
  color: #166534;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table th,
.info-table td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}
.info-table th {
  width: 28%;
  background: #f8fafc;
}
.content-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  margin-bottom: 16px;
}
.representative-message {
  line-height: 1.8;
}
.representative-signature {
  margin: 18px 0 0;
  text-align: right;
}
.content-image {
  display: block;
  width: 800px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.wide-content-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
ul {
  padding-left: 22px;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 16px;
}

.footer-table td {
  vertical-align: top;
}
.copyright {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
label {
  display: block;
  font-weight: 800;
  margin: 8px 0 4px;
}
input,
textarea,
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
}
textarea {
  min-height: 140px;
}
.map {
  width: 100%;
  height: 420px;
  border: 0;
}
.edit-note {
  font-size: 12px;
  color: #64748b;
}
@keyframes logoSlideIn {
  from {
    transform: translateX(32vw);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.brand-logo {
  animation: logoSlideIn 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.12s both;
  will-change: transform, opacity;
}
@media screen and (max-width: 768px) {
  .header-table,
  .header-table tbody,
  .header-table tr,
  .header-table td {
    display: block;
    width: 100%;
  }
  .brand-logo {
    width: 150px;
    margin: 0 auto;
  }
  .nav {
    text-align: left;
    overflow-x: auto;
    padding: 4px 0 8px;
  }
  .nav a {
    font-size: 13px;
    padding: 7px 6px;
  }
  .layout-4,
  .layout-4 tbody,
  .layout-4 tr,
  .layout-4 td,
  .layout-3,
  .layout-3 tbody,
  .layout-3 tr,
  .layout-3 td,
  .layout-2,
  .layout-2 tbody,
  .layout-2 tr,
  .layout-2 td {
    display: block;
    width: 100%;
  }
  .layout-4,
  .layout-3,
  .layout-2 {
    border-spacing: 0;
  }
  .layout-4 td,
  .layout-3 td,
  .layout-2 td {
    padding: 0 0 12px;
  }
  .card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  h1 {
    font-size: 29px;
  }
  .footer-table,
  .footer-table tbody,
  .footer-table tr,
  .footer-table td {
    display: block;
    width: 100%;
  }
  .map {
    height: 330px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .brand-logo {
    animation: none !important;
  }
}

/* Smartphone refinements */
@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 0 14px;
  }
  .site-header {
    position: relative;
  }
  .header-table td {
    padding: 8px 0;
  }
  .nav {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .nav a {
    flex: 0 0 auto;
    min-height: 40px;
    line-height: 26px;
  }
  .hero {
    padding: 16px 0 22px;
  }
  h1 {
    font-size: 27px;
  }
  h2 {
    font-size: 24px;
  }
  .hero-image {
    width: 100%;
    border-radius: 9px;
  }
  .actions .btn {
    display: inline-block;
    margin-bottom: 8px;
  }
  .card {
    padding: 12px;
  }
  .card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }
  .info-table th {
    border-bottom: 0;
  }
  .footer {
    padding: 22px 0;
  }
}
@media screen and (max-width: 420px) {
  h1 {
    font-size: 24px;
  }
  .btn {
    padding: 8px 12px;
  }
}

/* Quick Links: compact spacing */
.quick-links {
  padding: 18px 0 22px;
}
.quick-links h2 {
  margin-bottom: 10px;
}
.quick-links .layout-4 {
  border-spacing: 9px;
}
.quick-links .card {
  padding: 10px;
}
.quick-links .card h3 {
  margin: 8px 0 2px;
}
@media screen and (max-width: 768px) {
  .quick-links {
    padding: 14px 0 18px;
  }
  .quick-links .layout-4 td {
    padding-bottom: 8px;
  }
}

/* Corporate brochure link banner: added only for designated pages. */
.brochure-banner-section {
  padding: 18px 0 4px;
  background: #fff;
}
.brochure-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 58%, #ecfdf5 100%);
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  box-sizing: border-box;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.brochure-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
  border-color: #86a89a;
}
.brochure-banner-icon {
  font-size: 30px;
  line-height: 1;
  flex: 0 0 auto;
}
.brochure-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.brochure-banner-copy strong {
  font-size: 20px;
  line-height: 1.25;
  color: #173f35;
}
.brochure-banner-copy span {
  font-size: 13px;
  color: #64748b;
}
.brochure-banner-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 4px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.brochure-banner-qr img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.brochure-banner-arrow {
  font-size: 24px;
  font-weight: 800;
  color: #173f35;
  flex: 0 0 auto;
}
@media screen and (max-width: 768px) {
  .brochure-banner-section {
    padding: 12px 0 2px;
  }
  .brochure-banner {
    gap: 10px;
    padding: 11px 12px;
  }
  .brochure-banner-icon {
    font-size: 24px;
  }
  .brochure-banner-copy strong {
    font-size: 16px;
  }
  .brochure-banner-copy span {
    font-size: 11px;
  }
  .brochure-banner-qr img {
    width: 54px;
    height: 54px;
  }
  .brochure-banner-arrow {
    font-size: 19px;
  }
}
@media screen and (max-width: 420px) {
  .brochure-banner {
    align-items: center;
  }
  .brochure-banner-copy strong {
    font-size: 15px;
  }
  .brochure-banner-qr img {
    width: 48px;
    height: 48px;
  }
  .brochure-banner-arrow {
    display: none;
  }
}

/* Dedicated digital brochure page. */
.brochure-page-hero {
  padding: 28px 0 36px;
  background: #f8fafc;
  min-height: 70vh;
}
.brochure-page-hero h1 {
  margin-bottom: 8px;
}
.brochure-page-intro {
  margin: 0 0 18px;
  color: #475569;
}
.brochure-embed-wrap {
  width: 100%;
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}
.brochure-embed {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
}
.brochure-page-actions {
  margin-top: 16px;
}
@media screen and (max-width: 900px) {
  .brochure-embed {
    height: 650px;
  }
}
@media screen and (max-width: 768px) {
  .brochure-page-hero {
    padding: 20px 0 28px;
  }
  .brochure-page-intro {
    font-size: 14px;
  }
  .brochure-embed {
    height: 72vh;
    min-height: 520px;
  }
}
@media screen and (max-width: 420px) {
  .brochure-embed {
    height: 68vh;
    min-height: 470px;
  }
  .brochure-page-actions .btn {
    font-size: 14px;
  }
}

/* A4 print layout: preserve the desktop page structure and brand colors. */
@media print {
  @page {
    size: A4 portrait;
    margin: 10mm;
  }

  html,
  body {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #fff !important;
  }

  body {
    color: #17221d !important;
    font-size: 10.5pt !important;
    line-height: 1.48 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body > header,
  body > main,
  body > footer {
    width: 176mm !important;
    max-width: 176mm !important;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box !important;
  }

  .wrap,
  table.layout,
  table.header-table,
  table.footer-table {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .site-header {
    position: static !important;
    border-bottom: 1px solid #dbe3de !important;
    background: #fff !important;
  }

  .site-header .header-table {
    display: table !important;
    table-layout: fixed !important;
  }

  .site-header .header-table > tbody {
    display: table-row-group !important;
  }

  .site-header .header-table > tbody > tr {
    display: table-row !important;
  }

  .site-header .header-table > tbody > tr > td {
    display: table-cell !important;
    width: auto !important;
    vertical-align: middle !important;
  }

  .site-header .header-table > tbody > tr > td:first-child {
    width: 24% !important;
    padding: 6px 8px !important;
  }

  .site-header .brand-logo {
    width: 190px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  .site-header .nav {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  .site-header .nav::before,
  .site-header .nav::after {
    display: none !important;
  }

  .site-header .nav a {
    display: inline-block !important;
    margin: 2px 0 2px 6px !important;
    padding: 5px 3px !important;
    font-size: 8pt !important;
    white-space: nowrap !important;
  }

  .hero {
    padding: 20px 0 24px !important;
  }

  .hero h1 {
    font-size: 28pt !important;
    line-height: 1.08 !important;
  }

  .hero-copy,
  .section,
  .section.soft,
  .section.dark,
  .content-card,
  .card,
  .footer {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .section {
    padding: 28px 0 !important;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid !important;
    break-after: avoid-page !important;
  }

  img,
  .hero-image,
  .product-photo,
  .property-photo-frame {
    max-width: 100% !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .card,
  .content-card,
  .fact,
  .cta,
  table.layout > tbody > tr,
  .footer {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .footer {
    padding: 24px 0 12px !important;
  }

  .footer .footer-table {
    display: table !important;
    table-layout: fixed !important;
  }

  .footer .footer-table > tbody {
    display: table-row-group !important;
  }

  .footer .footer-table > tbody > tr {
    display: table-row !important;
  }

  .footer .footer-table > tbody > tr > td {
    display: table-cell !important;
    width: auto !important;
    padding: 10px !important;
    vertical-align: top !important;
    text-align: left !important;
  }

  .footer .footer-table > tbody > tr > td:first-child {
    width: 48% !important;
  }

  .footer .footer-table > tbody > tr > td:nth-child(2),
  .footer .footer-table > tbody > tr > td:nth-child(3) {
    width: 26% !important;
  }

  .brochure-embed {
    height: 220mm !important;
  }

  a {
    text-decoration: none !important;
  }
}
/* 2026-07-29 Safari saved-tab header consistency v3 */
.site-header .brand-logo{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
@media screen and (max-width:768px){.site-header .brand-logo{display:block!important;width:auto!important;height:54px!important;max-width:210px!important;margin-left:auto!important;margin-right:auto!important;object-fit:contain!important;object-position:center!important}}

/* Contact form */
.contact-hp { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important; pointer-events:none !important; }
.contact-success { color:#1f6b3a; font-weight:600; }
.contact-error { color:#9c2f2f; font-weight:600; }
.contact-directory td { line-height:1.75; }
.contact-directory a { overflow-wrap:anywhere; }
.group-contact .content-card { margin-bottom:0; }

/* Contact form full-width row: match the outer edges of the two-column fields above. */
#contact-form .layout-2 td.contact-wide-cell { width: 100%; }

/* Contact form interaction fix 2026-08-13 */
#contact-form .btn { cursor: pointer; user-select: none; transition: transform .12s ease, box-shadow .12s ease, filter .12s ease; }
#contact-form .btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(15,23,42,.16); filter: brightness(.96); }
#contact-form .btn:active { transform: translateY(0); box-shadow: 0 1px 4px rgba(15,23,42,.14); }
#contact-form .btn:focus-visible { outline: 3px solid rgba(31,107,58,.28); outline-offset: 2px; }
#contact-form .btn:disabled { cursor: wait; opacity: .7; transform: none; }


/* Contact directory action links: no misleading underline. */
.contact-phone-link,
.contact-email-link { cursor:pointer; text-decoration:none !important; }
.contact-phone-link:hover,
.contact-email-link:hover { text-decoration:none !important; color:var(--brand); }
