/* ================================================================
   圏央住宅 公式サイト 共通スタイル
   ================================================================ */

/* ------- Reset ------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

/* ------- Tokens ------- */
:root {
  /* Brand */
  --color-primary: #F26A21;
  --color-primary-hover: #E15810;
  --color-primary-dark: #B34C11;
  --color-secondary: #1F5F4A;
  --color-secondary-hover: #164536;
  --color-accent: #FFC94A;

  /* Neutrals */
  --color-bg: #FDF9F3;
  --color-bg-sub: #F5EFE4;
  --color-bg-deep: #2D2620;
  --color-ink: #1B1815;
  --color-ink-sub: #5C5751;
  --color-border: #E8DFD1;

  /* Semantic */
  --color-success: #3A8F5A;
  --color-warning: #E8931A;
  --color-danger: #C13B2A;
  --color-info: #2E6BA8;

  /* Fonts */
  --font-jp: 'Noto Sans JP', system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-display: 'Zen Kaku Gothic New', 'Noto Sans JP', system-ui, sans-serif;
  --font-num: 'Manrope', system-ui, sans-serif;

  /* Space */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px;
  --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;

  /* Radius */
  --radius-sm: 8px;  --radius-md: 12px;
  --radius-lg: 16px; --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 6px rgba(27,24,21,0.06);
  --shadow-md: 0 6px 16px rgba(27,24,21,0.08);
  --shadow-lg: 0 12px 32px rgba(27,24,21,0.12);

  /* Layout */
  --container-max: 1200px;
  --header-h: 80px;
}
@media (min-width: 768px) {
  :root { --header-h: 88px; }
}
@media (min-width: 1280px) {
  :root { --header-h: 96px; }
}

/* ------- Base ------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.75;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 768px) {
  body { font-size: 17px; }
}
@media (min-width: 1280px) {
  body { font-size: 18px; }
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 900; line-height: 1.35; color: var(--color-ink); text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--color-accent); color: var(--color-ink); }

/* ------- Utility ------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
@media (min-width: 1280px) { .container { padding: 0 32px; } }

.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 88px 0; } }
@media (min-width: 1280px) { .section { padding: 112px 0; } }

.section-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-num); font-weight: 700; font-size: 13px;
  color: var(--color-primary); letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.section-kicker::before {
  content: ""; width: 24px; height: 3px; background: var(--color-primary);
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 12px;
}
.section-lead {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--color-ink-sub);
  max-width: 720px;
  margin-bottom: 40px;
}

/* ------- Buttons ------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-jp); font-size: 17px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s ease-out, box-shadow .2s ease-out, background-color .2s ease-out, color .2s ease-out;
  cursor: pointer;
  min-width: 200px;
}
@media (min-width: 768px) { .btn { height: 60px; font-size: 18px; padding: 0 36px; } }

.btn-primary { background: var(--color-primary); color: white; box-shadow: 0 4px 14px rgba(242,106,33,0.35); }
.btn-primary:hover { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(242,106,33,0.45); }

.btn-secondary { background: var(--color-secondary); color: white; }
.btn-secondary:hover { background: var(--color-secondary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--color-secondary); border: 2px solid var(--color-secondary); }
.btn-ghost:hover { background: var(--color-secondary); color: white; }

.btn-white { background: white; color: var(--color-ink); }
.btn-white:hover { background: var(--color-bg); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; min-width: 0; }

/* ------- Badges ------- */
.badge {
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  white-space: nowrap;
}
.badge-new { background: var(--color-primary); color: white; }
.badge-down { background: var(--color-warning); color: white; }
.badge-reformed { background: var(--color-secondary); color: white; }
.badge-pet { background: var(--color-accent); color: var(--color-ink); }
.badge-free { background: var(--color-success); color: white; }
.badge-quiet { background: white; color: var(--color-ink); border: 1px solid var(--color-border); }
.badge-dual { background: var(--color-info); color: white; }

