/* =========================================================
   INTENTION ESTATE - style.css
   ========================================================= */

:root{
  --navy: #14315c;
  --navy-deep: #0f2947;
  --navy-soft: #1c4272;
  --gold: #c9a227;
  --gold-deep: #a6862f;
  --gold-soft: #e2d8b8;
  --cream: #f6f3ea;
  --paper: #fbfaf6;
  --ink: #23303f;
  --ink-soft: #5a6675;
  --line: #e4e1d6;
  --white: #ffffff;

  --font-en: 'Cormorant Garamond', serif;
  --font-jp-serif: 'Shippori Mincho', serif;
  --font-jp: 'Noto Sans JP', sans-serif;

  --container-w: 1160px;
  --header-h: 84px;

  --ease: cubic-bezier(.22,.68,.16,1);
  --shadow-soft: 0 10px 40px rgba(20,49,92,.10);
  --shadow-card: 0 18px 50px rgba(20,49,92,.12);
}

/* ---------- reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,p,table{ margin: 0; }
h1,h2,h3{ word-break: keep-all; overflow-wrap: break-word; }
button{ font: inherit; border: none; background: none; cursor: pointer; }
svg{ display: block; }
iframe{ border: 0; }

.container{
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.pc-only{ display: inline; }

.eyebrow{
  font-family: var(--font-en);
  font-size: 0.95rem;
  letter-spacing: .28em;
  color: var(--gold-deep);
  font-weight: 600;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.eyebrow.light{ color: var(--gold); }

.section-title{
  font-family: var(--font-jp-serif);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
  margin-bottom: 20px;
}
.section-title.light{ color: var(--white); }

.section-desc{
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.section-desc.light{ color: rgba(255,255,255,.72); }

.lead{
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.section-head{ margin-bottom: 52px; }
.section-head.center{ text-align: center; }
.section-head.center .eyebrow{ display:block; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn span{ position: relative; z-index: 1; }

.btn-primary{
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(201,162,39,.35);
}
.btn-primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(201,162,39,.45);
}

.btn-ghost{
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-ghost:hover{
  background: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-header{
  background: var(--navy);
  color: var(--white);
  padding: 12px 26px;
  font-size: .85rem;
  box-shadow: 0 8px 20px rgba(20,49,92,.25);
}
.btn-header:hover{ background: var(--navy-deep); transform: translateY(-2px); }

.btn-block{ display: flex; width: 100%; }

/* ---------- progress bar ---------- */
.progress-bar{
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--navy-soft));
  z-index: 1200;
  transition: width .12s linear;
}

