/* =========================================
   Phi Homes LP — Refined Brand Design
   Reference: phihomes.co.jp
   ========================================= */

/* ---- Variables ---- */
:root {
  /* Brand Colors — based on Phi Homes identity */
  --gold:        #B8966E;
  --gold-light:  #D4B38A;
  --gold-dark:   #8E6D48;
  --gold-pale:   #F5EFE6;
  --navy:        #1C2B3A;
  --navy-mid:    #243447;
  --navy-light:  #2E4460;
  --white:       #FFFFFF;
  --off-white:   #FAFAF8;
  --gray-50:     #F7F7F5;
  --gray-100:    #EFEFEC;
  --gray-200:    #E0DDD8;
  --gray-400:    #A8A49E;
  --gray-600:    #6B6660;
  --gray-800:    #2E2B28;
  --success:     #4A9E6A;
  --warning:     #C8902A;
  --danger:      #C0392B;

  /* Typography */
  --font-sans:   'Noto Sans JP', sans-serif;
  --font-serif:  'Cormorant Garamond', 'Noto Serif JP', serif;

  /* Spacing & Layout */
  --container:   1140px;
  --header-h:    76px;
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;

  /* Shadow */
  --shadow-xs:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 6px 28px rgba(0,0,0,0.10);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.14);
  --shadow-gold: 0 4px 20px rgba(184,150,110,0.30);

  --transition:  0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--gray-800); background: var(--white); line-height: 1.75; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Section Labels ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.section-label.light { color: var(--gold-light); }

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  display: block;
}

/* ---- Section Titles ---- */
.section-title-en {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-title-en.light { color: var(--white); }
.section-title-en em { font-style: italic; color: var(--gold); }

.section-sub {
  font-size: 0.98rem;
  color: var(--gray-600);
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-sub strong { color: var(--navy); }

/* Section padding */
section { padding: 104px 0; }

/* ==============================
   HEADER
   ============================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(28,43,58,0.10);
  border-color: var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* Logo */
/* ---- Header Logo (image) ---- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

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

.logo-sub-header {
  font-size: 0.68rem;
  color: var(--gray-400);
  letter-spacing: 0.04em;
  display: block;
  white-space: nowrap;
}

.phi-symbol {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-light);
  font-weight: 400;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.68rem;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.header-nav a:hover { color: var(--navy); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-xs);
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  width: 22px; height: 1.5px;
  background: var(--navy);
  display: block;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 12px 24px 24px;
  gap: 0;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 14px 0;
  font-size: 0.95rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
  font-weight: 500;
}

.mobile-nav a:last-child { border-bottom: none; }

.mobile-nav-cta {
  margin-top: 16px;
  background: var(--navy) !important;
  color: var(--white) !important;
  text-align: center;
  padding: 14px !important;
  border-radius: var(--radius-xs) !important;
  font-weight: 700 !important;
  border: none !important;
}

/* ==============================
   BUTTONS
   ============================== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: var(--radius-xs);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(184,150,110,0.45);
}

.btn-gold.btn-large {
  padding: 18px 36px;
  font-size: 1rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 13px 24px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255,255,255,0.35);
  transition: all var(--transition);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  overflow: hidden;
  padding: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(28, 43, 58, 0.88) 0%,
    rgba(28, 43, 58, 0.72) 55%,
    rgba(28, 43, 58, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 80px;
  max-width: 800px;
}

/* Eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-eyebrow span:not(.eyebrow-line) {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  font-weight: 600;
}

.eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
  display: block;
}

/* Headline */
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 16px;
  font-weight: 400;
}

.hero-sub em {
  font-style: italic;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.1em;
}

.hero-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.68);
  margin-bottom: 44px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
}

/* Trust bar */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-dot {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  font-weight: 400;
}

.trust-dot i { color: var(--gold); font-size: 0.7rem; }

.trust-sep { color: rgba(255,255,255,0.25); font-size: 0.8rem; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollPulse 2.5s ease-in-out infinite;
}

.hero-scroll span {
  font-family: var(--font-serif);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(184,150,110,0.7), transparent);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

/* ==============================
   EMPATHY
   ============================== */
.empathy {
  background: var(--off-white);
  text-align: center;
}

.empathy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
  text-align: left;
}

.empathy-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 36px 28px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition);
  position: relative;
}

.empathy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-pale);
}

.card-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.card-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(184,150,110,0.1);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 18px;
}

.empathy-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}

.empathy-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.85;
}

/* Statement */
.empathy-statement {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}

.empathy-statement::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,150,110,0.1) 0%, transparent 70%);
}

.statement-deco {
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.25;
  line-height: 0.7;
  margin-bottom: 16px;
  font-weight: 400;
}

.empathy-statement p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.88);
  line-height: 2.1;
  position: relative;
  z-index: 1;
}

.empathy-statement strong { color: var(--gold-light); }

.statement-sig {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}

/* ==============================
   SOLUTION (BG IMAGE)
   ============================== */
.solution {
  position: relative;
  padding: 128px 0;
  text-align: center;
  overflow: hidden;
}

.solution-bg {
  position: absolute;
  inset: 0;
}

.solution-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.solution-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28,43,58,0.92) 0%,
    rgba(28,43,58,0.82) 100%
  );
}

.solution-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.solution-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 2;
  margin-top: 24px;
}

/* ==============================
   COMPARE
   ============================== */
.compare-section {
  background: var(--white);
  padding: 80px 0;
}

.compare-wrap {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: visible;
}

.compare-col {
  padding: 40px 36px;
  border-radius: var(--radius-md);
}

.compare-col.bad {
  background: #FEF9F9;
  border: 1px solid #F5DCDC;
}

.compare-col.good {
  background: linear-gradient(145deg, rgba(28,43,58,0.03), rgba(28,43,58,0.06));
  border: 2px solid var(--navy);
}

.compare-header-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.bad-label { background: #F5DCDC; color: #8B1A1A; }
.good-label { background: var(--navy); color: var(--white); }

.compare-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  padding: 11px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--gray-600);
  line-height: 1.6;
}

.compare-col.good ul li { color: var(--gray-800); }

.compare-col ul li:last-child { border-bottom: none; }

.compare-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.bad-icon { background: #F5DCDC; color: #C0392B; }
.good-icon { background: rgba(74,158,106,0.12); color: var(--success); }

.compare-col.good li strong { color: var(--navy); font-weight: 700; }

.compare-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-circle {
  width: 44px; height: 44px;
  background: var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-600);
  font-style: italic;
}