/* ================================================================
   HEADER
   ================================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(253,249,243,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  transition: box-shadow .3s, background .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--color-border); }
.header-inner {
  max-width: var(--container-max); height: 100%; margin: 0 auto;
  padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
@media (min-width: 768px) { .header-inner { padding: 0 24px; } }
@media (min-width: 1280px) { .header-inner { padding: 0 32px; } }

.brand { display: inline-flex; align-items: center; }
.brand img {
  height: 52px;
  width: auto;
  display: block;
  max-width: 260px;
}
@media (min-width: 768px) {
  .brand img { height: 64px; max-width: 320px; }
}
@media (min-width: 1280px) {
  .brand img { height: 72px; max-width: 380px; }
}

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 28px; }
}
.nav a { font-size: 15px; font-weight: 500; color: var(--color-ink); transition: color .2s; position: relative; }
.nav a:hover { color: var(--color-primary); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--color-primary); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-tel {
  display: none;
  align-items: center; gap: 6px;
  font-family: var(--font-num); font-weight: 700; font-size: 18px;
  color: var(--color-secondary);
}
@media (min-width: 1024px) { .header-tel { display: inline-flex; } }
.header-tel svg { width: 20px; height: 20px; }

.header-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-primary); color: white;
  height: 44px; padding: 0 18px;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 14px;
  transition: background .2s;
}
@media (min-width: 768px) { .header-cta { height: 48px; padding: 0 22px; font-size: 15px; } }
.header-cta:hover { background: var(--color-primary-hover); }

.hamburger { display: flex; }
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger {
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.hamburger span { width: 22px; height: 2px; background: var(--color-ink); transition: transform .2s, opacity .2s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--color-bg);
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform .3s ease-out;
  z-index: 99;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { display: block; padding: 16px 0; font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--color-border); }
.mobile-menu-tel { margin-top: 24px; padding: 20px; background: var(--color-secondary); color: white; border-radius: var(--radius-lg); text-align: center; }
.mobile-menu-tel .label { font-size: 13px; opacity: 0.8; }
.mobile-menu-tel .num { font-family: var(--font-num); font-weight: 700; font-size: 28px; margin-top: 4px; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--color-secondary);
  color: rgba(253,249,243,0.9);
  padding: 64px 0 24px;
  padding-bottom: calc(24px + var(--mobile-cta-h, 0px));
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(253,249,243,0.15);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; } }

.footer-brand { line-height: 1; display: block; }
.footer-brand img {
  background: white;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  height: auto;
  width: 100%;
  max-width: 360px;
  display: block;
}
.footer-brand p { margin-top: 20px; font-size: 14px; line-height: 1.8; opacity: 0.85; }

.footer h4 { color: white; font-size: 15px; margin-bottom: 16px; font-family: var(--font-jp); font-weight: 700; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer ul a { opacity: 0.85; transition: opacity .2s; }
.footer ul a:hover { opacity: 1; color: var(--color-accent); }

.footer-info { font-size: 13px; line-height: 1.9; opacity: 0.85; }
.footer-info dt { font-weight: 700; color: white; margin-top: 6px; opacity: 1; }
.footer-info dd { margin-bottom: 6px; }
.footer-info a { color: var(--color-accent); font-family: var(--font-num); font-weight: 700; font-size: 18px; }

.footer-bottom {
  padding-top: 24px; margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  font-size: 12px; opacity: 0.7;
}
.footer-bottom .links { display: flex; flex-wrap: wrap; gap: 20px; }

/* ================================================================
   MOBILE CTA BAR (fixed bottom)
   ================================================================ */
.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(27,24,21,0.08);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: flex; gap: 8px;
  z-index: 90;
}
.mobile-cta a {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 52px;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 15px;
  white-space: nowrap;
}
.mobile-cta a.tel { background: var(--color-secondary); color: white; }
.mobile-cta a.form { background: var(--color-primary); color: white; }
.mobile-cta a svg { width: 18px; height: 18px; }
@media (min-width: 1024px) { .mobile-cta { display: none; } }

body { padding-top: var(--header-h); }
@media (max-width: 1023px) { body { padding-bottom: 82px; } }

/* ================================================================
   HERO — Full-bleed photo background
   ================================================================ */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  min-height: 560px;
  background: var(--color-bg-deep);
}
@media (min-width: 768px) { .hero { min-height: 640px; } }
@media (min-width: 1024px) { .hero { min-height: 680px; } }
@media (min-width: 1280px) { .hero { min-height: 720px; } }