/* ---------- header ---------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(8px);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.scrolled{
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(20,49,92,.08);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand{ display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark{
  width: 42px; height: 42px;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  filter: none;
}
.brand-text{ display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong{
  font-family: var(--font-en);
  font-size: 1.05rem;
  letter-spacing: .08em;
  color: var(--navy);
  transition: color .4s var(--ease);
}
.brand-text small{ font-size: .68rem; letter-spacing: .04em; color: var(--ink-soft); transition: color .4s var(--ease); }
.site-header.scrolled .brand-text strong{ color: var(--navy); }
.site-header.scrolled .brand-text small{ color: var(--ink-soft); }

.nav{ flex: 1; display: flex; justify-content: center; }
.nav ul{ display: flex; gap: 36px; }
.nav-link{
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  color: var(--navy);
  padding: 6px 0;
  transition: color .4s var(--ease);
}
.site-header.scrolled .nav-link{ color: var(--navy); }
.mobile-nav .nav-link{ color: var(--navy); }
.nav-link::after{
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right .35s var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after{ right: 0; }
.nav-link.active{ color: var(--gold-deep); }

.menu-btn{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.menu-btn span{
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .35s var(--ease), background .4s var(--ease);
}
.site-header.scrolled .menu-btn span{ background: var(--navy); }
.menu-btn.open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.menu-btn.open span:nth-child(2){ opacity: 0; }
.menu-btn.open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

.mobile-nav{
  position: fixed;
  top: var(--header-h); right: 0;
  width: min(320px, 82vw);
  height: calc(100vh - var(--header-h));
  background: var(--white);
  z-index: 1100;
  padding: 48px 32px 40px;
  box-shadow: -20px 0 50px rgba(20,49,92,.18);
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 34px;
  overflow-y: auto;
}
.mobile-nav.open{ transform: translateX(0); }
.mobile-nav ul{ display: flex; flex-direction: column; gap: 26px; }
.mobile-nav .nav-link{ font-size: 1.05rem; }

.nav-overlay{
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(15,41,71,.45);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.nav-overlay.open{ opacity: 1; pointer-events: auto; }

/* ---------- reveal on scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.reveal.in-view{ opacity: 1; transform: translateY(0); }

/* ===================== HERO ===================== */
.hero{
  position: relative;
  min-height: clamp(620px, 82vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #eaf5fd;
  background-image:
    radial-gradient(ellipse at 24% 72%, rgba(255,255,255,.78) 0%, rgba(255,255,255,.52) 30%, rgba(255,255,255,.16) 52%, rgba(255,255,255,0) 70%),
    linear-gradient(90deg, rgba(255,255,255,.52) 0%, rgba(255,255,255,.34) 38%, rgba(255,255,255,.1) 68%, rgba(255,255,255,0) 100%),
    url('../assets/hero-blue-white.png');
  background-position: center, center, right center;
  background-size: cover, cover, cover;
  background-repeat: no-repeat;
  padding-top: var(--header-h);
  padding-bottom: calc(clamp(150px, 22vh, 260px) + 28px);
}
.hero-bg{ display: none; }
.blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  animation: float-blob 16s ease-in-out infinite;
}
.blob-1{ width: 460px; height: 460px; background: var(--gold); top: -140px; right: -80px; animation-duration: 18s; }
.blob-2{ width: 360px; height: 360px; background: #3a6bb0; bottom: -120px; left: -60px; animation-duration: 22s; animation-delay: -4s; }
.blob-3{ width: 260px; height: 260px; background: var(--gold-soft); top: 40%; left: 55%; animation-duration: 20s; animation-delay: -9s; opacity: .18; }
@keyframes float-blob{
  0%, 100%{ translate: 0 0; scale: 1; }
  33%{ translate: 30px -30px; scale: 1.08; }
  66%{ translate: -25px 20px; scale: 0.95; }
}
.hero-grid{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 60% 40%, #000 0%, transparent 75%);
}

.hero-skyline{
  display: none;
}
.sky-windows rect{ fill: rgba(255,220,140,.55); }

.hero-content{
  position: absolute;
  left: 50%;
  bottom: clamp(122px, 13vh, 150px);
  transform: translateX(-50%);
  z-index: 2;
  width: 100%;
  min-width: 0;
  padding-bottom: 0;
}
.hero-copy{
  width: min(820px, 60vw);
  margin-left: clamp(28px, 4vw, 72px);
  text-align: left;
}
.hero .eyebrow{ display: none; }
.hero-title{ margin: 0 0 24px; }
.hero-title .line{
  display: block;
  font-family: var(--font-jp-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 1.55rem + 2vw, 3.25rem);
  color: var(--navy-deep);
  background: linear-gradient(180deg, #0b2442 0%, #173d68 48%, #0c2748 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: .065em;
  line-height: 1.4;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,.95))
    drop-shadow(0 4px 9px rgba(15,41,71,.13));
}
.hero-title .accent{
  font-style: normal;
  color: #b3944e;
  background: linear-gradient(180deg, #dbc88e 0%, #b99a51 52%, #987331 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,.9))
    drop-shadow(0 3px 7px rgba(133,101,37,.18));
}
.hero-sub{
  color: var(--ink);
  font-family: var(--font-jp-serif);
  font-size: clamp(.94rem, .82rem + .3vw, 1.08rem);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.9;
  max-width: 680px;
  margin: 0 0 30px;
  text-shadow:
    0 1px 0 rgba(255,255,255,.95),
    0 4px 14px rgba(15,41,71,.1);
}
.hero-actions{ display: flex; justify-content: flex-start; gap: 18px; flex-wrap: wrap; }
.hero .btn-primary{
  background: linear-gradient(135deg, var(--navy-soft), var(--navy-deep));
  box-shadow: 0 14px 30px rgba(20,49,92,.28);
}
.hero .btn-ghost{ color: var(--navy); border-color: rgba(20,49,92,.55); background: rgba(255,255,255,.55); }
.hero .btn-ghost:hover{ background: var(--navy); color: var(--white); border-color: var(--navy); }

.scroll-cue{
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
  color: rgba(15,41,71,.75);
}
.scroll-cue-line{
  width: 1px;
  height: 40px;
  background: rgba(15,41,71,.35);
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after{
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: #6f9bc7;
  animation: scroll-cue-move 1.8s ease-in-out infinite;
}
@keyframes scroll-cue-move{
  0%{ top: -100%; }
  60%{ top: 100%; }
  100%{ top: 100%; }
}
.scroll-cue-text{
  font-family: var(--font-en);
  font-size: .72rem;
  letter-spacing: .3em;
}

/* ===================== ABOUT ===================== */
.about{ padding: 140px 0; background: var(--paper); }
.about-inner{
  display: grid;
  grid-template-columns: minmax(320px, 460px) 1fr;
  gap: 90px;
  align-items: center;
}
.about-visual{
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-ring{
  position: absolute;
  inset: 6%;
  border: 1.5px dashed var(--gold-soft);
  border-radius: 50%;
  animation: spin-slow 40s linear infinite;
}
@keyframes spin-slow{ to{ transform: rotate(360deg); } }
.visual-circle{
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--white), var(--cream));
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-emblem{ width: 46%; height: 46%; }

.float-card{
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 14px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  animation: float-card 6s ease-in-out infinite;
}
.float-icon{ width: 22px; height: 22px; color: var(--gold-deep); flex-shrink: 0; }
.float-icon svg{ width: 100%; height: 100%; }
.card-1{ top: 6%; right: -6%; animation-delay: 0s; }
.card-2{ bottom: 18%; left: -10%; animation-delay: -2s; }
.card-3{ bottom: -4%; right: 6%; animation-delay: -4s; }
@keyframes float-card{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-12px); }
}