/* ==============================
   ASSESSMENT
   ============================== */
.assessment {
  background: var(--gray-50);
  text-align: center;
}

.assessment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 72px;
  text-align: left;
}

.assessment-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 32px 24px;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
}

.assessment-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.assessment-number {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.assessment-icon-box {
  width: 46px; height: 46px;
  background: var(--navy);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 16px;
}

.assessment-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}

.assessment-item p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.85;
}

/* Rank Badges */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.rank {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 700;
  width: fit-content;
}

.rank-a { background: rgba(74,158,106,0.1); color: #2D7A50; border: 1px solid rgba(74,158,106,0.25); }
.rank-b { background: rgba(200,144,42,0.1); color: #8E6A1A; border: 1px solid rgba(200,144,42,0.25); }
.rank-c { background: rgba(192,57,43,0.08); color: #922B21; border: 1px solid rgba(192,57,43,0.2); }

/* Report Mockup */
.report-showcase {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 48px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.report-label-tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 28px;
}

.report-mockup-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}

.report-mock-header {
  background: var(--navy);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.report-mock-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}

.phi-symbol-sm {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-light);
  font-weight: 400;
}

/* Report mockup logo image */
.report-logo-img {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.report-mock-title {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.report-mock-date {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

.report-mock-body { background: var(--white); }

.report-table { border-bottom: 1px solid var(--gray-100); }

.report-row {
  display: flex;
  border-bottom: 1px solid var(--gray-100);
}

.report-row:last-child { border-bottom: none; }

.report-th {
  width: 160px; min-width: 160px;
  padding: 12px 16px;
  background: var(--gray-50);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  border-right: 1px solid var(--gray-100);
}

.report-td {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 500;
}

.gold-text { color: var(--gold) !important; }

/* Chart */
.report-chart-area {
  padding: 24px 28px;
  background: var(--gray-50);
}

.chart-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.chart-bars { display: flex; flex-direction: column; gap: 10px; }

.chart-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--gray-600);
}

.chart-label { width: 96px; min-width: 96px; text-align: right; }

.chart-bar-wrap { flex: 1; height: 20px; background: var(--gray-100); border-radius: 2px; overflow: hidden; }

.chart-bar {
  height: 100%;
  width: 0;
  background: rgba(28,43,58,0.2);
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.chart-bar.animated { width: var(--target-w); }

.yours-bar { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

.chart-row.yours { color: var(--gold-dark); font-weight: 700; }

.chart-val { min-width: 40px; text-align: right; }

.report-note {
  font-size: 0.76rem;
  color: var(--gray-400);
  margin-top: 20px;
  text-align: center;
}

/* ==============================
   PRICING
   ============================== */
.pricing {
  background: var(--white);
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.pricing-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.pricing-card:hover { box-shadow: var(--shadow-md); }

.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(184,150,110,0.18);
}

.pricing-card-top {
  padding: 24px 28px;
  background: var(--navy);
  display: flex;
  align-items: center;
  gap: 14px;
}

.pricing-card.featured .pricing-card-top { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }

.pricing-icon {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.75);
}

.pricing-card-top h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.pricing-amount {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.pricing-unit {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-left: 4px;
  letter-spacing: 0;
}

.pricing-card-body { padding: 28px; }

.why-box { margin-bottom: 20px; }

.why-box h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.why-box h4 i { color: var(--gold); }

.why-box p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.85; }

.why-box strong { color: var(--navy); }

.notice-box {
  background: rgba(192,57,43,0.05);
  border-left: 3px solid var(--danger);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.notice-box i { color: var(--danger); flex-shrink: 0; margin-top: 2px; font-size: 0.9rem; }
.notice-box p { font-size: 0.82rem; color: var(--gray-600); line-height: 1.75; }

.refund-box {
  background: rgba(184,150,110,0.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  padding: 14px 16px;
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.refund-box i { color: var(--gold); flex-shrink: 0; margin-top: 2px; font-size: 0.9rem; }
.refund-box p { font-size: 0.82rem; color: var(--gray-700); line-height: 1.85; }
.refund-box strong { color: var(--navy); font-weight: 600; }

/* Fee */
.fee-display {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.fee-box {
  flex: 1;
  text-align: center;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 20px 12px;
  border: 1px solid var(--gray-100);
}

.fee-label { font-size: 0.72rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.high-label { color: var(--gold-dark); }

.fee-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.fee-num span { font-size: 1.3rem; font-weight: 600; }

.fee-caption { font-size: 0.72rem; color: var(--gray-400); line-height: 1.55; }

.fee-arrow-icon { color: var(--gray-200); font-size: 1.1rem; }

.fee-merits p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 6px 0;
  line-height: 1.65;
}

.fee-merits i { color: var(--success); flex-shrink: 0; margin-top: 3px; }

/* ==============================
   CASES
   ============================== */
.cases {
  background: var(--gray-50);
  text-align: center;
}

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

.case-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition);
}

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

.case-header {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.success-header { background: linear-gradient(135deg, #2D7A50, #4A9E6A); }
.partial-header  { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }
.long-header     { background: linear-gradient(135deg, var(--navy-mid), var(--navy-light)); }

.case-body { padding: 24px; }

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.meta-tag {
  background: var(--gray-50);
  color: var(--gray-600);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid var(--gray-200);
}

.case-body p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 20px;
}

.case-numbers {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

.case-num-item { display: flex; flex-direction: column; gap: 2px; }
.case-num-label { font-size: 0.7rem; color: var(--gray-400); }
.case-num-val { font-size: 1rem; font-weight: 700; color: var(--navy); }
.success-val { color: var(--success); }
.case-num-divider { width: 1px; height: 32px; background: var(--gray-100); }

/* ==============================
   FLOW
   ============================== */
.flow-section {
  background: var(--white);
  text-align: center;
}

.flow-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.flow-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.flow-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.flow-icon {
  width: 68px; height: 68px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(28,43,58,0.22);
}

.flow-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--navy), var(--gold));
  opacity: 0.2;
  position: absolute;
  top: 92px;
  left: 50%;
  z-index: 0;
}

.flow-line.last-line { display: none; }

.flow-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 20px;
  margin-bottom: 10px;
}

.flow-item p {
  font-size: 0.84rem;
  color: var(--gray-600);
  line-height: 1.85;
}

/* ==============================
   WHY US
   ============================== */
.whyus {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.whyus-bg {
  position: absolute;
  inset: 0;
}

.whyus-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.whyus-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,43,58,0.94), rgba(28,43,58,0.85));
}

.whyus-content { position: relative; z-index: 1; }

.whyus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: left;
  margin-top: 0;
}

.whyus-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-sm);
  padding: 28px 22px;
  transition: all var(--transition);
}