/* Photo layer */
.hero-photo {
  position: absolute; inset: 0;
  z-index: -3;
  background: url("hero-house.jpg") center 40% / cover no-repeat;
  filter: saturate(0.9);
}
/* Dark gradient overlay for text readability */
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg,
      rgba(27,24,21,0.85) 0%,
      rgba(27,24,21,0.72) 38%,
      rgba(27,24,21,0.35) 62%,
      rgba(27,24,21,0.15) 100%);
}
@media (max-width: 767px) {
  .hero-photo::after {
    background: linear-gradient(180deg,
      rgba(27,24,21,0.55) 0%,
      rgba(27,24,21,0.75) 55%,
      rgba(27,24,21,0.9) 100%);
  }
}
/* Warm accent glow */
.hero-photo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(242,106,33,0.22), transparent 45%),
    radial-gradient(ellipse at 90% 90%, rgba(255,201,74,0.12), transparent 45%);
  z-index: 1;
}
/* Subtle noise/paper feel */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1, 0 0 0 0 1, 0 0 0 0 1, 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5; mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 56px 16px 64px;
  color: white;
}
@media (min-width: 768px) { .hero-inner { padding: 80px 24px 96px; } }
@media (min-width: 1280px) { .hero-inner { padding: 104px 32px 128px; } }

.hero-copy {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.hero-tagline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700;
  color: white;
  margin-bottom: 24px;
}
.hero-tagline .dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-size: 13px;
  font-family: var(--font-display); font-weight: 900;
}

.hero-title {
  font-size: clamp(32px, 5.8vw, 60px);
  line-height: 1.22;
  margin-bottom: 20px;
  color: white;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-title .accent {
  color: var(--color-accent);
  display: inline-block;
  position: relative;
}
.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 4px;
  height: 12px;
  background: rgba(242,106,33,0.5);
  z-index: -1;
}
.hero-title small {
  display: block;
  font-size: clamp(15px, 1.8vw, 20px);
  color: var(--color-accent);
  font-family: var(--font-jp);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-desc {
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(255,255,255,0.88);
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 540px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-ctas .btn-ghost {
  color: white;
  border-color: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.08);
}
.hero-ctas .btn-ghost:hover { background: white; color: var(--color-ink); border-color: white; }

.hero-points {
  display: flex; flex-wrap: wrap; gap: 20px 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
  max-width: 620px;
}
.hero-points li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.92);
}
.hero-points li svg { color: var(--color-accent); flex-shrink: 0; }

/* Floating stats card */
.hero-stat {
  position: absolute;
  right: 24px;
  bottom: 40px;
  background: white;
  color: var(--color-ink);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  display: none;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  z-index: 3;
}
@media (min-width: 1024px) {
  .hero-stat { display: inline-flex; }
}
.hero-stat .num {
  font-family: var(--font-num); font-weight: 800;
  font-size: 40px; color: var(--color-primary); line-height: 1;
}
.hero-stat .num small {
  font-size: 20px; margin-left: 2px;
}
.hero-stat .lb { font-size: 14px; font-weight: 700; }
.hero-stat .sb { font-size: 12px; color: var(--color-ink-sub); margin-top: 2px; }

.hero-badge {
  position: absolute; top: 24px; right: 24px;
  background: var(--color-accent); color: var(--color-ink);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 800;
  transform: rotate(4deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 3;
  display: none;
}
@media (min-width: 640px) { .hero-badge { display: inline-block; } }

/* ================================================================
   ENTRY (CASE B: Magazine Asymmetric)
   ================================================================ */
.entry {
  background: var(--color-bg-sub);
  padding: 64px 0;
}
@media (min-width: 768px) { .entry { padding: 96px 0; } }

.entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 16px;
}
@media (min-width: 1024px) {
  .entry-grid {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 560px;
    gap: 20px;
  }
}

.entry-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 28px;
  color: white;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 260px;
  transition: transform .3s ease-out, box-shadow .3s ease-out;
  cursor: pointer;
}
@media (min-width: 1024px) { .entry-card { padding: 40px; } }
.entry-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(27,24,21,0.2); }

.entry-card.buy {
  background:
    linear-gradient(180deg, rgba(27,24,21,0.15) 0%, rgba(27,24,21,0.55) 55%, rgba(27,24,21,0.9) 100%),
    linear-gradient(135deg, rgba(242,106,33,0.15), transparent 60%),
    url("entry-buy.jpg") center 40% / cover no-repeat;
}
.entry-card.rent {
  background:
    linear-gradient(180deg, rgba(27,24,21,0.15) 0%, rgba(27,24,21,0.55) 55%, rgba(27,24,21,0.9) 100%),
    linear-gradient(135deg, rgba(31,95,74,0.2), transparent 60%),
    url("entry-rent.jpg") center 45% / cover no-repeat;
}
.entry-card.sale {
  background:
    linear-gradient(180deg, rgba(27,24,21,0.15) 0%, rgba(27,24,21,0.55) 55%, rgba(27,24,21,0.9) 100%),
    linear-gradient(135deg, rgba(242,106,33,0.15), transparent 60%),
    url("entry-sale.jpg") center 35% / cover no-repeat;
}
.entry-card::before {
  content: attr(data-photo);
  position: absolute; top: 20px; left: 20px;
  font-family: var(--font-num); font-size: 11px; letter-spacing: 0.1em;
  opacity: 0.65; font-weight: 600;
}
@media (min-width: 1024px) {
  .entry-card.buy { grid-row: 1 / 3; }
}

