/* Homepage art direction: restrained type, photography and a consistent rhythm. */
:root { --home-rule: #dce0e3; --home-paper: #f5f5f2; }
html { scroll-padding-top: 132px; }
.section-padding { padding: clamp(64px, 7vw, 112px) 0; }
.container { max-width: 1280px; padding-inline: 40px; }
.hero-frame { padding: 110px 24px 0; background: var(--home-paper); }
.hero { max-width: 1520px; min-height: 620px; padding: 64px 0 84px; }
.hero-bg { inset: -18px 0; background-position: center; background-size: cover; }
.hero-overlay { background: linear-gradient(90deg, rgba(11,17,31,.79), rgba(11,17,31,.54) 35%, rgba(11,17,31,.06) 65%); }
.hero-content { padding: 0 53% 0 clamp(32px, 5vw, 76px); }
.hero-badge { padding: 0; border: 0; background: none; backdrop-filter: none; font-size: 12px; letter-spacing: .14em; margin-bottom: 26px; }
.hero-title { color: #fff; font-size: clamp(34px, 3.1vw, 46px); font-weight: 500; line-height: 1.65; letter-spacing: .07em; margin-bottom: 22px; }
.hero-title .line { margin: 0; overflow: visible; }
.hero-title .line > span { padding: 0; background: none; box-shadow: none; transform: none; }
.hero-title .line:first-child > span { font-size: .64em; letter-spacing: .055em; }
.hero-title .line { animation: home-arrive 950ms cubic-bezier(.22,1,.36,1) both; }
.hero-title .line:nth-child(2) { animation-delay: 100ms; }
.hero-title .line:nth-child(3) { animation-delay: 190ms; }
.hero-subtitle { max-width: 380px; font-size: 13px; line-height: 2; color: #eff1f4; margin-bottom: 26px; }
.hero-cta { border-radius: 2px; box-shadow: none; gap: 16px; padding: 16px 22px; font-size: 13px; }
.hero-cta-free { border-radius: 0; border-right: 1px solid #c7ccd2; background: none; color: inherit; padding: 0 14px 0 0; }
.hero-cta:hover { box-shadow: none; transform: translateY(-2px); }
.hero-cta .arrow { margin-left: 18px; }
.hero-secondary { display: block; width: fit-content; margin-top: 17px; color: #fff; font-size: 11px; letter-spacing: .06em; }
.hero-secondary span { display: inline-block; margin-left: 16px; transition: transform .3s; }
.hero-secondary:hover span { transform: translate(2px,-2px); }
.hero-scroll { position: absolute; bottom: 24px; right: 32px; z-index: 2; display: flex; gap: 20px; align-items: center; color: #fff; font: 10px 'Inter',sans-serif; letter-spacing: .18em; }
.hero-scroll span:last-child { font-size: 20px; animation: home-scroll 2.8s ease-in-out infinite; }
.home-results { background: #fff; border-bottom: 1px solid var(--home-rule); }
.results-inner { display: grid; grid-template-columns: 1fr 3fr; align-items: center; padding-block: 36px; gap: 40px; }
.results-caption > span { font: 10px 'Inter',sans-serif; letter-spacing: .18em; color: #6c7681; }
.results-caption p { margin-top: 9px; font: 500 17px/1.7 'Noto Serif JP',serif; }
.home-results .hero-awards { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; animation: none; overflow: visible; }
.home-results .award-badge { white-space: normal; border: 0; border-left: 1px solid var(--home-rule); margin: 0; padding: 0 0 0 28px; }
.home-results .label { color: #505a65; font-size: 11px; min-height: 30px; letter-spacing: 0; }
.home-results .number { color: var(--navy); font-size: clamp(32px,3.5vw,48px); font-weight: 400; letter-spacing: -.04em; white-space: nowrap; }
.home-results .unit { color: var(--navy); font-size: 17px; font-weight: 400; letter-spacing: 0; }
.section-header { text-align: left; margin-bottom: 44px; }
.section-header .en-title { font-size: 10px; letter-spacing: .18em; color: #657381; margin-bottom: 20px; }
.section-header h2 { font-size: clamp(26px,2.7vw,36px); line-height: 1.65; font-weight: 500; letter-spacing: .04em; margin-bottom: 20px; }
.section-header .divider { display: none; }
.section-header p { margin: 0; font-size: 13px; line-height: 2; }
.editorial-link { display: inline-flex; align-items: center; gap: 34px; border-bottom: 1px solid #a6aeb7; padding: 10px 0; margin-top: 24px; font-size: 12px; color: var(--navy); }
.editorial-link span { transition: transform .3s; }
.editorial-link:hover span { transform: translate(3px,-3px); }
.strengths { background: var(--home-paper); padding-block: 56px; }
.strengths > .container { display: grid; grid-template-columns: minmax(240px,.8fr) minmax(0,1.7fr); align-items: start; gap: 48px; }
.strengths .section-header { position: sticky; top: 154px; }
.strengths .section-header h2 { font-size: 28px; line-height: 1.5; margin-bottom: 16px; }
.strength-brand { display: block; white-space: nowrap; font: 500 14px/1.7 'Noto Sans JP',sans-serif; letter-spacing: .02em; margin-bottom: 8px; }
.strengths .section-header .en-title { margin-bottom: 16px; }
.strengths .section-header p { font-size: 12px; line-height: 1.85; }
.strengths .editorial-link { margin-top: 16px; }
.strength-cards { width: 100%; max-width: none; }
.strength-card { grid-template-columns: minmax(0,1fr) 210px; grid-template-rows: min-content 1fr; align-items: start; gap: 10px 24px; padding: 22px 0; }
.strength-card-meta { display: flex; align-items: center; gap: 14px; }
.strength-card-number { font: 400 14px 'Inter',sans-serif; color: #5f6c79; }
.strength-card-number::after { display: none; }
.strength-card-label { margin: 0; letter-spacing: .13em; font-size: 9px; color: #6b7885; }
.strength-card-body { grid-column: 1; }
.strength-card h3 { font-size: 17px; line-height: 1.65; margin-bottom: 8px; }
.strength-card p { font-size: 12px; line-height: 1.85; }
.strength-card-image { grid-column: 2; grid-row: 1 / 3; aspect-ratio: 3 / 2; align-self: center; }
.cta-banner { background: var(--navy); padding: 40px 0; text-align: left; }
.cta-banner > .container { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-banner h3 { font-size: 20px; line-height: 1.9; margin: 0; }
.cta-banner .hero-cta { flex-shrink: 0; }
.service-flow > .container { display: grid; grid-template-columns: .8fr 1.7fr; align-items: start; gap: 70px; }
.flow-timeline { width: 100%; }
.flow-step { grid-template-columns: 36px minmax(0,1fr); padding: 24px 0; gap: 22px; }
.flow-number { font-size: 15px; color: #657381; padding-top: 5px; }
.flow-number::after { display: none; }
.flow-content { display: block; }
.flow-content h4 { font-family: 'Noto Sans JP',sans-serif; font-size: 15px; margin-bottom: 10px; letter-spacing: .02em; }
.flow-content p { font-size: 12px; line-height: 1.95; }
.testimonials { background: var(--home-paper); }
.testimonial-grid { max-width: none; border: 0; gap: 30px; align-items: stretch; }
.testimonial-card, .testimonial-card:first-child, .testimonial-card:last-child { border: 0; padding: 0; min-width: 0; }
.testimonial-image { order: 0; display: block; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 24px; }
.testimonial-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.22,1,.36,1); }
.testimonial-image:hover img { transform: scale(1.035); }
.testimonial-body::before { display: none; }
.testimonial-title { font-size: 19px; line-height: 1.8; }
.testimonial-text { font-size: 12px; line-height: 1.95; }
.testimonial-header { border-top: 1px solid var(--home-rule); margin-top: 24px; padding-top: 18px; }
.members { background: #fff; }
.member-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 40px 28px; }
.member-photo { border-radius: 0; }
.member-photo img { transition-duration: .75s; }
.member-name { font-size: 19px; }
.member-name-en { font-size: 10px; }
.member-career { font-size: 12px; }
.member-tags span { background: transparent; border-radius: 0; border-bottom: 1px solid var(--home-rule); padding-inline: 0; }
.member-swipe-hint { display: none; }
.home-footer-grid { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3,minmax(0,1fr)); gap: 32px; margin-bottom: 40px; }
.home-footer-grid > div { min-width: 0; }
.home-footer-brand img { max-width: 100%; object-fit: contain; object-position: left center; }
.home-footer-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; padding: 12px 16px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 700; border-radius: 2px; white-space: nowrap; }
.home-footer-cta:hover { background: #e6ebef; }
@media (min-width: 769px) and (max-width: 1100px) {
  .home-footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .home-footer-brand { grid-column: 1 / -1; }
}
.home-popular { background: #fff; border-top: 1px solid var(--home-rule); }
.popular-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; list-style: none; padding: 0; margin: 0; }
.popular-item { min-width: 0; }
.popular-link { display: flex; flex-direction: column; height: 100%; color: var(--navy); }
.popular-image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--home-paper); }
.popular-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.22,1,.36,1); }
.popular-link:hover .popular-image img { transform: scale(1.035); }
.popular-meta { display: flex; align-items: baseline; gap: 18px; margin: 20px 0 12px; font-size: 10px; color: #657381; }
.popular-number { font: 400 24px/1 'Inter',sans-serif; color: var(--navy); }
.popular-link h3 { font: 500 18px/1.85 'Noto Serif JP',serif; margin: 0 0 24px; }
.popular-more { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 12px 0; border-top: 1px solid var(--home-rule); font-size: 11px; }
.popular-more > span { font-size: 17px; }
.popular-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; }
.popular-period { color: #657381; font-size: 10px; line-height: 1.8; margin: 0; }
.popular-index-links { display: flex; gap: 28px; flex-wrap: wrap; }
.popular-index-links .editorial-link { margin-top: 0; gap: 24px; }
.popular-swipe-hint { display: none; }
.company { padding: 56px 0; background: #fff; border-top: 1px solid var(--home-rule); }
.company-layout { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.7fr); gap: 60px; align-items: start; }
.company-heading > span { display: block; font: 10px 'Inter',sans-serif; letter-spacing: .12em; color: #66717b; margin: 5px 0 12px; }
.company-heading h2 { font: 600 24px/1.5 'Noto Sans JP',sans-serif; letter-spacing: .03em; }
.company-details { margin: 0; border-top: 1px solid #79828b; }
.company-details > div { display: grid; grid-template-columns: 130px minmax(0,1fr); gap: 18px; border-bottom: 1px solid var(--home-rule); padding: 13px 0; font-size: 13px; line-height: 1.7; }
.company-details dt { color: #5d6670; font-weight: 500; }
.company-details dd { margin: 0; color: var(--navy); overflow-wrap: anywhere; }
.contact { background: var(--home-paper); }
.contact-form-card { border-radius: 2px; box-shadow: none; border: 1px solid var(--home-rule); }
.form-submit { border-radius: 2px; box-shadow: none; }
.floating-cta.collapsed { width: auto; }
.fcta-mini { border-radius: 2px; background: var(--navy); box-shadow: 0 3px 14px #0b111f18; font-size: 12px; }
.fcta-pulse, .fcta-status-dot { animation: none; }
.fade-in, .fade-in-left, .fade-in-right { opacity: 1; transform: none; }
@keyframes home-arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes home-scroll { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: no-preference) {
  .fade-in.visible, .fade-in-left.visible, .fade-in-right.visible { animation: home-arrive .7s cubic-bezier(.22,1,.36,1) both; }
}
:focus-visible { outline: 2px solid #6688a0; outline-offset: 5px; }
@media (min-width: 1440px) { .hero { min-height: 680px; } }
@media (max-width: 1100px) {
  .strengths > .container, .service-flow > .container { gap: 36px; grid-template-columns: 1fr 2fr; }
  .strength-card { grid-template-columns: minmax(0,1fr) 140px; gap: 12px 20px; }
  .results-inner { gap: 24px; }
  .home-results .award-badge { padding-left: 18px; }
}
@media (max-width: 1024px) {
  html { scroll-padding-top: 80px; }
  .hero-frame { padding-top: 60px; }
  .hero { min-height: 570px; }
  .hero-content { padding-left: 32px; padding-right: 52%; }
  .hero-title { font-size: 34px; }
  .member-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 768px) {
  .container { padding-inline: 24px; }
  .hero-frame { padding: 60px 0 0; }
  .hero { min-height: 720px; padding: 302px 24px 58px; align-items: flex-end; }
  .hero-bg { inset: 0; background-image: url('/images/editorial/hero-urban-advisory-v5.webp'); background-size: auto 420px; background-position: right top; background-color: var(--navy); }
  .hero-overlay { background: linear-gradient(180deg, transparent 180px, rgba(11,17,31,.4) 260px, var(--navy) 420px); }
  .hero-content { padding: 0; width: 100%; }
  .hero-badge { font-size: 10px; margin-bottom: 16px; }
  .hero-title { font-size: 32px; line-height: 1.55; margin-bottom: 18px; }
  .hero-title .line > span { padding: 0; }
  .hero-title .line:first-child > span { font-size: .62em; }
  .hero-subtitle { font-size: 12px; max-width: 350px; margin-bottom: 22px; }
  .hero-cta { padding: 14px 20px; gap: 12px; font-size: 12px; }
  .hero-secondary { margin-top: 16px; font-size: 11px; }
  .hero-scroll { right: 24px; bottom: 18px; font-size: 8px; }
  .results-inner { display: block; padding-block: 25px; }
  .results-caption { margin-bottom: 24px; display: flex; align-items: center; gap: 22px; }
  .results-caption p { margin: 0; font-size: 13px; }
  .results-caption p br { display: none; }
  .results-caption > span { font-size: 8px; white-space: nowrap; }
  .home-results .hero-awards { gap: 10px; }
  .home-results .award-badge { padding: 0 0 0 10px; }
  .home-results .award-badge:first-child { border: 0; padding-left: 0; }
  .home-results .label { font-size: 9px; min-height: 34px; line-height: 1.6; }
  .home-results .number { font-size: clamp(27px,7.5vw,37px); }
  .home-results .unit { font-size: 12px; }
  .strengths > .container, .service-flow > .container { display: block; }
  .strengths .section-header { position: static; }
  .section-header { margin-bottom: 34px; }
  .section-header h2 { font-size: 27px; }
  .section-header .en-title { margin-bottom: 12px; }
  .strengths { padding-block: 36px; }
  .strengths .section-header { margin-bottom: 24px; }
  .strengths .section-header h2 { font-size: 25px; }
  .strength-brand { font-size: 13px; }
  .strength-card { grid-template-columns: minmax(0,1fr) 124px; padding: 20px 0; gap: 8px 14px; }
  .strength-card h3 { font-size: 17px; }
  .strength-card-body { display: contents; }
  .strength-card h3 { grid-column: 1; }
  .strength-card p { grid-column: 1 / -1; font-size: 12px; }
  .strength-card-image { aspect-ratio: 3 / 2; }
  .strength-card-meta { gap: 10px; }
  .strength-card-number { font-size: 12px; }
  .strength-card-label { font-size: 8px; letter-spacing: .1em; }
  .cta-banner > .container { display: block; }
  .cta-banner h3 { font-size: 17px; margin-bottom: 24px; }
  .flow-step { grid-template-columns: 28px minmax(0,1fr); gap: 16px; }
  .testimonial-grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; }
  .testimonial-card { scroll-snap-align: start; }
  .testimonial-title { font-size: 18px; }
  .testimonials .scroll-hint { display: flex; justify-content: flex-start; font-size: 10px; }
  .member-grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68%; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: thin; }
  .member-card { scroll-snap-align: start; }
  .member-swipe-hint { display: block; color: #657381; font-size: 10px; margin-top: 12px; }
  .home-footer { padding: 40px 0 30px; }
  .home-footer-grid { grid-template-columns: minmax(0,1fr); gap: 24px; margin-bottom: 32px; }
  .home-footer-brand { padding-bottom: 8px; }
  .home-footer-grid > div:not(.home-footer-brand) { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; }
  .home-footer-grid h4 { white-space: nowrap; }
  .home-footer-grid li a { display: inline-block; padding: 4px 0; line-height: 1.7; }
  .home-footer-cta { display: flex; width: 100%; min-height: 48px; }
  .home-popular .section-header h2 { font-size: 25px; }
  .popular-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; }
  .popular-item { scroll-snap-align: start; }
  .popular-link h3 { font-size: 17px; }
  .popular-swipe-hint { display: block; color: #657381; font-size: 10px; margin-top: 12px; }
  .popular-footer { display: block; margin-top: 20px; }
  .popular-index-links { margin-top: 16px; gap: 24px; }
  .contact-form-card { padding: 24px 18px; }
  .company { padding: 36px 0; }
  .company-layout { display: block; }
  .company-heading { margin-bottom: 20px; }
  .company-heading > span { margin-bottom: 8px; font-size: 9px; }
  .company-heading h2 { font-size: 22px; }
  .company-details > div { grid-template-columns: 82px minmax(0,1fr); gap: 12px; padding: 12px 0; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-bg { translate: 0 0 !important; }
  .hero-title .line > span, .fade-in, .fade-in-left, .fade-in-right { transform: none; opacity: 1; }
}