.whyus-item:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(184,150,110,0.4);
  transform: translateY(-4px);
}

.whyus-icon {
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.whyus-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.whyus-item p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
}

/* ==============================
   CTA STRIP
   ============================== */
.cta-strip {
  background: var(--gold-pale);
  padding: 80px 0;
  border-top: 1px solid rgba(184,150,110,0.2);
  border-bottom: 1px solid rgba(184,150,110,0.2);
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-strip-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.cta-strip-text p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.85;
}

/* ==============================
   CONTACT
   ============================== */
.contact {
  background: var(--off-white);
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
  text-align: left;
  margin-top: 56px;
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-sm);
  padding: 32px 24px;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: flex-start;
}

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

.info-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}

.info-item p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.phi-statement {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px;
  border: 1px solid var(--gray-100);
  text-align: center;
}

.phi-statement-mark {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
  font-weight: 400;
}

.phi-statement p {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.75;
  font-style: italic;
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.form-field:last-of-type { margin-bottom: 0; }

.form-field label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.req {
  background: var(--danger);
  color: var(--white);
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 2px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--gray-400); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,110,0.12);
}

.form-field input.is-error,
.form-field select.is-error { border-color: var(--danger); }

.field-error {
  font-size: 0.76rem;
  color: var(--danger);
  min-height: 14px;
}

.form-field textarea { resize: vertical; min-height: 120px; }

/* Privacy */
.form-privacy { margin-bottom: 28px; }

.privacy-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.privacy-label input[type="checkbox"] { display: none; }

.check-box {
  width: 20px; height: 20px;
  min-width: 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: 3px;
  background: var(--white);
  transition: all var(--transition);
  position: relative;
}

.privacy-label input:checked + .check-box {
  background: var(--navy);
  border-color: var(--navy);
}

.privacy-label input:checked + .check-box::after {
  content: '';
  position: absolute;
  top: 3px; left: 6px;
  width: 5px; height: 9px;
  border: 2px solid var(--white);
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

.privacy-label a { color: var(--gold-dark); text-decoration: underline; font-weight: 500; }

.form-submit-wrap { text-align: center; }

.btn-submit {
  width: 100%;
  max-width: 440px;
  justify-content: center;
  padding: 18px 36px !important;
  font-size: 1rem !important;
}

/* Success */
.form-success-msg {
  display: none;
  text-align: center;
  padding: 80px 0;
}

.form-success-msg.show { display: block; }

.success-content {
  display: inline-block;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(74,158,106,0.2);
  max-width: 500px;
}

.success-check {
  width: 72px; height: 72px;
  background: rgba(74,158,106,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--success);
  margin: 0 auto 24px;
}

.success-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.success-content p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 24px; }

.success-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.success-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 64px;
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-img {
  display: block;
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-logo-sub {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  margin: 0;
  line-height: 1.4;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-site-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gold-light);
  font-weight: 500;
  transition: color var(--transition);
  border-bottom: 1px solid rgba(184,150,110,0.3);
  padding-bottom: 2px;
}

.footer-site-link:hover { color: var(--gold); }


/* =========================================
   EMPATHY SECTION — BG IMAGE
   ========================================= */

.empathy {
  position: relative;
  overflow: hidden;
}

.empathy-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.empathy-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.35) saturate(0.6);
}

.empathy-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 43, 58, 0.80) 0%,
    rgba(28, 43, 58, 0.60) 60%,
    rgba(184, 150, 110, 0.15) 100%
  );
}

.empathy .container {
  position: relative;
  z-index: 1;
}

.empathy .section-label {
  color: var(--gold-light);
}

.empathy .section-title-en {
  color: var(--white);
}

.empathy .empathy-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}

.empathy .empathy-card h3 {
  color: var(--white);
}

.empathy .empathy-card p {
  color: rgba(255,255,255,0.75);
}

.empathy .card-icon-wrap i {
  color: var(--gold-light);
}

.empathy .card-num {
  color: rgba(184,150,110,0.35);
}

.empathy .brand-statement {
  background: rgba(184, 150, 110, 0.12);
  border-color: rgba(184, 150, 110, 0.3);
}

.empathy .brand-statement h3,
.empathy .brand-statement p {
  color: var(--white);
}


/* =========================================
   ASSESSMENT SECTION — HERO IMAGE
   ========================================= */

.assessment {
  padding: 0;
  overflow: hidden;
}

.assessment-hero {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.assessment-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.45) saturate(0.7);
  transform: scale(1.03);
  transition: transform 8s ease;
}

.assessment-hero:hover img {
  transform: scale(1.0);
}

.assessment-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28,43,58,0.5) 0%,
    rgba(28,43,58,0.7) 60%,
    rgba(28,43,58,0.9) 100%
  );
}

.assessment-hero-text {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  padding: 0 24px;
}

.assessment-hero-text .section-label.light {
  margin-bottom: 10px;
}

.assessment-hero-text .section-title-en.light {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.assessment-main {
  padding: 60px 0 80px;
}

@media (max-width: 768px) {
  .assessment-hero {
    height: 260px;
  }
  .assessment-hero-text {
    bottom: 24px;
  }
  .assessment-main {
    padding: 40px 0 60px;
  }
}


/* =========================================
   CASES SECTION — BG IMAGE
   ========================================= */

.cases {
  position: relative;
  overflow: hidden;
}

.cases-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cases-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.22) saturate(0.5);
}

.cases-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28,43,58,0.75) 0%,
    rgba(28,43,58,0.85) 100%
  );
}

.cases .container {
  position: relative;
  z-index: 1;
}

.cases .section-label {
  color: var(--gold-light);
}

.cases .section-title-en {
  color: var(--white);
}

.cases .section-sub {
  color: rgba(255,255,255,0.65);
}

/* Case card thumb */
.case-thumb {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  filter: brightness(0.85);
}

