/* ==========================================================================
   ANDY Real Estate Landing Page - Stylesheet
   Color Palette:
   - Primary Navy: #1B365D
   - Accent Gold: #D99B26 / #C5861B
   - LINE Green: #06C755
   - Neutral Light: #F8FAFC
   ========================================================================== */

:root {
  --color-navy: #1B365D;
  --color-navy-dark: #0F223D;
  --color-navy-light: #284B7C;
  --color-gold: #D99B26;
  --color-gold-dark: #B57E17;
  --color-gold-light: #FFF8EA;
  --color-gold-gradient: linear-gradient(135deg, #F3C669 0%, #D99B26 100%);
  --color-line-green: #06C755;
  --color-line-hover: #05B04B;
  --color-bg-light: #F8FAFC;
  --color-card-bg: #FFFFFF;
  --color-text-main: #1E293B;
  --color-text-muted: #64748B;
  --color-border: #E2E8F0;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(27, 54, 93, 0.08);
  --shadow-lg: 0 16px 36px rgba(27, 54, 93, 0.12);
  --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Montserrat', sans-serif;
}

/* Base Reset & Global Rules */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--color-text-main);
  background-color: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* Space for mobile sticky CTA */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }

/* Top Announcement Bar */
.top-announcement {
  background-color: var(--color-navy-dark);
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 0;
  text-align: center;
  letter-spacing: 0.03em;
}

