:root {
  --paper: #f8f6f1;
  --paper-alt: #efebe2;
  --ink: #17140f;
  --ink-soft: #4a463d;
  --muted: #8b8577;
  --line: #dcd5c6;
  --obsidian: #0b0a08;
  --obsidian-2: #1c1914;
  --brass: #9c7f45;
  --brass-soft: #c9ad73;
  --paper-on-obsidian: #f3eee2;

  --serif: "Shippori Mincho", serif;
  --sans: "Noto Sans JP", sans-serif;

  --max: 1180px;
  --pad: clamp(24px, 5vw, 72px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
}
.eyebrow.on-dark {
  color: var(--brass-soft);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.ph {
  position: relative;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(23, 20, 15, 0.05) 0 1px,
    transparent 1px 14px
  );
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-family: var(--sans);
}
.ph.dark {
  background: var(--obsidian-2);
  border-color: #2b2620;
}
.ph.dark::before {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(243, 238, 226, 0.05) 0 1px,
    transparent 1px 14px
  );
}
.ph.dark::after {
  color: #7a7264;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 500;
  border-radius: 2px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--obsidian);
  color: var(--paper-on-obsidian);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--obsidian);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(201, 173, 115, 0.35) 48%,
    transparent 66%
  );
  background-size: 220% 100%;
  background-position: 120% 0;
  transition: background-position 0.7s ease;
}
.btn-primary:hover::before {
  background-position: -20% 0;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(11, 10, 8, 0.55);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 246, 241, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease;
  padding: 0 4rem;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  font-weight: bold;
}
.right-group {
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo img {
  width: 60px;
}
.logo span {
  font-family: "Century Gothic", Futura, sans-serif;
  font-weight: 900;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
nav.links {
  display: flex;
  align-items: center;
  gap: 40px;
}
nav.links a {
  font-size: 14px;
  letter-spacing: 0.03em;
  position: relative;
  padding: 4px 0;
}
nav.links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
nav.links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-cta .btn {
  padding: 11px 22px;
  font-size: 12.5px;
}
.burger {
  display: none;
}

.hero {
  padding-top: calc(84px + clamp(56px, 9vw, 110px));
  padding-bottom: clamp(56px, 9vw, 100px);
  position: relative;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.42;
  margin-bottom: 28px;
}
.hero h1 .accent {
  color: var(--brass);
}
.hero p.lead {
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 40px;
}
.hero .cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 2px;
  overflow: hidden;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  --mx: 50%;
  --my: 50%;
  box-shadow: 0 24px 48px -16px rgba(23, 20, 15, 0.35);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.hero-visual img.active {
  opacity: 1;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    circle at var(--mx) var(--my),
    rgba(255, 255, 255, 0.35),
    transparent 45%
  );
  transition: background 0.1s linear;
  z-index: 1;
}
.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 2;
  pointer-events: none;
}
.corner.tl {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--brass);
  border-left: 2px solid var(--brass);
}
.corner.br {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--brass);
  border-right: 2px solid var(--brass);
}

section {
  padding: clamp(72px, 10vw, 128px) 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.4;
}
.section-head p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 15px;
}
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem;
  transition: background 0.35s ease;
}
.service-card:hover {
  background: #fdfcf9;
}
.card-stretch-link {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  width: 100%;
}
.service-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-text h3 {
  font-size: 19px;
}
.service-text p {
  color: var(--ink-soft);
  font-size: 14.5px;
}
.service-visual {
  position: relative;
  width: clamp(160px, 22vw, 240px);
  aspect-ratio: 4/3;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
}
.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-link {
  align-self: flex-start;
  font-size: 13px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.card-link span {
  transition: transform 0.3s ease;
}
.service-card:hover .card-link span {
  transform: translateX(5px);
}
.process-list {
  position: relative;
}
.process-list::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.step {
  padding-top: 0;
}
.step-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--paper);
  background: var(--obsidian);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.05em;
}
.step h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: var(--ink-soft);
}

.about .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 22px;
  line-height: 1.55;
}
.about p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 16px;
}
.about-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.about-meta div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.about-meta dt {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.about-meta dd {
  font-size: 14.5px;
}

.cta {
  background: var(--paper-alt);
  text-align: center;
}
.cta h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  margin-bottom: 18px;
}
.cta p {
  color: var(--ink-soft);
  margin-bottom: 36px;
}

footer {
  background: var(--obsidian);
  color: #c7c0b0;
  padding-top: clamp(56px, 8vw, 88px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(243, 238, 226, 0.14);
}
.footer-logo {
  font-family: var(--serif);
  color: var(--paper-on-obsidian);
  font-size: 19px;
  margin-bottom: 16px;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #8b8574;
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul li {
  margin-bottom: 12px;
  font-size: 13.5px;
}
.footer-col a:hover {
  color: var(--brass-soft);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 12px;
  color: #7a7364;
  flex-wrap: wrap;
  gap: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 6px 6px 6px 28px;
  cursor: pointer;
  font-family: "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

.read-more-btn span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1a1a1a;
  text-transform: uppercase;
}

.read-more-btn .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f7bff 0%, #2a5cff 100%);
  flex-shrink: 0;
}

.read-more-btn .icon svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
}
.pc-only {
  display: block;
}
.sp-only {
  display: none;
}
.cta-center {
  justify-content: center;
}
#consulting,
#real-estate,
#seminar,
#videos {
  scroll-margin-top: 140px;
}
section.cta {
  padding: 2.5rem 0;
}
@media (max-width: 920px) {
  .logo span {
    font-size: 1.2rem;
  }
  .nav {
    height: 60px;
  }
  .logo img {
    width: 40px;
  }
  header {
    padding: 0 1rem;
  }
  .right-group {
    gap: 15px;
  }
  nav.links {
    gap: 15px;
  }
  nav.links a {
    font-size: 14px;
  }
  .nav-cta .btn {
    padding: 8px 11px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .service-card a {
    flex-direction: column;
    align-items: flex-start;
  }
  .service-visual {
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }
  .process-list::before {
    display: none;
  }
  .voice-grid {
    grid-template-columns: 1fr;
  }
  .about .wrap {
    grid-template-columns: 1fr;
  }
  .about-visual {
    order: -1;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .logo span {
    font-size: 1.3rem;
  }
  #consulting,
  #real-estate,
  #seminar,
  #videos {
    scroll-margin-top: 80px;
  }
  .pc-only {
    display: none;
  }
  .sp-only {
    display: flex;
  }
  section {
    padding-top: 0;
    padding-bottom: 40px;
  }
  section#contact {
    padding-top: 40px;
  }
  #contact h2 {
    font-size: 1.3rem;
  }
  .hero {
    padding-top: 100px;
  }

  nav.links,
  .nav-cta {
    display: none;
  }
  .burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 26px;
    background: none;
    border: none;
  }
  .burger span {
    height: 1px;
    background: var(--ink);
    display: block;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: none;
  }
  .btn {
    padding: 8px 20px;
    font-size: 14px;
  }
  .about-meta {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
}