.case-card:hover .case-thumb img {
  transform: scale(1.05);
}

.case-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(28,43,58,0.7) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
}

.case-area-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  background: rgba(184,150,110,0.85);
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.case-area-badge.area-c {
  background: rgba(192,57,43,0.75);
}


/* =========================================
   FLOW SECTION — BG IMAGE
   ========================================= */

.flow-section {
  position: relative;
  overflow: hidden;
}

.flow-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.flow-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.2) saturate(0.4);
}

.flow-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28,43,58,0.88) 0%,
    rgba(28,43,58,0.75) 100%
  );
}

.flow-section .container {
  position: relative;
  z-index: 1;
}

.flow-section .section-label {
  color: var(--gold-light);
}

.flow-section .section-title-en {
  color: var(--white);
}

.flow-section .flow-item h3 {
  color: var(--white);
}

.flow-section .flow-item p {
  color: rgba(255,255,255,0.7);
}

.flow-section .flow-num {
  color: rgba(184,150,110,0.5);
}

.flow-section .flow-icon {
  background: rgba(184,150,110,0.15);
  border-color: rgba(184,150,110,0.3);
}

.flow-section .flow-icon i {
  color: var(--gold-light);
}

.flow-section .flow-line {
  background: rgba(184,150,110,0.3);
}


/* =========================================
   MANILA AREAS SECTION
   ========================================= */

.areas {
  background: var(--off-white);
  padding: var(--section-padding);
  overflow: hidden;
}

/* Area Cards Grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .areas-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.area-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(28,43,58,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(28,43,58,0.14);
}

/* Area Image */
.area-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.area-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  filter: brightness(0.8) saturate(1.1);
}

.area-card:hover .area-img-wrap img {
  transform: scale(1.06);
}

.area-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(28,43,58,0.65) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
}

.area-rank-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 20px;
  color: var(--white);
}

.rank-a-badge {
  background: rgba(39,174,96,0.85);
}

.rank-b-badge {
  background: rgba(200,144,42,0.85);
}

.rank-c-badge {
  background: rgba(192,57,43,0.80);
}

/* Area Info */
.area-info {
  padding: 20px;
}

.area-name {
  margin-bottom: 14px;
}

.area-en {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.area-ja {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-top: 2px;
}

/* Area Meter */
.area-meter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.area-meter-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-600);
  width: 72px;
  flex-shrink: 0;
}

.area-meter-bar {
  flex: 1;
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
}

.area-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1) 0.2s;
}

.area-bar.high { background: linear-gradient(90deg, #27AE60, #52C97E); }
.area-bar.mid  { background: linear-gradient(90deg, #C8902A, #E6A832); }
.area-bar.low  { background: linear-gradient(90deg, #C0392B, #E05246); }

.area-note {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

/* Areas Image Strip */
.areas-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .areas-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.strip-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
}

.strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.9);
  transition: transform 0.5s ease, filter 0.3s ease;
}

.strip-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.9) saturate(1.1);
}

.strip-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(28,43,58,0.8) 0%, transparent 100%);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 18px 10px 8px;
  text-align: center;
}




.simulator {
  background: var(--gray-50);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.simulator::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(184,150,110,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- Card ---- */
.sim-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(28,43,58,0.10);
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
}

/* ---- Progress Bar ---- */
.sim-progress-wrap {
  height: 5px;
  background: var(--gray-100);
}

.sim-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 3px 3px 0;
}

.sim-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 28px 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.08em;
}

/* ---- Steps ---- */
.sim-steps {
  padding: 32px 36px 0;
}

.sim-step {
  display: none;
  animation: simFadeIn 0.35s ease;
}

.sim-step.active {
  display: block;
}

@keyframes simFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sim-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.sim-step-icon i {
  font-size: 1.25rem;
  color: var(--gold-dark);
}

.sim-q {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.55;
  margin-bottom: 6px;
}

.sim-hint {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-bottom: 20px;
}

/* ---- Option Buttons ---- */
.sim-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 8px;
}

.sim-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  color: var(--gray-800);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.sim-btn::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: transparent;
  transition: background 0.2s ease;
}

.sim-btn:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
  color: var(--navy);
  transform: translateX(3px);
}

.sim-btn:hover::before {
  background: var(--gold);
}

.sim-btn.selected {
  border-color: var(--gold);
  background: var(--gold-pale);
  color: var(--navy);
  font-weight: 600;
}

.sim-btn.selected::before {
  background: var(--gold-dark);
}

/* ---- Navigation ---- */
.sim-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px 28px;
}

.sim-back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--gray-600);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 8px 12px;
  border-radius: 8px;
}

.sim-back-btn:hover {
  color: var(--navy);
  background: var(--gray-50);
}

/* ---- Dots ---- */
.sim-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.sim-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  transition: all 0.3s ease;
}

.sim-dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
}

.sim-dot.done {
  background: var(--gold-light);
}

/* ---- Result Panel ---- */
.sim-result {
  padding: 0 36px 36px;
  animation: simFadeIn 0.5s ease;
}

.sim-result-inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

