@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

:root {
  --teal: #2eb6a9;
  --teal-dark: #157a72;
  --blue: #1679b8;
  --sky: #dff3f0;
  --paper: #f4f2ee;
  /* --paper: ##2eb6a9; */
  --white: #fff;
  --ink: #191e1d;
  --muted: #626b69;
  --line: #dfe4e1;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.85;
  letter-spacing: 0.035em;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
  /* 上中央・メニューの後ろ */
  radial-gradient(
    ellipse 34% 18% at 56% 3%,
    rgba(46, 182, 169, 0.3) 0%,
    rgba(46, 182, 169, 0.17) 42%,
    transparent 78%
  ),

  /* 画面中央 */
  radial-gradient(
    ellipse 65% 48% at 50% 50%,
    rgba(46, 182, 169, 0.2) 0%,
    rgba(46, 182, 169, 0.1) 42%,
    transparent 78%
  ),

  #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.en-label {
  margin: 0 0 15px;
  color: var(--teal);
  /* font:
    600 10px/1.4 'DM Sans',
    sans-serif; */
  letter-spacing: 0.12em;
  text-transform: uppercase;

  font-family: "Jost", sans-serif;
  font-weight: 500;
  letter-spacing: 0.16em;
}
h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 43px);
  line-height: 1.45;
  letter-spacing: 0.065em;
}

/* .loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #f7f5f1;
  animation: loading-screen-out 0.52s ease 1.62s forwards;
} */
 .loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 1;

  background-color: #fff;
  background-image: radial-gradient(
    circle at 50% 50%,
    rgba(46, 182, 169, 0.3) 0%,
    rgba(46, 182, 169, 0.16) 22%,
    rgba(85, 200, 225, 0.08) 40%,
    #fff 70%
  );

  /* 背景は最後に素早く消す */
  animation: loading-screen-out 0.7s ease 1.65s forwards;
}
@keyframes loading-logo-out {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.96);
  }
}

@keyframes loading-screen-out {
  from {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
.loading-mark {
  width: min(350px, 68vw);
  position: relative;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.62);
    animation:
    loading-logo-pop 0.62s cubic-bezier(0.2, 1.45, 0.45, 1) 0.28s forwards,
    loading-logo-out 0.3s ease 1.3s forwards;
}
.loading-mark img {
  width: 100%;
  position: relative;
  z-index: 2;
}
.loading-ring {
  width: 92px;
  height: 92px;
  position: absolute;
  left: 2.5%;
  top: 50%;
  z-index: 1;
  border: 2px solid rgba(46, 182, 169, 0.36);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  animation: loading-ring-pop 0.72s ease-out 0.48s forwards;
}

@keyframes loading-logo-pop {
  0% {
    opacity: 0;
    transform: scale(0.62);
  }
  68% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes loading-ring-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
  35% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.35);
  }
}
@keyframes loading-screen-out {
  0% {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  99% {
    opacity: 0;
    visibility: visible;
    pointer-events: none;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.site-header {
  width: 100%;
  height: 100px;
  padding: 0 2.6vw;
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 260px 1fr 120px;
  align-items: center;
  gap: 24px;
}
.brand {
  width: 260px;
}
.desktop-nav {
  width: max-content;
  margin: auto;
  padding: 11px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(35, 53, 49, 0.06);
  border-radius: 999px;
  box-shadow: 0 7px 24px rgba(42, 65, 60, 0.05);
}
.desktop-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 600;
}
.desktop-nav a::after {
  content: '';
  width: 0;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: -4px;
  background: var(--teal);
  transition: width 0.25s ease;
}
.desktop-nav a:hover::after {
  width: 100%;
}
.partner-chip {  
  width: 130px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: var(--teal);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}
.partner-chip svg {
  width: 14px;
}
.mobile-nav {
  display: none;
}

.hero {
  min-height: 700px;
  height: calc(100svh - 80px);
  max-height: 900px;
  padding: 20px 3.8vw 60px;
  position: relative;
  overflow: hidden;
  /* background: #f7f5f1; */
}
.hero-message {
  position: absolute;
  left: 4.8vw;
  top: 12%;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.hero-message > p {
  margin: 3px 0 0;
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}
.hero h1 {
  margin: 0;
  font-size: clamp(36px, 3.9vw, 60px);
  line-height: 1.5;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}
.town-frame {
  width: min(67vw, 1120px);
  height: 80%;
  margin: auto;
  position: absolute;
  left: 58%;
  top: 47%;
  transform: translate(-50%, -50%);
}
.town-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
  filter: saturate(0.9) contrast(0.97) brightness(1.01);
}
.scroll {
  position: absolute;
  right: 28px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #74817e;
  font-size: 10px;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}
.scroll span {
  width: 1px;
  height: 45px;
  background: var(--teal);
}

.page-flow {
  padding: 0 0 22px;
}
.panel,
.partner-panel,
.work-section {
  width: min(1380px, calc(100% - 22px));
  margin: 0 auto 22px;
  border-radius: 16px;
}
.panel {
  background: var(--white);
}
.panel-heading {
  padding: 62px 7vw 0;
}

.about {
  min-height: 720px;
  position: relative;
  overflow: hidden;
}
.about-layout {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 7%;
  padding: 20px 8vw 76px;
}
.about-copy {
  max-width: 590px;
  margin-left: auto;
}
.about-copy .intro {
  margin-bottom: 34px;
  font-size: 21px;
  font-weight: 600;
  line-height: 2;
}
.about-copy > p:not(.intro) {
  margin-bottom: 24px;
  color: #3e4745;
  font-size: 14px;
  line-height: 2.15;
}
.about-visual {
  min-height: 390px;
  position: relative;
}
.mini-scene {
  position: absolute;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: #eef8f6;
  border-radius: 48% 52% 46% 54%/52% 45% 55% 48%;
}
.mini-scene svg {
  width: 48%;
}
.scene-home {
  width: 200px;
  height: 200px;
  left: 1%;
  top: 39%;
  color: #ef7958;
  background: #fff2e9;
  transform: rotate(-5deg);
}
.scene-key {
  width: 128px;
  height: 118px;
  right: 8%;
  top: 4%;
  color: #1681b3;
  background: #e7f4fa;
  transform: rotate(7deg);
}
.scene-building {
  width: 190px;
  height: 180px;
  right: 0;
  bottom: 0;
  color: var(--teal-dark);
  background: #e8f6e8;
  transform: rotate(3deg);
}
.paint-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.9;
}
.dot-a {
  width: 20px;
  height: 20px;
  left: 42%;
  top: 14%;
  background: #f0a23c;
}
.dot-b {
  width: 13px;
  height: 13px;
  right: 8%;
  top: 48%;
  background: #ed6a57;
}
.dot-c {
  width: 17px;
  height: 17px;
  left: 37%;
  bottom: 5%;
  background: #80c856;
}
.circle-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 600;
}
.circle-link i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #dff1ef;
  border-radius: 50%;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.circle-link i svg {
  width: 19px;
}
a:hover .circle-link i {
  transform: translateX(5px);
  background: #c9ebe7;
}