.entry-card .tag {
  align-self: flex-start;
  background: var(--color-accent); color: var(--color-ink);
  padding: 4px 12px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; margin-bottom: 12px;
}
.entry-card.buy .tag { background: var(--color-primary); color: white; }
.entry-card .cat {
  font-family: var(--font-num); font-weight: 700;
  font-size: 12px; letter-spacing: 0.2em; opacity: 0.85; margin-bottom: 6px;
}
.entry-card h3 {
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.3;
  color: white;
  margin-bottom: 10px;
}
.entry-card.buy h3 { font-size: clamp(28px, 3.5vw, 42px); }
.entry-card p {
  font-size: 14px; opacity: 0.9; line-height: 1.7;
  margin-bottom: 18px;
  max-width: 480px;
}
.entry-card.buy p { font-size: 16px; }
.entry-card .cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px;
  padding-bottom: 4px; border-bottom: 2px solid currentColor;
  align-self: flex-start;
}
.entry-card.buy .cta { font-size: 16px; }
.entry-card:hover .cta { padding-bottom: 6px; }

/* ================================================================
   STRENGTH
   ================================================================ */
.strength { background: var(--color-bg); }
.strength-intro {
  display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px;
}
@media (min-width: 1024px) {
  .strength-intro { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; }
}
.strength-intro .big {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.5;
}
.strength-intro .big em {
  font-style: normal;
  background: linear-gradient(transparent 55%, rgba(255,201,74,0.6) 55%);
  padding: 0 4px;
}
.strength-intro p { color: var(--color-ink-sub); font-size: 16px; line-height: 1.85; }

.strength-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .strength-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .strength-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; } }

.strength-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border-top: 4px solid var(--color-primary);
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.strength-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.strength-item .no {
  font-family: var(--font-num); font-weight: 800;
  font-size: 32px; color: var(--color-primary);
  line-height: 1; margin-bottom: 12px;
}
.strength-item h3 {
  font-size: 18px; margin-bottom: 8px; line-height: 1.4;
}
.strength-item p {
  font-size: 13px; color: var(--color-ink-sub); line-height: 1.7;
}
.strength-item .badge {
  position: absolute; top: 20px; right: 16px;
  font-size: 10px; padding: 2px 8px; height: 22px;
  background: var(--color-bg-sub); color: var(--color-ink);
  border: 1px solid var(--color-border);
}

/* ================================================================
   SERVICE
   ================================================================ */
.service { background: var(--color-bg-sub); }
.service-list { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .service-list { gap: 32px; } }

.service-item {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .service-item { grid-template-columns: 1fr 1.2fr; } }
.service-item:nth-child(even) .service-visual { order: 2; }

.service-visual {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(31,95,74,0.15), rgba(27,24,21,0.3)),
    repeating-linear-gradient(45deg, #DDD5C2 0 16px, #D3CAB4 16px 32px);
}
.service-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Before/After dual layout for SERVICE 04 */
.service-visual.dual {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  background: var(--color-ink);
}
@media (min-width: 480px) {
  .service-visual.dual {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
  }
}
.service-visual.dual .frame {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-sub);
}
.service-visual.dual .frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-visual.dual .frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,24,21,0) 60%, rgba(27,24,21,0.55) 100%);
  pointer-events: none;
}
.service-visual.dual .frame .label {
  position: absolute; bottom: 10px; left: 10px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.95);
  color: var(--color-ink);
  font-family: var(--font-num); font-weight: 800; font-size: 11px;
  letter-spacing: 0.15em;
  border-radius: 4px;
  z-index: 2;
}
.service-visual.dual .frame.after .label {
  background: var(--color-primary); color: white;
}
.service-visual[data-photo]:not(:has(img))::before {
  content: attr(data-photo);
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-num); font-size: 11px; letter-spacing: 0.08em;
  color: rgba(27,24,21,0.5); font-weight: 700;
  z-index: 1;
}
@media (min-width: 768px) { .service-visual { aspect-ratio: auto; } }