/* Header Component */
.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon-img {
  height: 84px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.company-name {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: 2.65rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.company-sub {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--color-gold-dark);
  letter-spacing: 0.22em;
  margin-top: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Phone Block */
.phone-contact-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.phone-contact-link:hover {
  opacity: 0.85;
}

.phone-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.phone-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-icon-wrap {
  color: var(--color-gold-dark);
}

.phone-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 3px 0;
}

.phone-number:hover {
  color: var(--color-gold-dark);
}

.hours-badge {
  background-color: var(--color-navy);
  color: #FFFFFF;
  font-size: 0.775rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  margin-top: 2px;
}

/* LINE Header Button */
.header-line-btn {
  background-color: var(--color-line-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(6, 199, 85, 0.3);
  transition: all 0.2s ease;
}

.header-line-btn:hover {
  background-color: var(--color-line-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.4);
}

.line-icon-badge svg {
  width: 28px;
  height: 28px;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
}

.btn-text-group .sub-text {
  font-size: 0.825rem;
  font-weight: 700;
  line-height: 1.1;
}

.btn-text-group .main-text {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
}

.line-contact-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.line-note {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, #F4F7FB 0%, #FFFFFF 100%);
  padding: 40px 0 50px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.location-tag {
  display: inline-block;
  background-color: var(--color-gold);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 4px;
  position: relative;
  margin-bottom: 12px;
}

.location-tag::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 10px solid var(--color-gold);
}

.main-catch {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.15;
  margin-bottom: 12px;
}

.free-highlight {
  color: var(--color-gold-dark);
  font-size: 3.8rem;
  background: linear-gradient(180deg, #E2A633 0%, #C5861B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-left: 6px;
}

.sub-catch {
  font-size: 1.15rem;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-bottom: 30px;
}

.brand-emphasis {
  color: var(--color-navy);
  font-weight: 900;
}

/* Feature Grid 4 Pillars */
.hero-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

.gold-icon {
  width: 58px;
  height: 58px;
  background-color: #FFF3D6;
  color: #B57E17;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1.65rem;
  border: 2px solid #D99B26;
  box-shadow: 0 4px 12px rgba(217, 155, 38, 0.25);
}

.navy-icon {
  width: 58px;
  height: 58px;
  background-color: #EEF2F8;
  color: var(--color-navy);
  border: 2px solid #284B7C;
  box-shadow: 0 4px 12px rgba(27, 54, 93, 0.15);
}

.feature-info .title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: 2px;
}

.feature-info .title strong {
  color: var(--color-gold-dark);
  font-size: 1.15rem;
  font-weight: 900;
}

.feature-info .desc {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Hero Visual Right */
.hero-visual {
  position: relative;
}

.laurel-badge {
  position: absolute;
  top: -22px;
  right: 5px;
  z-index: 10;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--color-gold-gradient);
  padding: 5px;
  box-shadow: 0 10px 28px rgba(217, 155, 38, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.laurel-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.75);
  background-color: var(--color-navy);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}

.laurel-tag {
  font-size: 0.85rem;
  color: #FEE08B;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.laurel-main {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 3px 0;
  letter-spacing: 0.02em;
}

.laurel-sub {
  font-size: 0.775rem;
  font-weight: 800;
  color: #FEE08B;
  letter-spacing: 0.05em;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-house-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.family-overlay-card {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 180px;
  height: 130px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid #FFFFFF;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.family-overlay-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Global Section Styles */
.section {
  padding: 60px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-sub {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-gold-dark);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 4px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-navy);
}

.text-gradient-gold {
  background: linear-gradient(135deg, #E2A633 0%, #C5861B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-navy {
  color: var(--color-navy);
}

/* Section 1: Savings Section */
.savings-section {
  background-color: var(--color-bg-light);
}

.savings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.savings-info-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.savings-desc {
  font-size: 0.95rem;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.highlight-box-desc {
  background-color: var(--color-gold-light);
  border-left: 4px solid var(--color-gold);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 1rem;
}

.example-bubble {
  margin-top: 20px;
  background-color: #FFF3D6;
  border: 2px dashed var(--color-gold);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.bubble-tag {
  background-color: var(--color-gold);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.bubble-content {
  font-size: 0.95rem;
  color: var(--color-navy);
}

.price-val {
  font-weight: 700;
  font-size: 1.1rem;
}

.save-amount {
  font-size: 1.5rem;
  font-weight: 900;
  color: #D32F2F;
}

/* Savings Table */
.savings-table-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.table-title-header {
  background-color: var(--color-navy);
  color: #FFFFFF;
  text-align: center;
  padding: 12px;
  font-weight: 700;
  font-size: 1rem;
}

.savings-table {
  width: 100%;
  border-collapse: collapse;
}

.savings-table th {
  background-color: #F1F5F9;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 10px 14px;
  text-align: center;
}

.savings-table td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.savings-table .price-col {
  font-weight: 700;
}

.savings-table .fee-col {
  font-family: var(--font-en);
  font-weight: 700;
  color: #D32F2F;
}

.savings-table .free-col {
  font-weight: 900;
  color: var(--color-navy);
  background-color: var(--color-gold-light);
}

.highlight-row {
  background-color: #FFFBEB;
}

.table-footnote {
  font-size: 0.725rem;
  color: var(--color-text-muted);
  padding: 8px 12px;
  text-align: right;
}

/* Interactive Calculator Container */
.calculator-container {
  background: linear-gradient(135deg, #1B365D 0%, #0F223D 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.calc-header {
  text-align: center;
  margin-bottom: 24px;
}

.calc-badge {
  display: inline-block;
  background-color: #E53E3E;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.calc-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-gold);
}

.calc-header p {
  font-size: 0.875rem;
  color: #CBD5E1;
}

.calc-body {
  max-width: 800px;
  margin: 0 auto;
}

.calc-input-group {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.calc-input-group label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
}

.input-with-unit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.input-with-unit input[type="number"] {
  background-color: #FFFFFF;
  color: var(--color-navy);
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-gold);
  width: 140px;
}

.input-with-unit .unit {
  font-size: 1.2rem;
  font-weight: 700;
}

.range-slider {
  width: 100%;
  accent-color: var(--color-gold);
  height: 8px;
  cursor: pointer;
}

/* Calculator Result Cards */
.calc-result-display {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1.2fr;
  gap: 14px;
  align-items: center;
}

.result-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.result-card-divider {
  font-size: 1.5rem;
  color: var(--color-gold);
  font-weight: 700;
}

.res-label {
  font-size: 0.75rem;
  color: #94A3B8;
  margin-bottom: 4px;
}

.res-val {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-en);
}

.result-card.save-fee {
  background: var(--color-gold-gradient);
  color: var(--color-navy-dark);
  border: none;
  box-shadow: 0 8px 20px rgba(217, 155, 38, 0.4);
}

.result-card.save-fee .res-label {
  color: var(--color-navy-dark);
  font-weight: 700;
}

.highlight-gold-val {
  font-size: 1.4rem;
  font-weight: 900;
}

.free-text {
  color: #4ADE80;
  font-weight: 900;
}

/* Section 2: 3 Core Strengths */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strength-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.strength-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 900;
  color: #E2E8F0;
  line-height: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--color-gold-light);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.card-text {
  font-size: 0.875rem;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.portal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.portal-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  color: #FFFFFF;
}

.portal-badge.suumo { background-color: #559317; }
.portal-badge.homes { background-color: #ED6B00; }
.portal-badge.athome { background-color: #E60012; }
.portal-badge.sns { background-color: #4267B2; }

.lang-pill-wrap {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.lang-pill {
  background-color: #EEF2F8;
  color: var(--color-navy);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}

.card-img-holder {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 140px;
}

.card-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section 3: Area Section */
.area-section {
  background-color: var(--color-bg-light);
}

.area-box-grid {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.area-tag-header {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.area-tag-header svg {
  color: var(--color-gold);
}

.area-desc {
  font-size: 0.875rem;
  color: var(--color-text-main);
  line-height: 1.6;
}

.cities-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.city-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-badge {
  background-color: var(--color-navy);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.area-support-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 1px solid var(--color-border);
  padding-left: 30px;
}

.support-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.support-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-gold-light);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-text strong {
  display: block;
  font-size: 0.875rem;
  color: var(--color-navy);
  line-height: 1.2;
}

.support-text span {
  font-size: 0.725rem;
  color: var(--color-text-muted);
}

/* Section 4: CTA Section */
.line-cta-card {
  background: #EBFBEE;
  border: 2px solid var(--color-line-green);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(6, 199, 85, 0.12);
  margin-bottom: 24px;
}

.line-badge-large {
  width: 64px;
  height: 64px;
  background-color: var(--color-line-green);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.line-cta-header h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.line-cta-header p {
  font-size: 0.95rem;
  color: var(--color-text-main);
  margin-bottom: 24px;
}

.btn-green-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--color-line-green);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(6, 199, 85, 0.35);
  transition: all 0.2s ease;
}

.btn-green-cta:hover {
  background-color: var(--color-line-hover);
  transform: scale(1.02);
}

.tel-cta-box {
  background-color: var(--color-navy);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.tel-info .tel-label {
  display: block;
  font-size: 0.85rem;
  color: #CBD5E1;
  margin-bottom: 4px;
}

.tel-big {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-gold);
}

.tel-big:hover {
  color: #FFFFFF;
}

/* Footer */
.site-footer {
  background-color: var(--color-navy-dark);
  color: #94A3B8;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}

.footer-copy-lead {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.footer-note {
  margin-bottom: 20px;
}

.footer-bottom {
  font-family: var(--font-en);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  font-size: 0.75rem;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #FFFFFF;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12);
  padding: 8px 12px;
  gap: 10px;
}

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 12px;
  border-radius: var(--radius-pill);
}

.sticky-btn.tel-btn {
  background-color: var(--color-navy);
  color: #FFFFFF;
}

.sticky-btn.line-btn {
  background-color: var(--color-line-green);
  color: #FFFFFF;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  
  .laurel-badge {
    top: -10px;
    right: 10px;
    width: 110px;
    height: 110px;
  }

  .calc-result-display {
    grid-template-columns: 1fr 1fr;
  }

  .result-card-divider {
    display: none;
  }

  .result-card.save-fee {
    grid-column: span 2;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .area-box-grid {
    grid-template-columns: 1fr;
  }

  .area-support-col {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
  }
}

@media (max-width: 768px) {
  .header-actions {
    display: none;
  }

  .mobile-sticky-cta {
    display: flex;
  }

  .main-catch {
    font-size: 2.2rem;
  }

  .free-highlight {
    font-size: 2.8rem;
  }

  .hero-features-grid {
    grid-template-columns: 1fr;
  }

  .savings-grid {
    grid-template-columns: 1fr;
  }

  .calc-result-display {
    grid-template-columns: 1fr;
  }

  .result-card.save-fee {
    grid-column: span 1;
  }

  .btn-green-cta {
    font-size: 1rem;
    padding: 14px 24px;
    width: 100%;
  }

  .tel-big {
    font-size: 1.6rem;
  }

  .room-types-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Rental Properties (Chintai) Specific Styles
   ========================================================================== */

.tag-except {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  display: inline-block;
  vertical-align: middle;
}

.sub-note {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Chintai Table */
.chintai-table .item-name {
  text-align: left;
  font-weight: 500;
}

.chintai-table .total-row {
  background-color: #F8FAFC;
  font-size: 1.05rem;
}

.chintai-table .diff-row {
  background-color: #FFF3D6;
}

.chintai-table .diff-label {
  text-align: right;
  font-weight: 700;
  color: var(--color-navy);
  padding: 10px 14px;
}

.chintai-table .diff-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #D32F2F;
  text-align: center;
  padding: 10px 14px;
}

/* Room Types Section */
.room-types-section {
  background-color: #FFFFFF;
}

.room-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.room-type-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.room-type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.room-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.room-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.room-title-block h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
}

.room-title-block .room-sub {
  font-size: 0.775rem;
  color: var(--color-gold-dark);
  font-weight: 700;
}

.room-img-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 150px;
}

.room-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Floor Plan (間取り図面) Showcase & Lightbox Styles
   ========================================================================== */

.floorplans-section {
  background-color: var(--color-bg-light);
  padding: 60px 0;
}

.floorplan-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-tab {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab.active,
.filter-tab:hover {
  background-color: var(--color-navy);
  color: #FFFFFF;
  border-color: var(--color-navy);
  box-shadow: 0 4px 12px rgba(27, 54, 93, 0.2);
}

.floorplans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.floorplan-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floorplan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.floorplan-img-wrap {
  position: relative;
  background-color: #F8FAFC;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
}

.floorplan-img-wrap svg,
.floorplan-img-wrap img {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
}

.floorplan-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--color-gold);
  color: #FFFFFF;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.zoom-hint-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(27, 54, 93, 0.85);
  color: #FFFFFF;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.floorplan-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.floorplan-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.floorplan-tagline {
  font-size: 0.8rem;
  color: var(--color-gold-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.floorplan-specs {
  background-color: #F1F5F9;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.8125rem;
  color: var(--color-text-main);
  margin-bottom: 16px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px dashed #CBD5E1;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-item .label {
  color: var(--color-text-muted);
}

.spec-item .value {
  font-weight: 700;
  color: var(--color-navy);
}

.floorplan-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-zoom-plan {
  background-color: var(--color-navy);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px;
  border-radius: var(--radius-pill);
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: none;
  width: 100%;
}

.btn-zoom-plan:hover {
  background-color: var(--color-navy-light);
}

.btn-plan-line {
  background-color: var(--color-line-green);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px;
  border-radius: var(--radius-pill);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color 0.2s ease;
}

.btn-plan-line:hover {
  background-color: var(--color-line-hover);
}

/* Floor Plan Modal Lightbox */
.plan-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 34, 61, 0.85);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.plan-modal-overlay.active {
  display: flex;
}

.plan-modal-content {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.plan-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
}

.plan-modal-close:hover {
  color: var(--color-navy);
}

.plan-modal-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.plan-modal-header p {
  font-size: 0.875rem;
  color: var(--color-gold-dark);
  font-weight: 700;
  margin-bottom: 20px;
}

.plan-modal-img-holder {
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.plan-modal-img-holder svg,
.plan-modal-img-holder img {
  max-width: 100%;
  max-height: 450px;
  object-fit: contain;
}

@media (max-width: 992px) {
  .floorplans-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   📱 Mobile Smartphone Complete Layout Fixes (max-width: 768px)
   ========================================================================== */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

@media (max-width: 768px) {
  .container {
    padding: 0 12px !important;
  }

  /* Header Mobile Fitting */
  .header-inner {
    padding: 6px 12px !important;
    gap: 6px !important;
  }
  .logo a {
    gap: 8px !important;
  }
  .logo-icon-img {
    height: 46px !important;
  }
  .company-name {
    font-size: 1.35rem !important;
    letter-spacing: 0.01em !important;
  }
  .company-sub {
    font-size: 0.65rem !important;
    letter-spacing: 0.1em !important;
    margin-top: 1px !important;
  }
  .header-actions .tel-btn-header {
    display: none !important;
  }
  .header-actions {
    gap: 8px !important;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 24px 0 !important;
  }
  .hero-title {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
  }

  /* Table Mobile Scroll */
  .comparison-section table,
  .chintai-table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .chintai-table th, .chintai-table td {
    padding: 8px 6px !important;
    font-size: 0.775rem !important;
  }

  /* Calculator Section */
  .calculator-box {
    padding: 16px 12px !important;
  }
  .calc-result-display {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  /* Search Panel & Checkboxes */
  .search-card {
    padding: 14px 12px !important;
  }
  .features-checkbox-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px 6px !important;
    padding: 10px 8px !important;
  }
  .features-checkbox-grid label {
    font-size: 0.75rem !important;
    word-break: break-all !important;
  }
  .properties-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .card-image-box {
    height: 165px !important;
  }

  /* Property Detail Modal */
  .detail-modal-card {
    max-height: 94vh !important;
    margin: 8px !important;
  }
  #detailModalBody {
    padding: 12px !important;
  }
  #detailModalBody div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  #detailModalBody table {
    display: block !important;
    overflow-x: auto !important;
    width: 100% !important;
  }

  /* Modal Responsive Gallery & Specs */
  .modal-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    background: #f8fafc;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
  }
  .modal-spec-grid {
    display: flex;
    flex-direction: column;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    font-size: 0.875rem;
  }
  .modal-spec-row {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
  }
  .modal-spec-row:last-child {
    border-bottom: none;
  }
  .modal-spec-row .spec-label {
    width: 140px;
    background: #f1f5f9;
    color: #1b365d;
    font-weight: 700;
    padding: 10px 12px;
    flex-shrink: 0;
  }
  .modal-spec-row .spec-val {
    padding: 10px 12px;
    color: #1e293b;
    flex-grow: 1;
    word-break: break-all;
  }
  .modal-spec-row.highlight .spec-val.price {
    color: #d99b26;
    font-size: 1.25rem;
    font-weight: 900;
  }

  @media (max-width: 640px) {
    .modal-gallery-grid {
      grid-template-columns: 1fr !important;
    }
    .modal-spec-row {
      flex-direction: column !important;
    }
    .modal-spec-row .spec-label {
      width: 100% !important;
      padding: 6px 10px !important;
      font-size: 0.775rem !important;
      background: #e2e8f0 !important;
    }
    .modal-spec-row .spec-val {
      padding: 8px 10px !important;
      font-size: 0.85rem !important;
    }
    .detail-modal-footer-cta {
      flex-direction: column !important;
      padding: 12px 14px !important;
      gap: 8px !important;
    }
    .detail-modal-footer-cta button,
    .detail-modal-footer-cta a {
      width: 100% !important;
      text-align: center !important;
      justify-content: center !important;
    }
  }

  /* Strengths & Room Types */
  .strengths-grid,
  .room-types-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}