.work-section {
  padding: 76px 6vw 92px;
  background: rgba(255, 255, 255, 0.12);
}
.work-heading {
  margin-bottom: 55px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 10px;
}
.work-heading .en-label,
.work-heading h2 {
  grid-column: 1;
}
.work-heading > p:last-child {
  grid-column: 2;
  grid-row: 1/3;
  margin: 0;
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.service-card {
  min-height: 540px;
  padding: 34px 34px 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 12px 35px rgba(30, 75, 70, 0.1);
  
}
.service-title {
  padding-left: 32px;
  position: relative;
}
.service-title > span {
  width: 23px;
  height: 23px;
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font:
    600 9px/1 'DM Sans',
    sans-serif;
}
.service-title > p {
  margin: 0 0 4px;
  color: var(--teal);
  font-family: "Jost", sans-serif;
  font-weight: 500;
  letter-spacing: 0.16em;
  font-size: 11px;
}
.service-title h3 {
  margin: 0;
  font-size: 25px;
  letter-spacing: 0.08em;
}
.service-art {
  height: 225px;
  margin: 32px -8px 22px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: #edf8f6;
  border-radius: 12px;
}
.service-art svg {
  width: 125px;
}
.sale-card .service-art {
  color: #ee7657;
  background: linear-gradient(135deg, #fff4e8, #edf8f6);
}
.sale-card .service-art svg {
  width: 125px;
}
.rental-card .service-art {
  color: #157fb0;
  background: #eaf5fa;
}
.management-card .service-art {
  color: #55a455;
  background: #eef7e9;
}
.service-card > p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
.service-card > a {
  margin-top: auto;
}

.trust-panel {
  min-height: 560px;
  padding: 70px 7vw;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 6%;
  overflow: hidden;
}
/* .trust-copy {
  max-width: 550px;
} */
.trust-copy h2 {
  margin-bottom: 28px;
  white-space: nowrap;
}
.trust-copy > p:not(.en-label) {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2.1;
}
.trust-picture {
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 52% 48% 48% 52%/47% 50% 50% 53%;
  background: #f3f7ef;
}
.trust-picture img {
  width: 160%;
  height: 100%;
  /* margin-left: -30%; */
  object-fit: cover;
}
/* .trust-picture span {
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.75);
  font:
    700 70px/1 'DM Sans',
    sans-serif;
  letter-spacing: -0.05em;
} */

.company-panel {
  min-height: 620px;
  overflow: hidden;
}
.company-layout {
  padding: 35px 8vw 78px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 10%;
  align-items: center;
}
.company-message > p {
  margin-bottom: 36px;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.09em;
}
.company-data {
  margin: 0;
}
.company-data div {
  padding: 19px 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  border-bottom: 1px solid var(--line);
}
.company-data div:first-child {
  border-top: 1px solid var(--line);
}
.company-data dt {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 600;
}
.company-data dd {
  margin: 0;
  font-size: 14px;
}

.partner-panel {
  min-height: 390px;
  padding: 62px 8vw;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 9%;
  color: #fff;
  background: var(--teal);
  overflow: hidden;
  position: relative;
}
.partner-panel::before {
  content: '';
  width: 480px;
  height: 480px;
  position: absolute;
  right: -160px;
  top: -170px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
}
.partner-panel .en-label {
  color: rgba(255, 255, 255, 0.72);
}
.partner-panel h2 {
  margin-bottom: 60px;
  font-size: 40px;
}
.partner-panel > div:first-child > p:not(.en-label) {
  /* max-width: 500px; */
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}
.partner-panel .circle-link {
  color: #fff;
}
.partner-panel .circle-link i {
  color: var(--teal-dark);
  background: #fff;
}
/* .document-art {
  width: min(100%, 420px);
  height: 245px;
  margin-left: auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--teal);
  background: #fff;
  border-radius: 14px;
}
.document-art svg {
  width: 110px;
}
.document-art span {
  font:
    700 13px/1.6 'DM Sans',
    sans-serif;
  letter-spacing: 0.11em;
} */

.footer-panel {
  min-height: 400px;
  padding: 70px 7vw 34px;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  grid-template-rows: 1fr auto;
  align-items: start;
  gap: 40px 7%;
}
.footer-copy > p {
  margin-bottom: 26px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.1em;
}
.footer-copy > span {
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.footer-links {
  padding-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 25px;
}
.footer-links a {
  font-size: 14px;
  font-weight: 600;    
  white-space: nowrap;
}
.footer-brand {
  padding-top: 6px;
}
.footer-brand img {
  width: 275px;
  margin-bottom: 24px;
}
.footer-brand p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.footer-brand > a {
  color: var(--teal-dark);
  font-size: 15px;
    text-transform: uppercase;
    font-family: "Jost", sans-serif;
    font-weight: 500;
  letter-spacing: 0.08em;
}
.footer-panel small {
  grid-column: 1/3;
  align-self: end;
  color: #818a88;
    font-weight: 300;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.page-top {
  width: 44px;
  height: 44px;
  position: absolute;
  right: 30px;
  bottom: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 220px 1fr 105px;
  }
  .brand {
    width: 205px;
  }
  .desktop-nav {
    gap: 18px;
    padding-inline: 20px;
  }
  .hero-message {
    left: 3vw;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sale-card {
    grid-column: 1/-1;
  }
  .sale-card .service-art {
    height: 250px;
  }
    .footer-copy > p {
    font-size: 30px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 70px;
    padding: 0 18px;
    grid-template-columns: 1fr auto;
  }
  .brand {
    width: 215px;
  }
  .desktop-nav,
  .partner-chip {
    display: none;
  }
  .mobile-nav {
    display: block;
    position: relative;
  }
  .mobile-nav summary {
    width: 44px;
    height: 44px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    background: var(--teal);
    border-radius: 50%;
    list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .mobile-nav summary i {
    width: 17px;
    height: 1px;
    background: #fff;
  }
  .mobile-nav > div {
    width: 230px;
    padding: 12px 20px;
    position: absolute;
    right: 0;
    top: 52px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 35px rgba(35, 54, 50, 0.13);
  }
  .mobile-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }
  .hero {
    min-height: 650px;
    height: calc(100svh - 70px);
    max-height: 760px;
    padding-inline: 0;
  }
  .hero-message {
    left: 22px;
    top: 7%;
    gap: 9px;
  }
  .hero-message > p {
    font-size: 12px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .town-frame {
    width: 110%;
    height: 67%;
    top: 56%;
  }
  .scroll {
    display: none;
  }
  .panel,
  .partner-panel,
  .work-section {
    width: calc(100% - 12px);
    margin-bottom: 12px;
    border-radius: 12px;
  }
  .panel-heading {
    padding: 48px 24px 0;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 26px 28px 55px;
  }
  .about-copy {
    max-width: none;
    margin: 0;
  }
  .about-visual {
    min-height: 300px;
    order: -1;
  }
  .scene-home {
    width: 160px;
    height: 140px;
  }
  .scene-key {
    width: 105px;
    height: 95px;
  }
  .scene-building {
    width: 145px;
    height: 137px;
  }
  .work-section {
    padding: 58px 18px 68px;
  }
  .work-heading {
    display: block;
  }
  .work-heading > p:last-child {
    margin-top: 20px;
    justify-self: self-start;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .sale-card {
    grid-column: auto;
  }
  .service-card {
    min-height: 500px;
    padding: 30px 26px 26px;
  }
  .trust-panel {
    padding: 55px 28px;
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .trust-picture {
    height: 280px;
  }
  .trust-picture span {
    font-size: 52px;
  }
  .company-layout {
    padding: 28px 28px 58px;
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .company-message > p {
    font-size: 24px;
  }
  .company-data div {
    grid-template-columns: 82px 1fr;
  }
  .partner-panel {
    padding: 54px 28px;
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .document-art {
    height: 210px;
    margin: 0 auto;
  }
  .footer-panel {
    padding: 56px 28px 34px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .footer-links {
    max-width: 350px;
  }
  .footer-panel small {
    grid-column: auto;
  }
  .trust-copy h2 {
  white-space: wrap;
    font-size: clamp(24px, 3vw, 43px);
}
.footer-brand img {
    width: 240px;
    margin-bottom: 40px;
}


}

/* Admin page */
.admin-body {
  min-height: 100vh;
  background: #edf3f1;
}
.admin-page {
  min-height: 100vh;
  padding: 0 24px 34px;
}
.admin-header {
  width: min(1160px, 100%);
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d6e0dd;
}
.admin-header a {
  width: 235px;
}
.admin-header p {
  margin: 0;
  color: #75817f;
  font:
    600 9px/1 'DM Sans',
    sans-serif;
  letter-spacing: 0.16em;
}
.admin-login-panel {
  width: min(610px, 100%);
  margin: 70px auto 50px;
  padding: 58px 62px 62px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 50px rgba(39, 68, 62, 0.07);
}
.admin-eyebrow {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font:
    600 9px/1.4 'DM Sans',
    sans-serif;
  letter-spacing: 0.17em;
}
.admin-login-panel h1,
.admin-dashboard-head h1 {
  margin: 0;
  font-size: clamp(27px, 3vw, 39px);
  line-height: 1.45;
}
.admin-description {
  margin: 17px 0 35px;
  color: var(--muted);
  font-size: 11px;
}
.admin-login-form > label {
  margin-bottom: 9px;
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.admin-primary-button {
  width: 100%;
  min-height: 58px;
  margin-top: 25px;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  color: #fff;
  background: var(--teal-dark);
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  transition:
    transform 0.2s,
    background 0.2s;
}
.admin-primary-button:hover {
  transform: translateY(-2px);
  background: #11675f;
}
.admin-message {
  margin: 18px 0 0;
  padding: 13px 15px;
  border-radius: 7px;
  font-size: 11px;
}
.admin-message-error {
  color: #9f352c;
  background: #fff0ed;
}
.admin-message-success {
  margin: 0 0 28px;
  color: #176a61;
  background: #e7f7f4;
}
.admin-honeypot {
  width: 1px;
  height: 1px;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}
.admin-dashboard-head {
  width: min(980px, 100%);
  margin: 58px auto 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.admin-logout-button {
  padding: 9px 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #9faaa8;
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
}
.admin-upload-panel {
  width: min(980px, 100%);
  margin: 0 auto 55px;
  padding: 48px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 50px rgba(39, 68, 62, 0.06);
}
.current-pdf {
  min-height: 158px;
  padding: 25px 29px;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 25px;
  background: #eef8f6;
  border-radius: 12px;
}
.pdf-icon {
  width: 66px;
  height: 76px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 5px 15px 5px 5px;
  font:
    700 11px/1 'DM Sans',
    sans-serif;
  letter-spacing: 0.08em;
}
.current-pdf p {
  margin: 0 0 2px;
  color: var(--teal-dark);
  font-size: 9px;
  font-weight: 600;
}
.current-pdf h2 {
  margin: 0 0 13px;
  font-size: 20px;
}
.current-pdf dl {
  margin: 0;
  display: flex;
  gap: 28px;
}
.current-pdf dl div {
  display: flex;
  gap: 8px;
  font-size: 9px;
}
.current-pdf dt {
  color: var(--muted);
}
.current-pdf dd {
  margin: 0;
  font-weight: 600;
}
.current-pdf > a {
  color: var(--teal-dark);
  border-bottom: 1px solid var(--teal);
  font-size: 10px;
}
.admin-upload-form {
  margin-top: 34px;
}
.admin-file-drop {
  min-height: 230px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: #fafcfb;
  border: 2px dashed #a9d4ce;
  border-radius: 12px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.admin-file-drop:hover {
  border-color: var(--teal);
  background: #f1faf8;
}
.admin-file-drop input {
  width: 1px;
  height: 1px;
  position: absolute;
  opacity: 0;
}
.upload-icon {
  width: 45px;
  height: 45px;
  margin-bottom: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 19px;
}
.admin-file-drop b {
  color: var(--ink);
  font-size: 14px;
}
.admin-file-drop small {
  margin-top: 5px;
  font-size: 10px;
}
.selected-file {
  margin: 12px 0 0;
  color: var(--teal-dark);
  font-size: 10px;
  text-align: center;
  word-break: break-all;
}
.admin-upload-form .admin-primary-button {
  width: min(350px, 100%);
  margin-inline: auto;
}
.admin-upload-note {
  margin: 14px 0 0;
  color: #8a6059;
  font-size: 9px;
  text-align: center;
}
.admin-footer {
  width: min(1160px, 100%);
  margin: 0 auto;
  color: #899491;
  font:
    500 8px/1.5 'DM Sans',
    sans-serif;
  text-align: center;
  letter-spacing: 0.1em;
}

@media (max-width: 650px) {
  .admin-page {
    padding-inline: 12px;
  }
  .admin-header {
    height: 74px;
  }
  .admin-header a {
    width: 185px;
  }
  .admin-header p {
    display: none;
  }
  .admin-login-panel {
    margin-top: 38px;
    padding: 42px 25px 48px;
  }
  .admin-dashboard-head {
    margin-top: 38px;
    align-items: center;
  }
  .admin-upload-panel {
    padding: 25px 18px 35px;
  }
  .current-pdf {
    grid-template-columns: 58px 1fr;
    gap: 18px;
  }
  .pdf-icon {
    width: 55px;
    height: 65px;
  }
  .current-pdf dl {
    display: block;
  }
  .current-pdf dl div {
    margin-top: 4px;
  }
  .current-pdf > a {
    grid-column: 1/-1;
    justify-self: start; 
  }
  .admin-file-drop {
    min-height: 200px;
  }
  .partner-panel h2 {
    font-size: 29px;
}
.footer-copy > p {
        font-size: 27px;
    }
}

@media (max-width: 430px) {
  .hero {
    min-height: 610px;
  }
  .hero-message {
    left: 14px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .town-frame {
    width: 122%;
    top: 58%;
  }
  .hero-tags {
    width: 100%;
    justify-content: center;
  }
  .about-copy .intro {
    font-size: 19px;
  }
  .service-card {
    min-height: 470px;
  }
  .service-art {
    height: 200px;
  }
  .sale-card .service-art {
        height: 200px;
    }
  .circle-link i {
    width: 48px;
    height: 48px;
  }
  .document-art {
    gap: 15px;
  }
  .document-art svg {
    width: 85px;
  }
  .town-frame img { 
    border-radius: 0;
  }

}

/* Broker page */
.broker-hero .sub-hero-title p {
  color: #197f77;
}
.broker-vacancy,
.application-section {
  padding-top: 82px;
}
.broker-section-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}
.broker-section-heading > p {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.16em;
}
.broker-section-heading h2 {
  margin-bottom: 22px;
  font-size: clamp(27px, 3vw, 42px);
}
.broker-section-heading > span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
.broker-login,
.broker-unlocked {
  width: min(690px, 100%);
  margin: 0 auto;
  padding: 48px 55px;
  border-radius: 15px;
  background: #eef8f6;
}
.broker-login > label {
  margin-bottom: 9px;
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.password-field {
  position: relative;
}
.password-field input {
  width: 100%;
  height: 60px;
  padding: 0 82px 0 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cddbd8;
  border-radius: 8px;
  outline: none;
  font: inherit;
  font-size: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.password-field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 182, 169, 0.15);
}
.password-toggle {
  height: 100%;
  padding: 0 18px;
  position: absolute;
  right: 0;
  top: 0;
  color: var(--teal-dark);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
}
.broker-login-button {
  width: 160px;
  height: 56px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  color: #fff;
  background: var(--teal-dark);
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition:
    transform 0.2s,
    background 0.2s;
}
.broker-login-button:hover {
  transform: translateY(-2px);
  background: #11675f;
}
.broker-error {
  margin: 12px 0 -8px;
  color: #b33c31;
  font-size: 11px;
}
.broker-honeypot {
  width: 1px;
  height: 1px;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}
.broker-unlocked {
  text-align: center;
}
.unlock-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 20px;
}
.broker-unlocked > p {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 600;
}
.broker-unlocked h3 {
  margin-bottom: 28px;
  font-size: 21px;
  line-height: 1.8;
}
.broker-download-primary {
  width: min(390px, 100%);
  min-height: 65px;
  margin: auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #fff;
  background: var(--teal-dark);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
}
.broker-download-primary span {
  font-size: 18px;
}
.broker-logout {
  margin-top: 18px;
}
.broker-logout button {
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #a9b5b2;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
}
.application-section {
  background: #fbfdfc;
}
.application-group {
  width: min(980px, 100%);
  margin: 0 auto 58px;
}
.application-group h3 {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 17px;
}
.application-group h3 span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 12px;
}
.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.application-grid a {
  min-height: 105px;
  padding: 20px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
  border: 1px solid #addbd5;
  border-radius: 11px;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.application-grid a:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: 0 10px 25px rgba(36, 91, 83, 0.08);
}
.application-grid b {
  font-size: 15px;
  line-height: 1.7;
}
.application-grid a > span {
  flex: 0 0 auto;
  color: var(--teal-dark);
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 13px;
}
.application-grid-single {
  grid-template-columns: repeat(3, 1fr);
}
.document-note {
  max-width: 980px;
  margin: 0 auto;
  color: #8a6059;
  font-size: 10px;
}
.broker-help {
  width: min(1380px, calc(100% - 22px));
  min-height: 390px;
  margin: 0 auto 22px;
  padding: 65px 8vw;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 7vw;
  align-items: center;
  color: #fff;  
  border-radius: 16px;
  background:
    radial-gradient(
      circle at 50% 75%,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0) 45%
    ),
    linear-gradient(
      315deg,
      #58cec3 0%,
      #2eb6a9 50%,
      #248f87 100%
    );
}
.broker-help > p {
  align-self: start;
  color: #9ee0d9;
  font-family: "Jost", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 15px;
    letter-spacing: 0.14em;
}
.broker-help h2 {
  margin-bottom: 27px;
  font-size: clamp(23px, 3vw, 43px);
}

@media (max-width: 760px) {
  .broker-vacancy,
  .application-section {
    padding-top: 58px;
  }
  .broker-section-heading {
    margin-bottom: 38px;
  }
  .broker-login,
  .broker-unlocked {
    padding: 35px 22px;
  }
  .broker-login-button {
    width: 100%;
  }
  .application-group {
    margin-bottom: 45px;
  }
  .application-grid,
  .application-grid-single {
    grid-template-columns: 1fr;
  }
  .application-grid a {
    min-height: 88px;
  }
  .broker-help {
    width: calc(100% - 12px);
    min-height: 0;
    padding: 55px 28px;
    grid-template-columns: 1fr;
    gap: 22px;
    border-radius: 12px;
  }
  .footer-brand {
    padding-top: 20px;
}
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
  .loading-screen {
    animation: loading-screen-out 0.2s ease 0.45s forwards;
  }
  .loading-mark {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .loading-ring {
    display: none;
  }
}

/* Sub pages */
/* .sub-page {
  background: var(--paper);
} */
.sub-header {
  position: relative;
}
.sub-hero {
  width: 100%;
  height: 560px;
  padding: 60px 6vw 55px;
  position: relative;
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto;
}
.sub-hero-title {
  position: absolute;
  left: 6vw;
  top: 62px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 17px;
}
.sub-hero-title p {
  margin: 5px 0 0;
  color: var(--teal);
  writing-mode: vertical-rl;
      font-family: "Jost", sans-serif;
    font-weight: 500;
    letter-spacing: 0.16em;
}
.sub-hero-title h1 {
  margin: 0;
  font-size: clamp(39px, 4.4vw, 60px);
  line-height: 1.4;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}
.sub-hero-art {
  width: min(920px, 65vw);
  height: 430px;
  position: absolute;
  left: 53%;
  top: 49%;
  transform: translate(-50%, -50%);
}
.sub-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
}
.sub-hero-lead {
  width: 250px;
  margin: 0;
  position: absolute;
  right: 6vw;
  bottom: 86px;
  color: #4e5956;
  font-size: 11px;
  line-height: 2.15;
}
.sub-contents {
  padding: 22px 0;
}
.sub-panel,
.sub-index,
.service-detail,
.inheritance-note,
.sub-cta {
  width: min(1380px, calc(100% - 22px));
  margin: 0 auto 22px;
  border-radius: 16px;
}
.sub-panel {
  padding: 75px 7vw 85px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(30, 75, 70, 0.1);
}
.sub-index {
  min-height: 100px;
  padding: 22px 5vw;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 45px;
  background: var(--teal);
  color: #fff;
}
.sub-index p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.sub-index p span {
  margin-bottom: 4px;
  display: block;
  color: #92dad3;
  font:
    600 9px/1.4 'DM Sans',
    sans-serif;
  letter-spacing: 0.16em;
}
.sub-index > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.sub-index a {
  min-height: 44px;
  padding: 4px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 15px;
  font-weight: bold;
  transition: opacity 0.2s;
}
.sub-index a:hover {
  opacity: 0.7;
}
.sub-index b {
  color: #9be1da;
  font:
    600 12px/1 'DM Sans',
    sans-serif;
}
.sub-section-heading {
  margin-bottom: 52px;
  position: relative;
}
.sub-section-heading > p {
  margin: 0 0 8px;
  color: var(--teal);
  font-family: "Jost", sans-serif;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.sub-section-heading > span {
  width: 29px;
  height: 29px;
  position: absolute;
  left: -44px;
  top: 31px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font:
    600 9px/1 'DM Sans',
    sans-serif;
}
.sub-section-heading h2 {
  font-size: clamp(27px, 3.2vw, 45px);
}

.about-intro-page {
  overflow: hidden;
}
.about-intro-body {
  display: grid;
  grid-template-columns: 0.45fr 1.2fr 1.2fr;
  align-items: center;
  gap: 5vw;
}
.vertical-copy {
  justify-self: center;
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}
.about-intro-copy .lead-copy {
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
}
.about-intro-copy p {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2.2;
}
.about-intro-art {
  height: 380px;
  overflow: hidden;
  background: #edf7f5;
  /* border-radius: 52% 48% 47% 53%/48% 54% 46% 52%; */
  border-radius: 40px;
}
.about-intro-art img {
  width: 165%;
  height: 100%;
  object-fit: cover;
}
.values-section {
  background: linear-gradient(140deg, #fafefd, #fff);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.value-card {
  min-height: 360px;
  padding: 35px 32px;
  position: relative;
  border: 1px solid #e2ece9;
  border-radius: 13px;
  background: #fff;
}
.value-card > span {
  display: block;
  margin-bottom: 58px;
  color: #bdded9;
  font:
    600 50px/1 'DM Sans',
    sans-serif;
}
.value-card small {
  color: var(--teal-dark);
  font-family: "Jost", sans-serif;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.value-card h3 {
  margin: 8px 0 22px;
  font-size: 23px;
}
.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
.promise-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
}
.promise-layout > div {
  max-width: 510px;
}
.promise-layout h3 {
  margin-bottom: 28px;
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.7;
}
.promise-layout p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2.15;
}
.promise-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.promise-list li {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.promise-list b {
  font-size: 14px;
}
.promise-list span {
  color: var(--muted);
  font-size: 13px;
}
.sub-cta {
  padding: 68px 8vw;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--teal);
}
.sub-cta::after {
  content: '';
  width: 430px;
  height: 430px;
  position: absolute;
  right: -100px;
  top: -210px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
}
.sub-cta > p {
  margin-bottom: 7px;
  color: #c5eeea;
  font-size: 13px;
}
.sub-cta > p span {
  margin-right: 12px;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.16em;
  font-size: 12px;
}
.sub-cta h2 {
  font-size: clamp(25px, 2.7vw, 38px);
  padding-bottom: 20px;
}
.sub-cta .circle-link {
  color: #fff;
}
.sub-cta .circle-link i {
  color: var(--teal-dark);
  background: #fff;
}
.sub-footer {
  margin-bottom: 0;
}

.service-jump {
  width: min(720px, calc(100% - 40px));
  margin: -58px auto 22px;
  position: relative;
  z-index: 4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(37, 61, 56, 0.11);
}
.service-jump summary {
  height: 92px;
  padding: 0 35px;
  display: flex;
  align-items: center;
  gap: 22px;
  cursor: pointer;
  list-style: none;
}
.service-jump summary::-webkit-details-marker {
  display: none;
}
.service-jump summary span {
  color: var(--teal);
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 13px;
}
.service-jump summary b {
  font-size: 16px;
}
.service-jump summary i {
  width: 35px;
  height: 35px;
  margin-left: auto;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-style: normal;
  transition: transform 0.2s;
}
.service-jump[open] summary i {
  transform: rotate(45deg);
}
.service-jump nav {
  padding: 0 25px 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.service-jump nav a {
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 14px;
}
.service-jump nav a:last-child {
  border-right: 0;
}
.service-jump em {
  color: var(--teal);
  font-family: "Jost", sans-serif;
  font-weight: 500;  
  font-size: 12px;
  font-style: normal;
}
.service-lead {
  min-height: 410px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 35px 8vw;
}
.service-lead .en-label {
  grid-column: 1/-1;
  margin-bottom: -20px;
}
.service-lead > p:last-child {
  max-width: 540px;
  margin: 0;
  align-self: center;
  color: var(--muted);
  font-size: 16px;
  line-height: 2.2;
}
.service-detail {
  scroll-margin-top: 20px;
  overflow: hidden;
  background: #fff;
}
.service-detail-head {
  min-height: 250px;
  padding: 45px 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(120deg, #15847a, #2eb6a9);
}
/* .sale-detail .service-detail-head {
  background: linear-gradient(120deg, #15847a, #2eb6a9);
} */
.service-detail-head > div:first-child {
  padding-left: 50px;
  position: relative;
}
.service-detail-head > div:first-child > span {
  width: 31px;
  height: 31px;
  position: absolute;
  left: 0;
  top: 5px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: #fff;
  border-radius: 50%;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 13px;
}
.service-detail-head p {
  margin: 0 0 5px;
  color: #bfece7;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.16em;
}
.service-detail-head h2 {
  font-size: clamp(28px, 4vw, 50px);
}
.service-detail-head small {
  margin-top: 10px;
  display: inline-block;
  padding: 5px 10px;
  color: var(--teal-dark);
  background: #fff;
  border-radius: 99px;
  font-size: 9px;
}
.detail-icon {
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: #fff;
  border-radius: 50%;
}
.detail-icon svg {
  width: 85px;
}
.service-detail-body {
  padding: 72px 7vw 82px;
}
.detail-copy {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 7vw;
  margin-bottom: 58px;
  align-items: center;
}
.detail-copy h3 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 35px);
  line-height: 1.7;
}
.detail-copy p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2.2;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.support-grid article {
  min-height: 180px;
  padding: 28px 25px;
  background: #f0f8f6;
  border-radius: 11px;
}
.support-grid b {
  font-size: 18px;
}
.support-grid p {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
.process-list {
  margin: 60px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}
.process-list li {
  padding: 20px 8px;
  position: relative;
  text-align: center;
  border-block: 1px solid var(--line);
}
.process-list li:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -6px;
  color: var(--teal);
}
.process-list span {
  display: block;
  color: var(--teal);
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 14px;
}
.process-list b {
  font-size: 16px;
  padding-top: 5px;
}
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}
.two-column .detail-copy {
  display: block;
  margin: 0;
}
.two-column .detail-copy h3 {
  margin-bottom: 25px;
}
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.check-list li {
  padding: 17px 10px 17px 40px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.check-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  position: absolute;
  left: 4px;
  top: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 10px;
}
.inheritance-note {
  min-height: 410px;
  padding: 70px 8vw;
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 7vw;
  align-items: center;
  /* color: #fff; */
  /* background: #207c75; */
   background:
    radial-gradient(
      circle at 50% 35%,
      rgba(46, 182, 169, 0.16) 0%,
      rgba(46, 182, 169, 0.06) 38%,
      transparent 70%
    ),
    #edf9f7;

  color: #176f68;
  border: 1px solid rgba(46, 182, 169, 0.12);
}
.inheritance-note > p {
  align-self: start;
  /* color: #9ddfd8; */
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 15px;
  letter-spacing: 0.14em;
}
.inheritance-note h2 {
  margin-bottom: 25px;
  color: #176f68;
}
.inheritance-note div > p {
  max-width: 650px;
  margin: 0;
  /* color: #daf2ef; */
  color: #4f706d;
  font-size: 14px;
  line-height: 2.1;
}

.greeting-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8vw;
  align-items: start;
}
/* .photo-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: #8aa7a2;
  border: 1px dashed #acd1cc;
  background: linear-gradient(135deg, #eff8f6, #f8f7f2);
  border-radius: 13px;
  text-align: center;
}
.photo-placeholder span {
  font:
    600 11px/1 'DM Sans',
    sans-serif;
  letter-spacing: 0.2em;
}
.photo-placeholder p {
  margin: 0;
  font-size: 10px;
  line-height: 1.8;
} */
.greeting-photo {
  min-height: 570px;
  border-radius: 48% 48% 12px 12px/17% 17% 12px 12px;
}
.greeting-copy h3 {
  margin-bottom: 32px;
  font-size: clamp(23px, 2.7vw, 37px);
  line-height: 1.75;
}
.greeting-copy > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2.25;
}
.signature {
  margin-top: 40px !important;
  color: var(--ink) !important;
  text-align: right;
  font-size: 17px !important;
  font-weight: 600;
}
.signature span {
  margin-right: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}
.overview-table {
  margin: 0;
  border-top: 1px solid var(--line);
}
.overview-table > div {
  min-height: 77px;
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.overview-table dt {
  padding-left: 20px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 600;
}
.overview-table dd {
  margin: 0;
  font-size: 14px;
}
.overview-table a {
  border-bottom: 1px solid var(--teal);
}
.office-gallery {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.office-shot {
  aspect-ratio: 16/10;
  min-height: 0;
}
.access-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 7vw;
}
.access-info .access-name {
  margin-bottom: 25px;
  font-size: 18px;
  font-weight: 600;
}
.access-info address {
  margin-bottom: 35px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}
.access-info p:not(.access-name) {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}
.access-info b {
  margin-bottom: 5px;
  display: block;
  color: var(--ink);
}
.access-info a {
  color: var(--teal-dark);
  font-size: 16px;
  font-weight: 600;
}
.map-frame {
  min-height: 420px;
  overflow: hidden;
  border-radius: 13px;
  background: #e8efed;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: saturate(0.65) contrast(0.95);
}
.privacy-page {
  color: #171d1c;
  background:
    radial-gradient(
      circle at 50% 8%,
      rgba(46, 182, 169, 0.14) 0%,
      rgba(46, 182, 169, 0) 32%
    ),
    #ffffff;
}

.privacy-inner {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.privacy-hero {
  padding: 180px 0 100px;
}

.privacy-label {
  margin: 0 0 24px;
  font-family: "Jost", sans-serif;
  font-size: 14px;
    color: var(--teal);
    font-weight: 500;
    letter-spacing: 0.16em;
}

.privacy-hero h1 {
  margin: 0;
  font-size: clamp(39px, 4.4vw, 60px);
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.privacy-lead {
  max-width: 700px;
  margin: 36px 0 0;
  color: #65706e;
  font-size: 16px;
  line-height: 2;
}

.privacy-content {
  padding: 0 0 140px;
}

.privacy-content .privacy-inner {
  padding: 72px 80px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(46, 182, 169, 0.12);
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(25, 92, 86, 0.08);
}

.privacy-section {
  padding: 0 0 48px;
  margin: 0 0 48px;
  border-bottom: 1px solid #e3eae8;
}

.privacy-section h2 {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.6;
}

.privacy-section p,
.privacy-section li {
  color: #596462;
  font-size: 15px;
  line-height: 2;
}

.privacy-section p {
  margin: 0 0 18px;
}

.privacy-section ul {
  padding-left: 1.4em;
  margin: 20px 0 0;
}

.privacy-section li + li {
  margin-top: 8px;
}

.privacy-section a {
  color: #19877e;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-link a::after {
  content: " ↗";
}

.privacy-contact {
  margin-bottom: 0;
  border-bottom: 0;
}

.privacy-contact address {
  font-style: normal;
}

.privacy-date {
  margin: 48px 0 0;
  color: #7b8583;
  font-size: 13px;
  text-align: right;
}

@media (max-width: 767px) {
  .privacy-inner {
    width: min(100% - 32px, 1080px);
  }

  .privacy-hero {
    padding: 120px 0 64px;
  }

  .privacy-label {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .privacy-lead {
    margin-top: 24px;
    font-size: 14px;
    text-align: left;
  }

  .privacy-content {
    padding-bottom: 80px;
  }

  .privacy-content .privacy-inner {
    padding: 48px 24px;
    border-radius: 22px;
  }

  .privacy-section {
    padding-bottom: 36px;
    margin-bottom: 36px;
  }

  .privacy-section h2 {
    margin-bottom: 18px;
    font-size: 19px;
  }

  .privacy-section p,
  .privacy-section li {
    font-size: 14px;
    line-height: 1.9;
  }

  .privacy-date {
    text-align: left;
  }
}
@media (max-width: 900px) {
  .sub-hero-art {
    width: 67vw;
    left: 55%;
  } 
  .sub-hero-lead {
    width: 220px;
  }
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .sub-hero {
    height: 530px;
    padding: 30px 20px;
  }
  .sub-hero-title {
    left: 22px;
    top: 40px;
  }
  .sub-hero-title h1,.privacy-hero h1 {
    font-size: 34px;
  }
  .sub-hero-art {
    width: 115%;
    height: 300px;
    left: 55%;
    top: 55%;
  }
  .sub-hero-art img {
    border-radius: 0;
}
  .sub-hero-lead {
    width: 65%;
    right: 22px;
    bottom: 30px;
    padding: 13px;
    background: rgba(247, 245, 241, 0.78);
    font-size: 9px;
  }
  .sub-contents {
    padding-top: 12px;
  }
  .sub-panel,
  .sub-index,
  .service-detail,
  .inheritance-note,
  .sub-cta {
    width: calc(100% - 12px);
    margin-bottom: 12px;
    border-radius: 12px;
  }
  .sub-panel {
    padding: 55px 28px 62px;
  }
  .sub-index {
    padding: 20px;
    display: block;
    width: 240px;
    margin-bottom: 25px;
  }
  .sub-index p {
    margin-bottom: 18px;
  }
  .sub-index > div {
    grid-template-columns: 1fr;
  }
  .sub-index a {
    padding: 8px 5px;
    border-left: 0;
    font-size: 14px;
    justify-content: flex-start;
  }
  .sub-section-heading {
    margin-bottom: 38px;
    padding-left: 0;
  }
  .sub-section-heading > span {
    left: auto;
    right: 0;
    top: 25px;
  }
  .about-intro-body {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .vertical-copy {
    justify-self: start;
    font-size: 25px;
    writing-mode: horizontal-tb;
  }
  .about-intro-art {
    height: 270px;
    grid-row: 2;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
  .value-card {
    min-height: 285px;
  }
  .value-card > span {
    margin-bottom: 35px;
  }
  .promise-layout,
  .service-lead,
  .detail-copy,
  .two-column,
  .greeting-layout,
  .access-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .promise-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .sub-cta {
    padding: 52px 28px;
  }
  .service-jump {
    width: calc(100% - 28px);
    margin: -38px auto 12px;
  }
  .service-jump summary {
    height: 78px;
    padding: 0 22px;
  }
  .service-jump summary span {
    display: none;
  }
  .service-jump nav {
    grid-template-columns: 1fr;
  }
  .service-jump nav a {
    border-right: 0;
  }
  .service-lead {
    min-height: 0;
  }
  .service-lead .en-label {
    margin: 0;
  }
  .service-detail-head {
    min-height: 240px;
    padding: 42px 28px;
  }
  .service-detail-head > div:first-child {
    padding-left: 40px;
  }
  .detail-icon {
    width: 100px;
    height: 100px;
  }
  .detail-icon svg {
    width: 54px;
  }
  .service-detail-body {
    padding: 50px 28px 58px;
  }
  .support-grid {
    grid-template-columns: 1fr;
  }
  .support-grid article {
    min-height: 145px;
  }
  .process-list {
    grid-template-columns: 1fr 1fr;
  }
  .process-list li:not(:last-child)::after {
    display: none;
  }
  .inheritance-note {
    padding: 55px 28px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .greeting-photo {
    min-height: 420px;
  }
  .overview-table > div {
    padding: 18px 0;
    grid-template-columns: 95px 1fr;
  }
  .overview-table dt {
    padding-left: 0;
    padding-bottom: 10px;
  }
  .overview-table > div {
    display: block;
  }
  .office-gallery {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .map-frame,
  .map-frame iframe {
    min-height: 340px;
  }
}

@media (max-width: 430px) {
  .sub-hero-title h1,.privacy-hero h1 {
    font-size: 30px;
  }
  .sub-hero-lead {
    width: 73%;
  }
  .detail-icon {
    width: 80px;
    height: 80px;
  }
  .detail-icon svg {
    width: 44px;
  }
  .service-detail-head {
    padding-inline: 22px;
    min-height: 200px;
  }
  .overview-table > div {
    grid-template-columns: 78px 1fr;
  }
  .signature span {
    display: block;
    margin: 0 0 5px;
  }
  .sub-hero-title p,.sub-section-heading > p,.service-lead .en-label,.detail-copy p,.inheritance-note > p,.parking-heading > p:last-child,.parking-point p {
        font-size: 14px;
  }
}
.panel.about,
.panel.trust-panel,
.panel.company-panel  {
  position: relative;
  background: #fff;
}

.panel.about,
.panel.trust-panel,
.panel.company-panel  {
  position: relative;

  background: linear-gradient(
    to bottom,

    /* 上側 */
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.45) 80px,
    rgba(255, 255, 255, 0.85) 160px,
    #fff 260px,

    /* 中央 */
    #fff calc(100% - 260px),

    /* 下側 */
    rgba(255, 255, 255, 0.85) calc(100% - 160px),
    rgba(255, 255, 255, 0.45) calc(100% - 80px),
    rgba(255, 255, 255, 0) 100%
  );
}

.panel.about::before {
  display: none;
}
/* 駐車場案内
------------------------------------------ */
.parking-guide {
  margin-top: clamp(70px, 8vw, 120px);
  padding: clamp(35px, 5vw, 70px);
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(46, 182, 169, 0.14),
      transparent 36%
    ),
    #f8fcfb;
  border: 1px solid rgba(46, 182, 169, 0.14);
  border-radius: 32px;
}

.parking-heading {
  margin-bottom: clamp(35px, 5vw, 60px);
}

.parking-en {
  margin: 0 0 14px;
  color: #17877d;
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.parking-heading h3 {
  margin: 0 0 20px;
  color: #161c1b;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.parking-heading > p:last-child {
  margin: 0;
  color: #5f6967;
  font-size: 16px;
  line-height: 2;
}

/* 案内地図と住所 */
.parking-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(250px, 0.8fr);
  gap: clamp(25px, 4vw, 55px);
  align-items: center;
}

.parking-map {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(30, 75, 70, 0.1);
}

.parking-map img {
  display: block;
  width: 100%;
  height: auto;
}

.parking-address {
  padding: clamp(24px, 3vw, 38px);
  background: #fff;
  border-left: 4px solid #2eb6a9;
  border-radius: 0 20px 20px 0;
}

.parking-address-label {
  margin: 0 0 12px;
  color: #17877d;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.parking-address h4 {
  margin: 0 0 18px;
  color: #161c1b;
  font-size: 21px;
  letter-spacing: 0.05em;
}

.parking-address address {
  margin: 0;
  color: #303937;
  font-size: 16px;
  font-style: normal;
  line-height: 1.9;
}

.parking-caution {
  margin: 20px 0 0;
  color: #68716f;
  font-size: 13px;
  line-height: 1.8;
}

/* 曲がり角・入口 */
.parking-points {
  margin-top: clamp(35px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 30px);
}

.parking-point {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(46, 182, 169, 0.14);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(30, 75, 70, 0.08);
}

.parking-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.parking-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parking-number {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2eb6a9;
  border: 3px solid #fff;
  border-radius: 50%;
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(20, 90, 83, 0.2);
}

.parking-point figcaption {
  padding: 24px 26px 28px;
}

.parking-point h4 {
  margin: 0 0 12px;
  color: #161c1b;
  font-size: 20px;
  letter-spacing: 0.05em;
}

.parking-point p {
  margin: 0;
  color: #5f6967;
  font-size: 14px;
  line-height: 1.9;
}

/* スマートフォン */
@media (max-width: 800px) {
  .parking-guide {
    padding: 32px 20px;
    border-radius: 24px;
  }

  .parking-overview,
  .parking-points {
    grid-template-columns: 1fr;
  }

  .parking-address {
    border-top: 4px solid #2eb6a9;
    border-left: 0;
    border-radius: 0 0 18px 18px;
  }
}

@media (max-width: 480px) {
  .parking-heading > p:last-child {
    font-size: 15px;
  }

  .parking-point figcaption {
    padding: 21px 20px 24px;
  }

  .parking-number {
    top: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
  }
}
.tel-button {  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-width: 255px;
  padding: 18px 30px;

  color: #167d74;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.68)
  );

  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 100px;

  box-shadow:
    0 14px 35px rgba(18, 105, 98, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  font-family: "Jost", sans-serif;
  letter-spacing: 0.08em;
  margin-top: 20px;
  transition:
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.tel-button svg {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  fill: currentColor;
  stroke: none;
  transition: transform 0.3s ease;
}

.tel-button:hover {
  color: #ffffff;
  background: rgba(23, 125, 116, 0.82);
  box-shadow: 0 18px 40px rgba(18, 105, 98, 0.24);
  transform: translateY(-3px);
}

.tel-button:hover svg {
  transform: rotate(-8deg);
}

.footer-brand > .footer-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-family: "Jost", sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.footer-tel svg {
   width: 18px;
  height: 18px;

  fill: currentColor;
  stroke: none;
}

.footer-tel:hover {
  opacity: 0.7;
}
.office-shot {
  overflow: hidden;
  border-radius: 20px;
}

.office-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.greeting-photo {
  overflow: hidden;
}

.greeting-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}