.service-body {
  padding: 32px 24px;
  display: flex; flex-direction: column; justify-content: center;
}
@media (min-width: 768px) { .service-body { padding: 48px 40px; } }
@media (min-width: 1280px) { .service-body { padding: 56px 56px; } }

.service-body .num {
  font-family: var(--font-num); font-weight: 700;
  font-size: 13px; color: var(--color-primary);
  letter-spacing: 0.2em; margin-bottom: 10px;
}
.service-body h3 {
  font-size: clamp(22px, 2.5vw, 30px);
  margin-bottom: 12px;
}
.service-body .lead {
  color: var(--color-ink-sub); line-height: 1.85; margin-bottom: 20px;
  font-size: 15px;
}
.service-body ul { margin-bottom: 24px; }
.service-body ul li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0; font-size: 14px; line-height: 1.6;
}
.service-body ul li::before {
  content: ""; flex-shrink: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-primary);
  margin-top: 8px;
}

/* ================================================================
   CASES (Before/After)
   ================================================================ */
.cases { background: var(--color-bg); }
.cases-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 768px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } }

.case-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.case-thumb {
  aspect-ratio: 16/10;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative;
  gap: 2px;
  background: var(--color-ink);
}
.case-thumb .before, .case-thumb .after {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-sub);
}
.case-thumb .before img, .case-thumb .after img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.case-thumb .before::after, .case-thumb .after::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,24,21,0) 55%, rgba(27,24,21,0.65) 100%);
  pointer-events: none;
}
.case-thumb .before .label, .case-thumb .after .label {
  position: absolute; bottom: 10px; left: 10px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.95);
  color: var(--color-ink);
  font-family: var(--font-num); font-weight: 800; font-size: 11px;
  letter-spacing: 0.15em;
  border-radius: 4px;
  z-index: 2;
}
.case-thumb .after .label {
  background: var(--color-primary); color: white;
}
.case-info { padding: 20px 20px 24px; }
.case-info .cat { font-family: var(--font-num); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: var(--color-primary); margin-bottom: 6px; }
.case-info h3 { font-size: 18px; line-height: 1.4; margin-bottom: 8px; font-family: var(--font-jp); font-weight: 700; }
.case-info p { font-size: 13px; color: var(--color-ink-sub); line-height: 1.7; }
.case-info .meta { display: flex; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--color-border); font-size: 12px; color: var(--color-ink-sub); }
.case-info .meta span { display: inline-flex; gap: 4px; }
.case-info .meta strong { color: var(--color-ink); }

/* ================================================================
   PROPERTIES PREVIEW & LIST
   ================================================================ */
.prop-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 640px) { .prop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .prop-grid { grid-template-columns: repeat(3, 1fr); } }

.prop-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prop-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(31,95,74,0.06), rgba(31,95,74,0.02)),
    repeating-linear-gradient(135deg, #EFE3D0 0 12px, #F5EFE4 12px 24px);
  display: flex; align-items: center; justify-content: center;
}
.prop-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.prop-thumb .ph { font-family: var(--font-num); font-size: 12px; letter-spacing: 0.1em; color: var(--color-ink-sub); font-weight: 600; position: relative; z-index: 1; }
.prop-thumb .badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.prop-info { padding: 18px 20px 22px; }
.prop-info h3 { font-family: var(--font-jp); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.prop-info .addr { font-size: 13px; color: var(--color-ink-sub); margin-bottom: 12px; display: flex; align-items: center; gap: 4px; }
.prop-info .price {
  font-family: var(--font-num); font-weight: 800;
  font-size: 26px; color: var(--color-primary);
  line-height: 1.2;
}
.prop-info .price .unit { font-size: 14px; color: var(--color-ink-sub); font-weight: 500; margin-left: 4px; }
.prop-info .meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--color-border);
}
.prop-info .meta span {
  font-size: 12px; padding: 3px 8px;
  background: var(--color-bg-sub); border-radius: 6px;
  color: var(--color-ink-sub);
}

/* ================================================================
   COMPANY
   ================================================================ */
.company { background: var(--color-bg-sub); }
.company-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 768px) { .company-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; } }

