:root {
  --ink: #292b30;
  --muted: #676a70;
  --yellow: #ffd432;
  --orange: #ff9f1c;
  --cream: #fffaf0;
  --line: #eadfca;
  --white: #ffffff;
  --green: #06c755;
  --shadow: 0 18px 55px rgba(64, 46, 12, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(234,223,202,.72);
}
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { display: block; width: 96px; height: 78px; object-fit: contain; mix-blend-mode: multiply; }
.brand-footer {
  padding: 8px;
  border-radius: 12px;
  background: var(--white);
}
.brand-footer .brand-logo {
  width: 82px;
  height: 66px;
  filter: none;
  mix-blend-mode: multiply;
  opacity: 1;
}
.nav { display: flex; align-items: center; gap: 26px; font-size: .93rem; font-weight: 700; }
.nav a { transition: color .2s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: #d97600; }
.nav .nav-cta { padding: 10px 17px; border-radius: 999px; background: var(--ink); color: white; }
.menu-button { display: none; border: 0; background: var(--cream); border-radius: 10px; padding: 9px 12px; font: inherit; font-weight: 700; }

.hero { overflow: hidden; background: linear-gradient(135deg, #fffdf8 0%, #fff7d9 62%, #ffe8af 100%); }
.hero-inner { min-height: 700px; display: grid; grid-template-columns: .96fr 1.04fr; gap: 72px; align-items: center; padding-block: 68px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: #9a5700; font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 999px; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 26px; font-size: clamp(2.55rem, 5vw, 4.65rem); line-height: 1.18; letter-spacing: -.045em; }
.hero h1 .accent { display: inline; background: linear-gradient(transparent 69%, rgba(255,212,50,.72) 0); }
.hero-lead { max-width: 610px; color: #56585d; font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 23px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; box-shadow: 0 12px 28px rgba(41,43,48,.18); }
.button-secondary { background: white; border: 1px solid var(--line); }
.button-line { background: var(--green); color: white; box-shadow: 0 12px 28px rgba(6,199,85,.22); }
.hero-photo-wrap { position: relative; min-height: 565px; margin: 0; display: flex; align-items: flex-end; justify-content: center; }
.hero-photo-accent { position: absolute; width: 88%; height: 83%; right: -3%; bottom: 0; border-radius: 48% 48% 30px 30px; background: linear-gradient(145deg,var(--yellow),var(--orange)); box-shadow: 0 30px 80px rgba(255,159,28,.28); }
.hero-photo { position: relative; z-index: 1; display: block; width: min(100%, 475px); height: 555px; object-fit: cover; object-position: 50% 25%; border-radius: 220px 220px 30px 30px; box-shadow: 0 24px 60px rgba(35,38,44,.18); }
.hero-name { position: absolute; z-index: 2; left: -18px; bottom: 54px; min-width: 210px; padding: 15px 22px; border-radius: 16px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); line-height: 1.45; }
.hero-name span { display: block; color: var(--muted); font-size: .78rem; font-weight: 700; }
.hero-name strong { font-size: 1.12rem; }
.hero-service-labels { position: absolute; z-index: 2; right: -15px; top: 54px; display: grid; gap: 8px; }
.hero-service-labels span { padding: 9px 15px; border-radius: 999px; background: var(--ink); color: white; font-size: .82rem; font-weight: 800; box-shadow: 0 10px 25px rgba(41,43,48,.18); }
.icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 17px; border-radius: 15px; background: #fff2bd; font-size: 1.5rem; }
.floating-card h2 { margin-bottom: 8px; font-size: 1.25rem; }
.floating-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.founding { position: absolute; left: 53px; bottom: 96px; color: white; font-size: .85rem; font-weight: 800; letter-spacing: .1em; transform: rotate(-8deg); }

.section { padding-block: 110px; }
.section-soft { background: var(--cream); }
.section-head { max-width: 710px; margin-bottom: 50px; }
.section-head h2 { margin-bottom: 15px; font-size: clamp(2rem,4vw,3rem); line-height: 1.3; letter-spacing: -.03em; }
.section-head p { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.service-card { position: relative; padding: 42px; border: 1px solid var(--line); border-radius: 27px; background: white; overflow: hidden; }
.service-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -55px; bottom: -70px; border-radius: 50%; background: #fff0aa; }
.service-card h3 { margin-bottom: 12px; font-size: 1.55rem; }
.service-card p { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; color: #a75d00; font-weight: 800; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.feature-intro h2 { font-size: clamp(2.1rem,4vw,3.35rem); line-height: 1.35; letter-spacing: -.04em; }
.feature-intro p { color: var(--muted); }
.feature-list { display: grid; gap: 14px; }
.feature-item { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 22px; border-radius: 20px; background: white; box-shadow: 0 8px 28px rgba(70,53,18,.06); }
.feature-num { display: grid; place-items: center; height: 46px; border-radius: 14px; background: var(--yellow); font-weight: 900; }
.feature-item h3 { margin-bottom: 3px; font-size: 1.04rem; }
.feature-item p { margin: 0; color: var(--muted); font-size: .91rem; }
.message-panel { display: grid; grid-template-columns: .7fr 1.3fr; border-radius: 30px; background: var(--ink); color: white; overflow: hidden; }
.message-photo { min-height: 410px; overflow: hidden; background: #dfe4e8; }
.message-photo img { display: block; width: 100%; height: 100%; min-height: 410px; object-fit: cover; object-position: 50% 24%; }
.portrait-placeholder { min-height: 390px; display: grid; place-items: center; padding: 30px; background: linear-gradient(150deg,#ffd32a,#ff9f1c); color: #5d3a00; text-align: center; font-weight: 800; }
.portrait-placeholder span { display: block; font-size: 3.6rem; line-height: 1; }
.message-copy { padding: 55px; }
.message-copy p { color: #e3e3e3; }
.message-copy .signature { margin-top: 28px; color: white; font-weight: 800; }

.cta-section { padding-block: 90px; background: linear-gradient(135deg,var(--yellow),var(--orange)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { margin-bottom: 10px; font-size: clamp(2rem,4vw,3.25rem); line-height: 1.3; }
.cta-inner p { margin: 0; color: #5f3a00; }
.cta-section .button-line { min-width: 235px; background: var(--ink); }

.page-hero { padding-block: 94px 76px; background: linear-gradient(135deg,#fffdf8,#fff2bd); }
.page-hero h1 { margin-bottom: 15px; font-size: clamp(2.5rem,5vw,4.3rem); line-height: 1.2; letter-spacing: -.045em; }
.page-hero p { max-width: 680px; color: var(--muted); font-size: 1.05rem; }
.detail-block { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; padding-block: 82px; border-bottom: 1px solid var(--line); }
.detail-side { min-width: 0; }
.detail-label { color: #a75d00; font-weight: 800; }
.detail-visual { margin: 24px 0 0; overflow: hidden; border-radius: 24px; background: var(--cream); box-shadow: var(--shadow); }
.detail-visual img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
#sales .detail-visual img { object-position: 55% center; }
#realestate .detail-visual img { object-position: center; }
.detail-copy h2 { font-size: 2rem; }
.detail-copy > p { color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.tag { padding: 8px 13px; border-radius: 999px; background: #fff1b3; font-size: .9rem; font-weight: 700; }
.steps { display: grid; gap: 12px; margin-top: 34px; counter-reset: step; }
.step { position: relative; padding: 18px 20px 18px 67px; border-radius: 16px; background: var(--cream); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 17px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); font-weight: 900; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 40px; }
.value { padding: 26px; border-radius: 20px; background: var(--cream); }
.value h3 { font-size: 1.1rem; }
.profile { display: grid; grid-template-columns: .62fr 1.38fr; gap: 60px; align-items: start; }
.profile-photo { position: sticky; top: 125px; overflow: hidden; border-radius: 28px; background: #eef1f3; box-shadow: var(--shadow); }
.profile-photo img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 22%; }
.profile-copy blockquote { margin: 0 0 30px; font-size: clamp(1.5rem,3vw,2.4rem); font-weight: 800; line-height: 1.55; letter-spacing: -.02em; }
.profile-copy p { color: var(--muted); }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { padding: 22px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.company-table th { width: 190px; color: #8d5300; font-size: .9rem; }
.contact-card { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin-top: 55px; padding: 38px; border-radius: 25px; background: #f0fff5; border: 1px solid #bceccb; }
.contact-card h2 { margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--muted); }
.line-contact-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.line-contact-copy h2, .line-contact-copy p { margin: 0; }
.line-qr-link { display: block; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(32, 40, 37, .08); }
.line-qr { display: block; width: 190px; height: 190px; object-fit: contain; border-radius: 10px; }

.site-footer { padding-block: 45px; background: #24262a; color: white; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.footer-meta { color: #adb0b7; font-size: .83rem; text-align: right; }

@media (max-width: 840px) {
  .header-inner { min-height: 78px; }
  .brand-logo { width: 75px; height: 64px; }
  .menu-button { display: block; }
  .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 22px 20px 26px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 15px 28px rgba(0,0,0,.08); }
  .nav.open { display: grid; gap: 18px; }
  .nav .nav-cta { text-align: center; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding-block: 65px 75px; }
  .hero-photo-wrap { min-height: 570px; max-width: 540px; width: 100%; margin-inline: auto; }
  .hero-photo { height: 560px; }
  .floating-card { width: 245px; padding: 22px; }
  .floating-card.home { right: 2%; }
  .service-grid, .features, .profile { grid-template-columns: 1fr; }
  .profile-photo { position: static; max-width: 440px; }
  .features { gap: 35px; }
  .message-panel { grid-template-columns: 1fr; }
  .portrait-placeholder { min-height: 280px; }
  .detail-block { grid-template-columns: 1fr; gap: 30px; }
  .detail-visual { margin-top: 18px; }
  .values { grid-template-columns: 1fr; }
  .cta-inner { display: grid; }
  .cta-section .button-line { width: fit-content; }
  .contact-card { grid-template-columns: 1fr; }
  .line-qr-link { justify-self: start; }
}

@media (max-width: 540px) {
  .container { width: min(100% - 28px,1120px); }
  .section { padding-block: 75px; }
  .hero-inner { padding-top: 52px; }
  .hero h1 { font-size: 2.55rem; }
  .actions { display: grid; }
  .button { width: 100%; }
  .hero-photo-wrap { min-height: 470px; margin-inline: 0; }
  .hero-photo { height: 465px; width: calc(100% - 10px); border-radius: 180px 180px 25px 25px; }
  .hero-photo-accent { width: 93%; right: 0; }
  .hero-name { left: -4px; bottom: 24px; min-width: 180px; padding: 12px 16px; }
  .hero-service-labels { right: -3px; top: 36px; }
  .service-card { padding: 29px; }
  .message-copy { padding: 34px 27px; }
  .page-hero { padding-block: 65px 55px; }
  .company-table th, .company-table td { display: block; width: 100%; padding: 13px 5px; }
  .company-table th { padding-bottom: 0; border-bottom: 0; }
  .footer-inner { display: grid; }
  .footer-meta { text-align: left; }
}