/* Rank Badge */
.sim-rank-badge {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: badgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

@keyframes badgePop {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

.sim-rank-badge.rank-a {
  background: linear-gradient(135deg, #27AE60, #2ECC71);
  box-shadow: 0 8px 24px rgba(39,174,96,0.35);
}

.sim-rank-badge.rank-b {
  background: linear-gradient(135deg, #C8902A, #E6A832);
  box-shadow: 0 8px 24px rgba(200,144,42,0.35);
}

.sim-rank-badge.rank-c {
  background: linear-gradient(135deg, #C0392B, #E05246);
  box-shadow: 0 8px 24px rgba(192,57,43,0.35);
}

.sim-rank-letter {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Result Body */
.sim-result-body {
  flex: 1;
}

.sim-result-tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.sim-result-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.sim-result-desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 18px;
}

/* Meter */
.sim-meter-wrap {
  margin-bottom: 18px;
}

.sim-meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 600;
  margin-bottom: 6px;
}

.sim-meter-bg {
  height: 10px;
  background: var(--gray-100);
  border-radius: 5px;
  overflow: hidden;
}

.sim-meter-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.sim-meter-fill.rank-a { background: linear-gradient(90deg, #27AE60, #2ECC71); }
.sim-meter-fill.rank-b { background: linear-gradient(90deg, #C8902A, #E6A832); }
.sim-meter-fill.rank-c { background: linear-gradient(90deg, #C0392B, #E05246); }

.sim-meter-legend {
  display: flex;
  gap: 24px;
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--gray-400);
}

.legend-b { color: #C8902A; font-weight: 600; }
.legend-c { color: #C0392B; font-weight: 600; }

/* Rank Details Checklist */
.sim-rank-details {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.sim-rank-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-rank-details li {
  font-size: 0.83rem;
  color: var(--gray-800);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.sim-rank-details li i {
  margin-top: 2px;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.sim-rank-details li i.fa-check-circle { color: #27AE60; }
.sim-rank-details li i.fa-exclamation-circle { color: #C8902A; }
.sim-rank-details li i.fa-times-circle { color: #C0392B; }

/* CTA in result */
.sim-result-cta {
  text-align: center;
}

.sim-cta-note {
  font-size: 0.72rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 14px;
}

.sim-cta-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}

.sim-retry-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-retry-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--gray-50);
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .sim-steps {
    padding: 24px 20px 0;
  }

  .sim-nav {
    padding: 16px 20px 24px;
  }

  .sim-result {
    padding: 0 20px 28px;
  }

  .sim-result-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sim-rank-badge {
    width: 80px;
    height: 80px;
  }

  .sim-rank-letter {
    font-size: 2.5rem;
  }

  .sim-q {
    font-size: 0.98rem;
  }

  .sim-btn {
    font-size: 0.85rem;
    padding: 12px 16px;
  }

  .sim-meter-legend {
    flex-direction: column;
    gap: 4px;
  }

  .sim-rank-details li {
    text-align: left;
  }
}

.footer-links-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links-col a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-links-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.76rem;
}

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* ==============================
   FLOATING & BACK-TOP
   ============================== */
.float-cta {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition);
}

.float-cta.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

.float-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--gold);
  color: var(--white);
  width: 60px; height: 60px;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition);
}

.float-cta-btn i { font-size: 1.1rem; }

.float-cta-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-3px) scale(1.05);
}

.back-top {
  position: fixed;
  bottom: 28px; left: 28px;
  z-index: 999;
  width: 42px; height: 42px;
  background: rgba(28,43,58,0.8);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--navy); transform: translateY(-2px) !important; }

/* ==============================
   ANIMATIONS
   ============================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease calc(var(--delay, 0s)), transform 0.65s ease calc(var(--delay, 0s));
}

.fade-up.in-view { opacity: 1; transform: translateY(0); }

/* ==============================
   RESPONSIVE — Tablet (1024px)
   ============================== */
@media (max-width: 1024px) {
  .assessment-grid { grid-template-columns: repeat(2, 1fr); }
  .whyus-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ==============================
   RESPONSIVE — Mobile (768px)
   ============================== */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  section { padding: 72px 0; }
  .container { padding: 0 20px; }

  .header-nav { display: none; }
  .hamburger { display: flex; }
  .logo-sub-header { display: none; }
  .header-logo-img { height: 36px; }

  .hero-content { padding-top: 64px; padding-bottom: 64px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-trust-bar { gap: 10px; }
  .trust-sep { display: none; }
  .hero-scroll { display: none; }

  .empathy-grid { grid-template-columns: 1fr; }
  .empathy-statement { padding: 36px 24px; }

  .compare-wrap { grid-template-columns: 1fr; gap: 16px; }
  .compare-divider { transform: rotate(90deg); margin: 8px auto; }

  .assessment-grid { grid-template-columns: 1fr; }
  .report-showcase { padding: 24px 16px; }
  .report-th { width: 110px; min-width: 110px; font-size: 0.75rem; }
  .report-mock-date { display: none; }
  .chart-label { width: 80px; min-width: 80px; }

  .pricing-grid { grid-template-columns: 1fr; }
  .fee-display { flex-direction: column; }
  .fee-arrow-icon i { transform: rotate(90deg); display: block; }

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

  .flow-steps { flex-direction: column; max-width: 420px; }
  .flow-item { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; }
  .flow-num { display: none; }
  .flow-icon { flex-shrink: 0; margin-top: 0; }
  .flow-line { display: none; }
  .flow-item h3 { margin-top: 0; }

  .whyus-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .cta-strip-inner { flex-direction: column; text-align: center; }

  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { padding: 28px 20px; }
  .form-row-2 { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ==============================
   EMPATHY 4-CARD GRID
   ============================== */
.empathy-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .empathy-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .empathy-grid-4 { grid-template-columns: 1fr; }
}

/* ==============================
   SEMINAR VIDEO SECTION
   ============================== */
.seminar-section {
  background: var(--off-white);
  padding: 104px 0;
}

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

/* Text side */
.seminar-text .section-label { margin-bottom: 14px; }

.seminar-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.9;
  margin: 20px 0 28px;
}

.seminar-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.seminar-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--gray-800);
  line-height: 1.6;
}

.seminar-points li i {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Video side */
.video-outer {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}

.video-badge-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* 16:9 Responsive iframe */
.video-responsive {
  position: relative;
  width: 100%;
  padding-top: 56.25%;  /* 16:9 */
  background: #000;
}

.video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-caption-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--navy);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}

.vid-cap-icon {
  color: var(--gold);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .seminar-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .seminar-text { order: 1; }
  .seminar-video-col { order: 2; }
}

@media (max-width: 768px) {
  .seminar-section { padding: 72px 0; }
  .seminar-inner { gap: 32px; }
}

/* ==============================
   RESPONSIVE — Small (480px)
   ============================== */
@media (max-width: 480px) {
  .hero-headline { font-size: 1.75rem; }
  .section-title-en { font-size: 1.5rem; }
  .whyus-grid { grid-template-columns: 1fr; }
  .report-mockup-wrap { font-size: 0.8rem; }
}

/* ============================================================
   ◇ PHI HOMES — REFINED POLISH LAYER
   不動産オーナーに刺さる「品格・データ・信頼」強化
   ============================================================ */

/* Missing variable補完 */
:root {
  --gray-700: #4A4541;
  --gold-glow: 0 0 0 1px rgba(184,150,110,0.25), 0 8px 32px rgba(184,150,110,0.12);
  --ink-shadow: 0 1px 0 rgba(255,255,255,0.04);
}

/* ---- Typography Refresh ---- */
body {
  font-feature-settings: "palt" 1, "kern" 1;
  letter-spacing: 0.02em;
}

.section-title-en {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1.45;
  letter-spacing: 0.005em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.section-title-en em {
  display: inline;
  font-style: italic;
}

.section-title-en .title-em-block {
  display: block;
  margin-top: 6px;
  font-size: 0.92em;
}

.section-sub {
  font-size: 0.95rem;
  line-height: 1.95;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.03em;
  text-align: left;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 短文の section-sub は中央寄せで美しく見せる */
.empathy .section-sub,
.contact .section-sub {
  text-align: center;
  max-width: 560px;
}

/* セクション余白を少しゆとり */
section { padding: 112px 0; }

/* ---- HERO Refinement ---- */
.hero-overlay {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(184,150,110,0.18) 0%, transparent 55%),
    linear-gradient(115deg, rgba(15,23,33,0.92) 0%, rgba(28,43,58,0.82) 50%, rgba(28,43,58,0.55) 100%);
}

.hero-content { max-width: 860px; padding-top: 60px; }

.hero-headline {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.32;
  letter-spacing: 0.005em;
  margin-bottom: 28px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.hero-headline .hl-line-1 {
  display: block;
  font-size: 0.78em;
  color: var(--gold-light);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.hero-headline .hl-line-1::before {
  content: "“";
  margin-right: 4px;
  color: rgba(212,179,138,0.6);
}

.hero-headline .hl-line-1::after {
  content: "”";
  margin-left: 4px;
  color: rgba(212,179,138,0.6);
}

.hero-headline .hl-line-2 {
  display: block;
  font-weight: 600;
  color: var(--white);
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.85;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.88);
  max-width: 640px;
}

.hero-sub em {
  font-size: 1.05em;
  color: var(--gold-light);
}

.hero-body {
  font-size: 0.94rem;
  max-width: 640px;
  margin-bottom: 48px;
  color: rgba(255,255,255,0.7);
}

.hero-trust-bar {
  padding-top: 28px;
  border-top: 1px solid rgba(184,150,110,0.22);
  position: relative;
}

.hero-trust-bar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 1px;
  background: var(--gold);
}

.hero-eyebrow span:not(.eyebrow-line) {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
}

/* ---- Section Label refresh ---- */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  font-weight: 500;
}

/* ---- Buttons refinement ---- */
.btn-gold {
  letter-spacing: 0.08em;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(184,150,110,0.32);
  position: relative;
  overflow: hidden;
}

.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}

.btn-gold:hover::after { transform: translateX(100%); }

.btn-ghost {
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ---- Empathy cards 強化（ゴールドラインアクセント）---- */
.empathy-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.empathy-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.empathy-card:hover { border-color: rgba(184,150,110,0.35); }
.empathy-card:hover::before { opacity: 1; }

.empathy-card h3 {
  font-size: 1.05rem;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.empathy-card p {
  font-size: 0.88rem;
  line-height: 1.95;
}

/* Empathy Statement のセリフ感UP（navy重厚バージョン） */
.empathy-statement {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 56px 52px;
  border: 1px solid rgba(184,150,110,0.35);
  border-radius: var(--radius-md);
  background:
    radial-gradient(ellipse at top right, rgba(184,150,110,0.12) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  box-shadow: 0 24px 60px rgba(28,43,58,0.25);
  text-align: left;
}

.empathy-statement p {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: rgba(255,255,255,0.92);
  line-height: 2.05;
  letter-spacing: 0.04em;
  text-wrap: pretty;
}

.empathy-statement strong { color: var(--gold-light); }

.empathy-statement .statement-deco {
  font-family: var(--font-serif);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 8px;
  position: static;
}

.empathy-statement .statement-sig {
  margin-top: 24px;
  color: var(--gold);
}

/* ---- Seminar 改 ---- */
.seminar-text h2 { word-break: keep-all; overflow-wrap: anywhere; }
.seminar-desc { font-size: 0.95rem; line-height: 2; letter-spacing: 0.03em; }
.seminar-points li { font-size: 0.92rem; }

/* ---- Solution Lead ---- */
.solution-lead {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 2.1;
  max-width: 780px;
  margin: 0 auto;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-align: left;
  text-wrap: pretty;
  color: rgba(255,255,255,0.92);
}

/* ---- Compare カラムを少し格上げ ---- */
.compare-col {
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.compare-col.good {
  border: 1px solid rgba(184,150,110,0.4);
  box-shadow: var(--gold-glow);
}

.compare-col li {
  font-size: 0.92rem;
  line-height: 1.85;
}

.compare-col li .compare-text {
  flex: 1;
  min-width: 0;
  display: inline-block;
}

.compare-col li strong {
  display: inline;
  white-space: normal;
}

/* ---- Assessment item ---- */
.assessment-item {
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.assessment-item h3 {
  font-size: 1.08rem;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.assessment-item p {
  font-size: 0.88rem;
  line-height: 1.9;
}

.assessment-item:hover { transform: translateY(-3px); }

/* ---- Report mockup を高級書類風に ---- */
.report-mock {
  border: 1px solid rgba(28,43,58,0.08);
  box-shadow: 0 24px 60px rgba(28,43,58,0.18), 0 2px 6px rgba(28,43,58,0.05);
}

.report-mock-header {
  border-bottom: 2px solid var(--gold);
  position: relative;
}

.report-mock-header::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--navy);
}

.report-mock-title {
  font-family: var(--font-serif);
  letter-spacing: 0.08em;
}

/* ---- Area cards ---- */
.area-card {
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

.area-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184,150,110,0.35);
  box-shadow: var(--shadow-lg);
}

.area-name .area-en {
  font-family: var(--font-serif);
  letter-spacing: 0.06em;
}

.area-note {
  font-size: 0.86rem;
  line-height: 1.9;
}

/* ---- Pricing カード 重厚化 ---- */
.pricing-card {
  border: 1px solid rgba(28,43,58,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.pricing-card.featured {
  border: 1px solid rgba(184,150,110,0.45);
  box-shadow: 0 18px 50px rgba(184,150,110,0.15);
}

.pricing-amount {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.01em;
  font-feature-settings: "tnum" 1;
}

.pricing-card h3 {
  letter-spacing: 0.05em;
}

.fee-num {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum" 1;
}

.fee-caption {
  font-size: 0.78rem;
  line-height: 1.7;
}

/* ---- Cases ---- */
.case-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--white);
}

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

.case-card h3 {
  letter-spacing: 0.04em;
}

.case-body p {
  font-size: 0.9rem;
  line-height: 1.95;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.case-num-val {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  font-feature-settings: "tnum" 1;
}

.case-num-val.success-val {
  color: var(--success);
}

/* ---- Flow ---- */
.flow-item h3 {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.flow-item p {
  font-size: 0.88rem;
  line-height: 1.9;
}

/* ---- Why Us ---- */
.whyus-item h3 {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.whyus-item p {
  font-size: 0.9rem;
  line-height: 1.95;
}

/* ---- CTA Strip ---- */
.cta-strip {
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--gold);
}

.cta-strip-text h2 {
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.cta-strip-text p {
  font-size: 0.95rem;
  line-height: 1.95;
}

/* ---- Contact ---- */
.contact-form input,
.contact-form select,
.contact-form textarea {
  letter-spacing: 0.04em;
}

.info-item h4 { letter-spacing: 0.05em; }
.info-item p { line-height: 1.85; font-size: 0.88rem; }

.phi-statement {
  position: relative;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  background: rgba(184,150,110,0.04);
  padding: 22px 22px 22px 28px;
  border-radius: var(--radius-xs);
}

.phi-statement p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.9;
}

/* ---- Footer ---- */
.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.95;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ---- Floating CTA refresh ---- */
.float-cta-btn {
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ---- Cards Gold corner accent（共通の重厚感）---- */
.empathy-card,
.assessment-item,
.area-card,
.case-card,
.pricing-card,
.flow-item,
.whyus-item,
.sim-card {
  position: relative;
}

/* ---- Responsive Headline調整 ---- */
@media (max-width: 1024px) {
  section { padding: 88px 0; }
  .section-title-en { font-size: clamp(1.5rem, 3.4vw, 2rem); }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .hero-content { padding-top: 40px; }
  .hero-headline { font-size: clamp(1.55rem, 6.5vw, 2rem); line-height: 1.4; }
  .hero-headline .hl-line-1 { font-size: 0.75em; }
  .hero-sub { font-size: 0.98rem; line-height: 1.85; }
  .hero-body { font-size: 0.88rem; line-height: 1.9; }
  .section-title-en { font-size: clamp(1.35rem, 5vw, 1.75rem); }
  .section-title-en .title-em-block { font-size: 0.95em; margin-top: 4px; }
  .empathy-statement { padding: 44px 24px 30px; }
  .empathy-statement p { font-size: 0.92rem; line-height: 1.95; }
  .empathy-statement .statement-deco { font-size: 3.5rem; left: 18px; }
  .solution-lead { font-size: 0.95rem; line-height: 1.95; }
  .hero-trust-bar { gap: 10px; }
  .trust-dot { font-size: 0.76rem; }
  .trust-sep { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 1.55rem; line-height: 1.45; }
  .hero-headline .hl-line-1 { font-size: 0.72em; }
  .section-title-en { font-size: 1.35rem; line-height: 1.5; }
  .section-title-en .title-em-block { font-size: 0.92em; }
  .section-sub { font-size: 0.88rem; line-height: 1.85; }
  .empathy-card h3 { font-size: 0.98rem; }
  .empathy-card p,
  .assessment-item p,
  .area-note,
  .case-body p,
  .flow-item p,
  .whyus-item p { font-size: 0.84rem; line-height: 1.85; }
}

/* ============================================================
   ◇ BRIGHTER MOOD LAYER
   明るい高級感トーン — マニラの陽射し・空・ゴールド光の演出
   ============================================================ */

/* ベースを温かみのあるオフホワイトへ */
body { background: #FCFAF6; }

.empathy { background: #FBF9F4; }
.assessment { background: #FFFFFF; }
.areas { background: #FBF9F4; }
.simulator { background: #FFFFFF; }
.pricing { background: #FBF9F4; }
.contact { background: #FFFFFF; }
.compare-section { background: #FBF9F4; }

/* ---- HERO 明るく ---- */
.hero-overlay {
  background:
    radial-gradient(ellipse at 75% 25%, rgba(184,150,110,0.32) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(255,221,170,0.18) 0%, transparent 55%),
    linear-gradient(135deg, rgba(28,43,58,0.78) 0%, rgba(36,52,71,0.55) 55%, rgba(46,68,96,0.35) 100%);
}

.hero-headline,
.hero-sub,
.hero-body,
.hero-trust-bar {
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

/* ---- EMPATHY 背景画像を明るく薄く、文字色も合わせ直す ---- */
.empathy-bg-overlay {
  background: linear-gradient(180deg, rgba(251,249,244,0.97) 0%, rgba(252,250,246,0.98) 100%) !important;
}

.empathy-bg img { opacity: 0.45; filter: brightness(1.08); }

.empathy .section-label { color: var(--gold-dark) !important; }
.empathy .section-title-en { color: var(--navy) !important; }

.empathy .empathy-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(28,43,58,0.06) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.empathy .empathy-card h3 { color: var(--navy) !important; }
.empathy .empathy-card p { color: var(--gray-700) !important; }
.empathy .card-icon-wrap i { color: var(--gold-dark) !important; }
.empathy .card-num { color: rgba(184,150,110,0.55) !important; }
.empathy .card-icon-wrap {
  background: var(--gold-pale) !important;
  border-color: rgba(184,150,110,0.3) !important;
}

/* ---- SOLUTION ダークだが明るいゴールド光UP ---- */
.solution-overlay {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(212,179,138,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 75%, rgba(184,150,110,0.18) 0%, transparent 60%),
    linear-gradient(135deg, rgba(28,43,58,0.82) 0%, rgba(46,68,96,0.62) 100%);
}

.solution-bg img { filter: brightness(1.1) saturate(1.05); }

.solution-lead {
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

/* ---- ASSESSMENT hero画像を明るく ---- */
.assessment-hero-overlay {
  background: linear-gradient(135deg, rgba(28,43,58,0.62) 0%, rgba(184,150,110,0.35) 100%) !important;
}

.assessment-hero img { filter: brightness(1.08) saturate(1.05); }

/* ---- CASES 背景を明るく ---- */
.cases-bg-overlay {
  background: linear-gradient(180deg, rgba(251,249,244,0.94) 0%, rgba(251,249,244,0.96) 100%) !important;
}

.cases-bg img { opacity: 0.35; filter: brightness(1.1); }

/* casesセクションのテキスト色（明るい背景に合わせる） */
.cases .section-label { color: var(--gold-dark); }
.cases .section-title-en { color: var(--navy); }
.cases .section-title-en em { color: var(--gold-dark); }
.cases .section-sub { color: var(--gray-700); }

/* ---- FLOW 明るい背景へ全面切替（ダーク背景→クリーム背景） ---- */
.flow-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF9F4 100%);
  position: relative;
}

.flow-bg-overlay {
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(251,249,244,0.98) 100%) !important;
}

.flow-bg img { opacity: 0.18; filter: brightness(1.1); }

.flow-section .section-label { color: var(--gold-dark) !important; }
.flow-section .section-title-en { color: var(--navy) !important; }
.flow-section .section-title-en em { color: var(--gold-dark) !important; }

.flow-section .flow-item h3 { color: var(--navy) !important; }
.flow-section .flow-item p { color: var(--gray-700) !important; }
.flow-section .flow-num { color: rgba(184,150,110,0.55) !important; }
.flow-section .flow-icon {
  background: var(--gold-pale) !important;
  border: 1px solid rgba(184,150,110,0.3) !important;
}
.flow-section .flow-icon i { color: var(--gold-dark) !important; }
.flow-section .flow-line { background: rgba(184,150,110,0.35) !important; }

/* ---- WHY US 明るいゴールド演出 ---- */
.whyus-overlay {
  background:
    radial-gradient(ellipse at 75% 25%, rgba(212,179,138,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(184,150,110,0.22) 0%, transparent 60%),
    linear-gradient(135deg, rgba(28,43,58,0.78) 0%, rgba(46,68,96,0.6) 100%) !important;
}

.whyus-bg img { filter: brightness(1.1) saturate(1.05); }

/* ---- CTA strip 明るいゴールドのアクセント ---- */
.cta-strip {
  background: linear-gradient(135deg, #1C2B3A 0%, #2E4460 60%, #3D5878 100%) !important;
  position: relative;
  overflow: hidden;
}

.cta-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(212,179,138,0.18) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.cta-strip .container.cta-strip-inner { position: relative; z-index: 1; }

section.cta-strip .cta-strip-inner .cta-strip-text h2,
.cta-strip .cta-strip-text h2 {
  color: #FFFFFF !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

section.cta-strip .cta-strip-inner .cta-strip-text p,
.cta-strip .cta-strip-text p {
  color: rgba(255,255,255,0.94) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

section.cta-strip .cta-strip-text p strong,
.cta-strip .cta-strip-text p strong {
  color: var(--gold-light) !important;
}

/* ---- WHY US カード内の白文字をnavyへ（specificity最大化）---- */
section.whyus .whyus-grid .whyus-item h3,
.whyus-item h3 {
  color: var(--navy) !important;
  text-shadow: none !important;
}

section.whyus .whyus-grid .whyus-item p,
.whyus-item p {
  color: var(--gray-700) !important;
  text-shadow: none !important;
}

section.whyus .whyus-grid .whyus-item .whyus-icon,
.whyus-item .whyus-icon {
  width: 56px !important;
  height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--gold-pale) !important;
  border: 1px solid rgba(184,150,110,0.3) !important;
  border-radius: 50% !important;
  margin-bottom: 18px !important;
  font-size: 1.25rem !important;
  flex-shrink: 0 !important;
}

section.whyus .whyus-grid .whyus-item .whyus-icon i,
.whyus-item .whyus-icon i {
  color: var(--gold-dark) !important;
  font-size: 1.25rem !important;
}

/* whyus 見出しエリアは背景画像上に直接出るため text-shadow で分離感UP */
section.whyus .section-label,
section.whyus .section-title-en {
  text-shadow: 0 2px 6px rgba(0,0,0,0.5) !important;
}

/* ---- EMPATHY-STATEMENT を navy のまま明るくゴールド光UP ---- */
.empathy-statement {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(212,179,138,0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 90%, rgba(184,150,110,0.12) 0%, transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 65%, var(--navy-light) 100%) !important;
}

/* ---- カード系の影を柔らかく、ゴールドの薄い縁取り ---- */
.empathy-card,
.assessment-item,
.area-card,
.case-card,
.pricing-card,
.flow-item,
.whyus-item,
.sim-card {
  background: #FFFFFF !important;
  box-shadow: 0 8px 28px rgba(28,43,58,0.06), 0 1px 3px rgba(28,43,58,0.04) !important;
}

.empathy-card:hover,
.assessment-item:hover,
.area-card:hover,
.case-card:hover {
  box-shadow: 0 16px 40px rgba(184,150,110,0.15), 0 4px 12px rgba(28,43,58,0.06) !important;
}

/* ---- セクションラベル ----（暗いセクション内のみ light）---- */
.solution .section-label,
.assessment-hero-text .section-label,
.whyus .section-label { color: var(--gold-light) !important; }

/* ---- HEADER 透明感UP ---- */
.site-header {
  background: rgba(255,253,248,0.92) !important;
}

/* ---- FOOTER も少し明るめに ---- */
.site-footer {
  background: linear-gradient(135deg, #1C2B3A 0%, #243447 100%);
}

/* ---- Floating CTA をゴールドで温かみ ---- */
.float-cta-btn {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%) !important;
  box-shadow: 0 8px 24px rgba(184,150,110,0.4) !important;
}

/* ---- Back to top も少し明るく ---- */
.back-top {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(184,150,110,0.3);
  color: var(--gold-dark);
}

.back-top:hover {
  background: var(--gold);
  color: var(--white);
}

/* ---- 数字フォントの視認性UP（セリフ体→sans-serif太字へ）---- */
.section-title-en .title-num {
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  font-size: 0.95em;
  letter-spacing: 0;
  display: inline-block;
  transform: translateY(-0.05em);
  margin-right: 0.08em;
  color: var(--gold-dark);
}

.card-num,
.assessment-number,
.flow-num {
  font-family: var(--font-sans) !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  font-feature-settings: "tnum" 1;
}

/* ---- 送信ボタン下のメーラー起動注意書き ---- */
.form-submit-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.75;
  text-align: left;
  padding: 12px 14px;
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.form-submit-note i {
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 0.85rem;
}

.form-submit-note strong {
  color: var(--navy);
  font-weight: 700;
}