.company-visual {
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  background: var(--color-bg-sub);
  box-shadow: 0 20px 40px rgba(27,24,21,0.15);
}
@media (min-width: 768px) {
  .company-visual { aspect-ratio: 4/5; }
}
.company-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Warm gradient wash for on-brand feel */
.company-visual::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(27,24,21,0) 40%, rgba(27,24,21,0.5) 100%),
    linear-gradient(135deg, rgba(242,106,33,0.04), rgba(31,95,74,0.06));
  pointer-events: none;
}
/* Overlay tag - "現場主義" quote */
.company-visual .quote {
  position: absolute;
  left: 20px; bottom: 20px; right: 20px;
  color: white;
  z-index: 2;
}
.company-visual .quote .qmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: -4px;
  display: block;
}
.company-visual .quote .qtext {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
@media (min-width: 768px) {
  .company-visual .quote { left: 28px; bottom: 28px; right: 28px; }
  .company-visual .quote .qtext { font-size: 20px; }
}
/* Sticker-like badge in top right */
.company-visual .stamp {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--color-primary);
  color: white;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  z-index: 2;
  transform: rotate(4deg);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  letter-spacing: 0.05em;
}

.company-info dl { margin-top: 24px; }
.company-info dt {
  font-size: 13px; color: var(--color-ink-sub);
  padding-top: 16px; margin-bottom: 4px;
  border-top: 1px solid var(--color-border);
  font-weight: 700;
}
.company-info dt:first-of-type { border-top: none; padding-top: 0; }
.company-info dd { font-size: 15px; padding-bottom: 12px; }
.company-info dd .tel { font-family: var(--font-num); font-weight: 700; font-size: 22px; color: var(--color-secondary); }

/* ================================================================
   CONTACT (3 CTA cards)
   ================================================================ */
.contact {
  background: var(--color-bg-deep);
  color: rgba(253,249,243,0.9);
  padding: 80px 0;
}
@media (min-width: 768px) { .contact { padding: 112px 0; } }
.contact .section-kicker { color: var(--color-accent); }
.contact .section-kicker::before { background: var(--color-accent); }
.contact .section-title { color: white; }
.contact .section-lead { color: rgba(253,249,243,0.75); }

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
  background: white;
  color: var(--color-ink);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.contact-card.primary { background: var(--color-primary); color: white; }
.contact-card.primary .contact-num { color: rgba(255,255,255,0.6); }
.contact-card.primary .contact-more { color: white; }

.contact-num {
  font-family: var(--font-num); font-weight: 700;
  font-size: 13px; color: var(--color-primary);
  letter-spacing: 0.15em; margin-bottom: 12px;
}
.contact-card h3 { font-size: 24px; margin-bottom: 8px; color: inherit; }
.contact-card .contact-desc { font-size: 14px; line-height: 1.75; margin-bottom: 24px; opacity: 0.85; flex: 1; }
.contact-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--color-primary);
  padding-bottom: 4px; border-bottom: 2px solid currentColor;
  align-self: flex-start;
}
.contact-card:hover .contact-more { padding-bottom: 6px; }

.contact-tel-block {
  margin-top: 40px;
  padding: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  text-align: center;
}
.contact-tel-block .label { font-size: 13px; opacity: 0.7; letter-spacing: 0.1em; }
.contact-tel-block .num {
  display: block;
  font-family: var(--font-num); font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  color: white; margin: 8px 0 4px;
}
.contact-tel-block .hours { font-size: 13px; opacity: 0.7; }

/* ================================================================
   PROPERTIES LIST PAGE
   ================================================================ */
.page-head {
  background: var(--color-bg-sub);
  padding: 48px 0 32px;
}
@media (min-width: 768px) { .page-head { padding: 64px 0 40px; } }
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--color-ink-sub);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-ink-sub); text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }
.page-head h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 12px;
}
.page-head p { color: var(--color-ink-sub); font-size: 16px; line-height: 1.8; max-width: 640px; }

.page-tools {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 32px;
  flex-wrap: wrap; gap: 12px;
}
.page-tools .count { font-size: 14px; color: var(--color-ink-sub); }
.page-tools .count strong { color: var(--color-primary); font-family: var(--font-num); font-weight: 800; font-size: 20px; margin: 0 4px; }
.page-tools select {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: white;
  font-size: 14px;
  cursor: pointer;
}

.list-cta {
  background: var(--color-bg-sub);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  margin-top: 64px;
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 768px) { .list-cta { grid-template-columns: 1.4fr 1fr; padding: 48px 56px; } }
.list-cta h3 { font-size: clamp(20px, 2.5vw, 28px); margin-bottom: 8px; }
.list-cta p { color: var(--color-ink-sub); font-size: 15px; }
.list-cta .buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 767px) { .list-cta .buttons { justify-content: flex-start; } }

/* ================================================================
   Reveal animation (respects reduced motion)
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0s !important; transition-duration: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ================================================================
   Focus
   ================================================================ */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}