.about-text{ min-width: 0; }
.about-text p{ color: var(--ink-soft); margin-bottom: 18px; }
.about-text .lead{ color: var(--navy); }

/* ===================== STRENGTHS ===================== */
.strengths{ padding: 140px 0; background: var(--cream); }
.strength-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.strength-card{
  position: relative;
  background: var(--white);
  border-radius: 22px;
  padding: 44px 32px 38px;
  box-shadow: var(--shadow-soft);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.strength-card:hover{
  transform: translateY(-10px);
  box-shadow: var(--shadow-card);
}
.strength-num{
  font-family: var(--font-en);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--gold-soft);
  line-height: 1;
}
.strength-icon{
  width: 56px; height: 56px;
  margin: 14px 0 22px;
  color: var(--navy);
}
.strength-icon svg{ width: 100%; height: 100%; }
.strength-card h3{
  font-family: var(--font-jp-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: .02em;
}
.strength-card p{ font-size: .92rem; color: var(--ink-soft); }

/* ===================== FLOW ===================== */
.flow{
  padding: 140px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  position: relative;
}
.flow .eyebrow{ display: none; }
.flow .section-title.light{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  color: var(--navy-deep);
  font-size: clamp(2rem, 1.35rem + 2vw, 3rem);
  font-weight: 500;
}
.flow .section-title.light::before,
.flow .section-title.light::after{
  content: '';
  width: clamp(46px, 7vw, 92px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.flow .section-title.light::after{
  background: linear-gradient(90deg, var(--gold), transparent);
}
.flow .section-desc.light{
  color: var(--ink);
  font-family: var(--font-jp-serif);
  letter-spacing: .05em;
}
.flow-track{
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 54px;
  align-items: stretch;
}
.flow-line{ display: none; }
.flow-line-fill{
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width .25s linear;
}
.flow-step{
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 510px;
  padding: 42px 12px 24px;
  color: var(--ink);
  background: rgba(255,255,255,.94);
  border: 1px solid #cbd7e5;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(20,49,92,.07);
}
.flow-step:not(:last-child)::after{
  content: '';
  position: absolute;
  top: 47%;
  right: -15px;
  z-index: 3;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 14px solid #c7a13f;
  filter: drop-shadow(2px 2px 2px rgba(100,75,20,.12));
}
.flow-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, #214c7f, var(--navy-deep));
  border: 0;
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 auto 20px;
  box-shadow: 0 6px 14px rgba(20,49,92,.2);
}
.flow-num::before{
  content: 'STEP';
  position: absolute;
  top: -23px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--navy);
  font-family: var(--font-jp);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.flow-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  order: 3;
  width: 100%;
  height: 138px;
  margin: 16px 0 18px;
  color: var(--navy);
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,.96) 0 28%, rgba(255,255,255,0) 62%),
    linear-gradient(145deg, #edf5fc, #dceaf6);
  border-radius: 4px;
  overflow: hidden;
}
.flow-icon img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flow-icon-contain img{
  object-fit: cover;
  transform: translateX(-2%) scale(1.08);
  transform-origin: center 55%;
}
.flow-step h3{
  order: 2;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-jp-serif);
  font-size: .96rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0;
  line-height: 1.5;
}
.flow-step p{
  order: 4;
  margin: 0;
  text-align: left;
  font-size: .76rem;
  color: var(--ink);
  line-height: 1.85;
}

.flow-note{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 1rem;
  background: linear-gradient(90deg, #fbfaf7, #f7f2e9, #fbfaf7);
  border: 1px solid #ede7da;
  border-radius: 16px;
  padding: 20px 28px;
  box-shadow: 0 8px 22px rgba(20,49,92,.05);
}
.flow-note-text{
  flex: 1;
  min-width: 0;
}
.flow-note-free{
  color: var(--gold);
  font-size: 1.35rem;
  margin-inline: .2em;
  vertical-align: baseline;
  position: relative;
  top: -.16em;
}
.flow-note-icon{ width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }
.flow-note-icon svg{ width: 100%; height: 100%; }

/* ===================== COMPANY ===================== */
.company{ padding: 140px 0; background: var(--paper); }
.company-inner{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: start;
}
.company-text{ min-width: 0; }
.company-table{
  width: 100%;
  border-collapse: collapse;
}
.company-table th, .company-table td{
  text-align: left;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.company-table th{
  width: 34%;
  font-weight: 600;
  color: var(--navy);
  font-size: .9rem;
  letter-spacing: .04em;
}
.company-table td{ color: var(--ink-soft); font-size: .92rem; }
.biz-list li{ position: relative; padding-left: 16px; margin-bottom: 6px; }
.biz-list li::before{
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.company-map{
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3.4;
  margin-top: 132px;
}
.company-map iframe{ width: 100%; height: 100%; }

/* ===================== CTA BANNER ===================== */
.cta-banner{
  padding: 90px 0;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
  text-align: center;
}
.cta-banner-inner h2{
  font-family: var(--font-jp-serif);
  color: var(--white);
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 16px;
}
.cta-banner-inner p{
  color: rgba(255,255,255,.72);
  margin-bottom: 34px;
  font-size: .95rem;
}

/* ===================== CONTACT ===================== */
.contact{ padding: 140px 0 160px; background: var(--cream); }
.contact-card{
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.contact-icon{
  width: 56px; height: 56px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg{ width: 46%; height: 46%; }
.contact-label{ color: var(--ink-soft); font-size: .88rem; margin-bottom: 8px; }
.contact-email{
  display: block;
  font-family: var(--font-en);
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 30px;
  word-break: break-all;
}

/* ===================== FOOTER ===================== */
.site-footer{ background: var(--navy-deep); color: rgba(255,255,255,.7); padding-top: 70px; }
.footer-inner{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand{ display: flex; align-items: center; gap: 14px; }
.footer-mark{
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
  filter: none;
}
.footer-brand strong{ display: block; color: var(--white); font-size: .95rem; margin-bottom: 4px; }
.footer-brand span{ font-family: var(--font-en); font-size: .78rem; letter-spacing: .05em; color: rgba(255,255,255,.5); }

.footer-nav{ display: flex; flex-direction: column; gap: 14px; }
.footer-nav a{ font-size: .88rem; transition: color .3s; }
.footer-nav a:hover{ color: var(--gold); }

.footer-info p{ font-size: .85rem; margin-bottom: 10px; line-height: 1.7; }
.footer-info a:hover{ color: var(--gold); }
.footer-group{ color: rgba(255,255,255,.5); font-size: .8rem; }

.footer-bottom{
  text-align: center;
  padding: 26px 0;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}

/* ---------- to top ---------- */
.to-top{
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(20,49,92,.35);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s;
}
.to-top.show{ opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover{ background: var(--gold-deep); }
.to-top svg{ width: 20px; height: 20px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px){
  .about-inner{ grid-template-columns: 1fr; gap: 70px; }
  .about-visual{ max-width: 420px; margin: 0 auto; }
  .strength-grid{ grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .strength-card{ padding: 34px 22px 30px; }
  .company-inner{ grid-template-columns: 1fr; gap: 48px; }
  .company-map{ aspect-ratio: 16 / 9; margin-top: 0; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
  .footer-info{ grid-column: 1 / -1; }
}

@media (max-width: 860px){
  .nav, .btn-header{ display: none; }
  .menu-btn{ display: flex; }

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

  .flow-track{ grid-template-columns: repeat(3, 1fr); row-gap: 46px; }
  .flow-line{ display: none; }
  .flow-step{ min-height: 460px; }
  .flow-step::after{ display: none; }
}

@media (max-width: 640px){
  :root{ --header-h: 68px; }
  .container{ padding: 0 18px; }
  .pc-only{ display: none; }

  .brand-text small{ display: none; }

  .hero{
    min-height: 92vh;
    padding-bottom: calc(clamp(110px, 16vh, 260px) + 20px);
    background-color: #eaf5fd;
    background-image:
      linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.86) 52%, rgba(255,255,255,.18) 100%),
      url('../assets/hero-blue-white.png');
    background-position: center, right bottom;
    background-size: cover, auto 54%;
    background-repeat: no-repeat;
  }
  .hero-content{
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    padding-bottom: 7vh;
  }
  .hero-copy{
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
  .hero-title{ margin-bottom: 18px; }
  .hero-title .line{
    font-size: clamp(1.85rem, 1.15rem + 4.4vw, 2.65rem);
    letter-spacing: .035em;
    line-height: 1.45;
  }
  .hero-sub{
    font-size: .9rem;
    line-height: 1.8;
    letter-spacing: .025em;
    margin-bottom: 26px;
  }
  .hero-actions{ flex-direction: column; align-items: stretch; }
  .hero-actions .btn{ width: 100%; }
  .hero-skyline{ height: 16vh; min-height: 110px; }

  .about, .strengths, .flow, .company, .contact{ padding: 90px 0; }
  .cta-banner{ padding: 64px 0; }

  .about-visual{ max-width: 300px; }
  .float-card{ padding: 10px 14px; font-size: .74rem; gap: 8px; border-radius: 12px; }
  .float-icon{ width: 18px; height: 18px; }
  .card-1{ right: -2%; top: 2%; }
  .card-2{ left: -4%; }
  .card-3{ right: -2%; bottom: -2%; }

  .section-head{ margin-bottom: 38px; }

  .flow-track{ grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .flow-step{ min-height: 440px; padding-inline: 14px; }
  .flow-icon{ height: 118px; }
  .flow-note{
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: .9rem;
    padding: 20px 18px 22px;
  }
  .flow-note-text{
    flex: none;
    width: 100%;
    line-height: 1.9;
  }
  .flow-note-free{
    font-size: 1.2rem;
    top: -.06em;
  }

  .company-table th{ width: 30%; font-size: .82rem; }
  .company-table td{ font-size: .86rem; }
  .company-table th, .company-table td{ padding: 14px 0; }

  .contact-card{ padding: 44px 24px; }
  .contact-email{ font-size: 1.08rem; }

  .footer-inner{ grid-template-columns: 1fr; text-align: center; }
  .footer-brand{ flex-direction: column; }
  .footer-nav{ align-items: center; }

  .to-top{ right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

@media (max-width: 400px){
  .flow-track{ grid-template-columns: 1fr; }
  .flow-step{ min-height: 0; }
  .hero-title .line{ font-size: clamp(1.6rem, 1.2rem + 4vw, 2.2rem); }
}
