/* =========================================================
   Sea Next Home — base styles
   Brand palette derived from logo:
     --sky:  #4BA3D4  (primary sky blue)
     --deep: #1B6FAD  (dark accent / CTA)
     --ink:  #0E1B26  (near-black, navy-tinted)
   ========================================================= */

:root {
  --sky:  #4BA3D4;
  --sky-soft: #E6F2FA;
  --sky-tint: #F5FAFD;
  --deep: #1B6FAD;
  --deep-2: #134f7e;
  --ink:  #0E1B26;
  --ink-2: #38505F;
  --muted: #6B7C88;
  --line: #E3E8EC;
  --line-2: #EEF2F5;
  --bg: #ffffff;
  --bg-2: #F7F9FB;
  --gold: #C8A35A;

  --maxw: 1240px;
  --maxw-wide: 1440px;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(14,27,38,.04), 0 2px 6px rgba(14,27,38,.04);
  --shadow:    0 6px 24px -8px rgba(14,27,38,.18), 0 2px 6px rgba(14,27,38,.05);
  --shadow-lg: 0 24px 60px -20px rgba(14,27,38,.30);

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;
  --font-num: "Cormorant Garamond", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; filter: brightness(1.08) saturate(1.1); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* utilities */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 30px; }

/* ============================== HEADER ============================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw-wide); margin: 0 auto;
  padding: 10px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  min-height: 100px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(140deg, var(--sky) 0%, var(--deep) 100%);
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-en);
  font-size: 28px; font-weight: 600; letter-spacing: -.02em;
  box-shadow: 0 4px 14px -4px rgba(27,111,173,.5);
  position: relative;
  overflow: hidden;
}
.logo-mark::before {
  content: ""; position: absolute; inset: auto -10% -40% -10%;
  height: 60%; background: rgba(255,255,255,.18);
  transform: rotate(-8deg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.logo-mark span { position: relative; }
.logo-text { line-height: 1.15; }
.logo-text .jp { display: block; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.logo-text .en { display: block; font-family: var(--font-en); font-size: 22px; font-weight: 500; letter-spacing: .01em; color: var(--deep); }

.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: 1; min-width: 0; }
.header-cta { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 20px; height: 46px;
  border-radius: var(--radius);
  font-weight: 700; font-size: 14px; white-space: nowrap;
  border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-tel {
  background: #fff; color: var(--deep);
  border: 1.5px solid var(--deep);
}
.btn-tel:hover { background: var(--sky-soft); }
.btn-tel .tel-num { font-family: var(--font-jp); font-size: 16px; font-weight: 700; letter-spacing: .02em; }

.btn-cta {
  background: var(--ink); color: #fff;
  box-shadow: 0 4px 14px -4px rgba(14,27,38,.4);
}
.btn-cta:hover { background: var(--deep); }

.btn-ig-icon {
  width: 46px; height: 46px; padding: 0;
  border-radius: var(--radius);
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff; display: grid; place-items: center;
}

/* Wide Instagram button (used in mobile drawer) — matches contact button layout */
.btn-ig-wide {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  font-weight: 700; font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}
.btn-ig-wide:hover { transform: translateY(-1px); }
.btn-ig-wide svg { color: #fff; flex-shrink: 0; }
.btn-ig-wide span { color: #fff; }

/* nav (lower row) */
.nav { display: flex; align-items: center; gap: 40px; }
.nav-link {
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.nav-link .en {
  font-family: var(--font-en); font-size: 17px; font-weight: 500;
  color: var(--deep); letter-spacing: .02em; line-height: 1;
}
.nav-link .jp {
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  color: var(--muted); margin-top: 4px;
}
.nav-link::after {
  content: ""; position: absolute; bottom: -4px; left: 50%;
  width: 0; height: 2px; background: var(--sky);
  transition: width .25s ease, left .25s ease;
}
.nav-link:hover::after { width: 100%; left: 0; }
.nav-link:hover .en { color: var(--sky); }

/* Menu toggle (mobile) */
.menu-toggle {
  display: none; background: none; border: none;
  width: 48px; height: 48px; cursor: pointer;
  color: var(--ink);
}
.menu-toggle svg { width: 32px; height: 32px; }

/* spacer so fixed header doesn't cover hero */
.header-spacer { height: 100px; }

/* ============================== HERO ============================== */
.hero {
  position: relative;
  height: calc(100vh - 100px);
  min-height: 560px;
  max-height: 780px;
  overflow: hidden;
  background: #0a1620;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
  filter: brightness(1.08) saturate(1.1);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,22,32,.25) 0%, rgba(10,22,32,.1) 40%, rgba(10,22,32,.55) 100%),
    linear-gradient(90deg, rgba(27,111,173,.35) 0%, rgba(10,22,32,.0) 60%);
}
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 0; top: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 8% 0 8%;
  color: #fff;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 18px; letter-spacing: .35em; font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: rgba(255,255,255,.85);
}
.hero-eyebrow::before {
  content: ""; display: inline-block; width: 48px; height: 1px;
  background: rgba(255,255,255,.7);
  vertical-align: middle; margin-right: 16px;
}
.hero-headline {
  font-size: clamp(28px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .01em;
  margin: 0;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
  max-width: 900px;
}
.hero-headline .accent {
  display: inline-block;
  background: linear-gradient(180deg, transparent 65%, rgba(75,163,212,.7) 65%);
  padding: 0 4px;
}
.hero-sub {
  margin-top: 20px;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(255,255,255,.9);
}
.hero-dots {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.hero-dot {
  width: 30px; height: 3px; background: rgba(255,255,255,.4);
  border: none; padding: 0; cursor: pointer;
  transition: background .25s;
}
.hero-dot.is-active { background: #fff; }
.hero-scroll {
  position: absolute; right: 30px; bottom: 0; z-index: 3;
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 12px; letter-spacing: .3em;
  color: rgba(255,255,255,.8);
  padding-bottom: 80px;
}
.hero-scroll::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 1px; height: 60px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), transparent);
  animation: scroll-line 2.2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* placeholder image (striped) for hero/photos */
.img-placeholder {
  position: relative;
  background: repeating-linear-gradient(
    135deg,
    #cfd9e0 0px, #cfd9e0 12px,
    #dee5ea 12px, #dee5ea 24px
  );
  display: grid; place-items: center;
  overflow: hidden;
  color: #4b5d68;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: .05em;
}
.img-placeholder.tone-sky {
  background: repeating-linear-gradient(
    135deg,
    #cfe2ee 0px, #cfe2ee 14px,
    #b9d4e6 14px, #b9d4e6 28px
  );
  color: #1B6FAD;
}
.img-placeholder.tone-warm {
  background: repeating-linear-gradient(
    135deg,
    #e8dec9 0px, #e8dec9 14px,
    #d6c8a8 14px, #d6c8a8 28px
  );
  color: #6b5328;
}
.img-placeholder.tone-dark {
  background:
    linear-gradient(rgba(14,27,38,.35), rgba(14,27,38,.55)),
    repeating-linear-gradient(135deg, #355068 0px, #355068 14px, #28415a 14px, #28415a 28px);
  color: rgba(255,255,255,.85);
}
.img-placeholder .ph-label {
  background: rgba(255,255,255,.85);
  color: #2a3a45;
  padding: 6px 10px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,.05);
  font-weight: 500;
}

/* hero placeholder slides */
.hero-slide.ph-1 {
  background:
    linear-gradient(110deg, rgba(20,40,60,.4) 0%, rgba(75,163,212,.25) 100%),
    repeating-linear-gradient(135deg, #6e8ea3 0px, #6e8ea3 18px, #5d7d92 18px, #5d7d92 36px);
}
.hero-slide.ph-2 {
  background:
    linear-gradient(110deg, rgba(60,80,40,.35) 0%, rgba(27,111,173,.35) 100%),
    repeating-linear-gradient(135deg, #8a9c79 0px, #8a9c79 18px, #758a64 18px, #758a64 36px);
}
.hero-slide.ph-3 {
  background:
    linear-gradient(110deg, rgba(80,50,30,.35) 0%, rgba(75,163,212,.25) 100%),
    repeating-linear-gradient(135deg, #a08b6c 0px, #a08b6c 18px, #8a755a 18px, #8a755a 36px);
}

/* ============================== SECTIONS ============================== */
section { padding: 100px 0; scroll-margin-top: 110px; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  font-family: var(--font-en);
  font-size: 14px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--sky);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6;
}
.section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: .04em;
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.4;
}
.section-title .num {
  font-family: var(--font-en);
  color: var(--sky); font-weight: 500;
  margin-right: 12px; font-size: .85em;
}
.section-lead {
  color: var(--muted); font-size: 15px; max-width: 640px; margin: 0 auto;
}

/* ============================== SERVICES ============================== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 27px 28px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--deep));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--font-en);
  font-size: 44px; font-weight: 500;
  color: var(--sky);
  line-height: 1;
  letter-spacing: -.02em;
}
.service-icon {
  width: 56px; height: 56px;
  margin-top: -34px; margin-left: auto;
  background: var(--sky-soft);
  color: var(--deep);
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
}
.service-row { display: flex; align-items: flex-start; justify-content: space-between; }
.service-title {
  font-size: 20px; font-weight: 800;
  margin: 24px 0 12px;
  letter-spacing: .04em;
}
.service-desc {
  font-size: 13.5px; color: var(--ink-2); line-height: 1.85;
}

/* ============================== FLOW ============================== */
.flow-bg { background: var(--bg-2); }
.flow-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.flow-grid > *:nth-child(5) { grid-column: 1 / 2; }
.flow-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.flow-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.flow-step {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  padding: 4px 14px; border-radius: 999px;
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: .12em; font-weight: 500;
  margin-bottom: 18px;
}
.flow-step .num { color: var(--sky); font-weight: 700; font-size: 15px; }
.flow-icon {
  width: 72px; height: 72px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sky-soft);
  display: grid; place-items: center;
  color: var(--deep);
}
.flow-icon svg { width: 34px; height: 34px; }
.flow-title {
  font-size: 17px; font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: .04em;
}
.flow-desc {
  font-size: 13px; color: var(--ink-2); line-height: 1.8;
  text-align: left;
}

/* divider + detail link */
.flow-divider {
  margin: 64px 0 32px;
  display: flex; align-items: center; gap: 24px;
}
.flow-divider .line {
  flex: 1; height: 1px; background: var(--line);
}
.flow-divider .label {
  font-family: var(--font-en); font-size: 13px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--muted);
}

.flow-detail-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 32px;
  background: #fff;
  border: 1.5px solid var(--deep);
  color: var(--deep);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, color .2s, gap .2s;
}
.flow-detail-link:hover { background: var(--deep); color: #fff; gap: 16px; }
.flow-detail-link.is-open { background: var(--deep); color: #fff; }
.flow-detail-link.is-open:hover { background: var(--deep-2); }
.flow-detail-link-wrap { text-align: center; margin-top: 28px; }

/* close button inside the detail panel */
.flow-detail-close-wrap {
  margin-top: 36px;
  text-align: center;
}
.flow-detail-close {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: #fff;
  border: 1.5px solid var(--deep);
  color: var(--deep);
  border-radius: 999px;
  font-weight: 700; font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
}
.flow-detail-close:hover {
  background: var(--deep); color: #fff;
  transform: translateY(-1px);
}

/* detail 17 steps */
.flow-detail-section { background: #fff; padding-top: 0; }
.flow-detail-wrap {
  max-width: 960px; margin: 0 auto;
  background: linear-gradient(180deg, var(--sky-tint) 0%, #fff 100%);
  border-radius: 24px;
  padding: 60px 56px;
  border: 1px solid var(--line);
}
.flow-detail-head { text-align: center; margin-bottom: 40px; }
.flow-detail-head h3 {
  font-size: 24px; font-weight: 800; letter-spacing: .04em;
  margin: 0;
}
.flow-detail-head .eng {
  font-family: var(--font-en); font-size: 14px; letter-spacing: .3em;
  color: var(--sky); text-transform: uppercase;
  display: block; margin-bottom: 8px;
}
.flow-detail-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  list-style: none; padding: 0; margin: 0;
  counter-reset: detail;
  position: relative;
}
.flow-detail-list li {
  counter-increment: detail;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
  font-weight: 500;
}
.flow-detail-list li::before {
  content: counter(detail, decimal-leading-zero);
  font-family: var(--font-en);
  font-size: 22px; font-weight: 500;
  color: var(--sky);
  min-width: 36px;
}
.flow-period {
  text-align: center; margin-top: 28px;
  font-size: 13px; color: var(--muted);
}

/* ============================== STRENGTHS ============================== */
.strengths-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.strength-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: grid; grid-template-columns: 90px 1fr;
  gap: 28px;
  align-items: start;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.strength-card::after {
  content: attr(data-num);
  position: absolute; right: 24px; top: 8px;
  font-family: var(--font-en);
  font-size: 90px; font-weight: 500;
  color: var(--sky-soft);
  line-height: 1;
  pointer-events: none;
}
.strength-icon {
  width: 90px; height: 90px;
  border-radius: 22px;
  background: linear-gradient(140deg, var(--sky), var(--deep));
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 12px 24px -8px rgba(27,111,173,.45);
}
.strength-icon svg { width: 42px; height: 42px; }
.strength-title {
  font-size: 22px; font-weight: 800; letter-spacing: .04em;
  margin: 0 0 12px;
  color: var(--ink);
  position: relative; z-index: 1;
}
.strength-body {
  font-size: 14px; color: var(--ink-2); line-height: 1.9;
  margin: 0;
  position: relative; z-index: 1;
}

/* ============================== BEFORE/AFTER ============================== */
.ba-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ba-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.ba-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ba-pair {
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative;
}
.ba-photo {
  aspect-ratio: 1 / 1;
  position: relative;
}
.ba-label {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px;
  background: rgba(14,27,38,.78);
  color: #fff;
  font-family: var(--font-en);
  font-size: 11px; font-weight: 600; letter-spacing: .25em;
  border-radius: 3px;
}
.ba-photo.after .ba-label {
  background: var(--deep);
}
.ba-arrow {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  background: #fff;
  color: var(--deep);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px -4px rgba(0,0,0,.2);
  z-index: 2;
}
.ba-caption {
  padding: 16px 20px;
  font-size: 13px; color: var(--ink-2);
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line);
}
.ba-caption strong { font-size: 14px; color: var(--ink); font-weight: 700; }
.ba-caption .tag {
  font-size: 11px; padding: 3px 10px;
  background: var(--sky-soft); color: var(--deep);
  border-radius: 999px; font-weight: 600;
}

/* ============================== REVIEWS ============================== */
.review-bg { background: var(--bg-2); }
.review-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  gap: 20px;
}
.review-card::before {
  content: '"';
  position: absolute; top: -20px; right: 24px;
  font-family: var(--font-en);
  font-size: 160px; line-height: 1;
  color: var(--sky-soft);
  font-weight: 600;
  pointer-events: none;
}
.review-quote {
  font-size: 22px; font-weight: 800;
  line-height: 1.55;
  color: var(--deep);
  letter-spacing: .02em;
  margin: 0;
  position: relative; z-index: 1;
}
.review-meta {
  display: flex; align-items: center; gap: 14px;
}
.review-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--sky), var(--deep));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 18px;
  flex-shrink: 0;
}
.review-who { flex: 1; }
.review-who .name {
  font-size: 14px; font-weight: 700;
}
.review-who .type {
  font-size: 12px; color: var(--muted);
}
.review-stars {
  color: #FFB400; font-size: 14px; letter-spacing: 2px;
}
.review-body {
  font-size: 13.5px; color: var(--ink-2); line-height: 1.95;
  margin: 0;
}

/* ============================== INSTAGRAM ============================== */
.ig-section { background: #fff; overflow: hidden; }
.ig-track-wrap {
  margin: 0 -30px 40px;
  overflow: hidden;
  position: relative;
}
.ig-track-wrap::before, .ig-track-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px;
  z-index: 3; pointer-events: none;
}
.ig-track-wrap::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.ig-track-wrap::after  { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.ig-track {
  display: flex; gap: 16px;
  animation: ig-scroll 40s linear infinite;
  width: max-content;
}
.ig-track:hover { animation-play-state: paused; }
.ig-card {
  width: 280px; aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.ig-card .img-placeholder { width: 100%; height: 100%; }
.ig-overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 12px 14px 10px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
  color: #fff;
  font-size: 11px; letter-spacing: .08em;
  display: flex; justify-content: space-between; align-items: end;
  opacity: 0; transition: opacity .25s;
}
.ig-card:hover .ig-overlay { opacity: 1; }
@keyframes ig-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50%)); }
}

.ig-cta-block {
  text-align: center;
  max-width: 520px; margin: 0 auto;
  padding: 32px 24px 0;
}
.ig-cta-icon {
  width: 56px; height: 56px;
  margin: 0 auto 6px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--ink);
}
.ig-cta-label {
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.ig-cta-text {
  font-size: 16px; font-weight: 600;
  margin: 0 0 24px;
}
.ig-cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 36px;
  background: linear-gradient(90deg, #fcaf45 0%, #e1306c 50%, #833ab4 100%);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 24px -8px rgba(225,48,108,.5);
  transition: transform .2s, box-shadow .2s;
}
.ig-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(225,48,108,.6); }

/* ============================== FAQ ============================== */
.faq-bg { background: var(--bg-2); }
.faq-list {
  max-width: 880px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item.is-open { box-shadow: var(--shadow); }
.faq-q {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 28px;
  cursor: pointer;
  background: none; border: none; width: 100%;
  text-align: left;
  font-size: 16px; font-weight: 700;
  color: var(--ink);
}
.faq-q .qmark {
  font-family: var(--font-en);
  font-size: 26px; font-weight: 500;
  color: var(--sky);
  flex-shrink: 0;
}
.faq-q .qtext { flex: 1; }
.faq-q .chev {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--deep);
  display: grid; place-items: center;
  transition: transform .25s, background .25s;
  flex-shrink: 0;
}
.faq-item.is-open .faq-q .chev {
  transform: rotate(180deg);
  background: var(--deep);
  color: #fff;
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.is-open .faq-a { max-height: 320px; }
.faq-a-inner {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 0 28px 24px 28px;
  border-top: 1px solid var(--line-2);
  padding-top: 22px;
}
.faq-a-inner .amark {
  font-family: var(--font-en);
  font-size: 26px; font-weight: 500;
  color: var(--gold);
  flex-shrink: 0;
}
.faq-a-inner p {
  margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.95;
}

/* ============================== MESSAGE ============================== */
.message-grid {
  display: grid; grid-template-columns: minmax(320px, 1fr) 1.4fr;
  gap: 56px;
  align-items: center;
}
.message-portrait-wrap {
  position: relative;
}
.message-portrait {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.message-portrait .img-placeholder { width: 100%; height: 100%; }
.message-portrait-wrap::before {
  content: "";
  position: absolute; left: -16px; top: -16px;
  width: 100%; height: 100%;
  background: linear-gradient(140deg, var(--sky), var(--deep));
  border-radius: 20px;
  z-index: 0;
}
.message-portrait-tag {
  position: absolute; bottom: 24px; left: 24px; z-index: 2;
  background: rgba(255,255,255,.95);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}
.message-portrait-tag .role {
  font-family: var(--font-en); font-size: 11px; letter-spacing: .25em;
  color: var(--sky); display: block; margin-bottom: 2px;
}
.message-portrait-tag .name { font-weight: 800; font-size: 16px; letter-spacing: .04em; }

.message-eyebrow {
  font-family: var(--font-en);
  font-size: 14px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 14px;
}
.message-title {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: .04em;
  margin: 0 0 28px;
  line-height: 1.5;
}
.message-body p {
  font-size: 15px; color: var(--ink-2); line-height: 2;
  margin: 0 0 16px;
}
.message-sign {
  margin-top: 28px;
  display: flex; align-items: center; gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
.message-sign .name {
  font-family: var(--font-en); font-size: 22px;
  color: var(--ink); font-weight: 500;
  letter-spacing: .02em;
}

/* ============================== COMPANY ============================== */
.company-bg { background: var(--bg-2); }
.company-table {
  max-width: 760px; margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.company-row {
  display: grid; grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--line);
}
.company-row:last-child { border-bottom: none; }
.company-row dt {
  padding: 18px 28px;
  background: var(--sky-tint);
  font-size: 13px; font-weight: 700;
  color: var(--deep);
  letter-spacing: .06em;
  display: flex; align-items: center;
}
.company-row dd {
  padding: 18px 28px;
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  word-break: break-all;
  overflow-wrap: break-word;
  min-width: 0;
}

/* ============================== CONTACT ============================== */
.contact-section { background: var(--ink); color: #fff; }
.contact-section .section-title { color: #fff; }
.contact-section .section-eyebrow { color: var(--sky); }
.contact-section .section-lead { color: rgba(255,255,255,.7); }

.contact-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.contact-channels {
  display: flex; flex-direction: column; gap: 16px;
}

/* Centered single-column variant used when there's no form alongside */
.contact-channels-center {
  display: flex; flex-direction: column; gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}
.contact-channel {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 28px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  transition: background .2s, border-color .2s, transform .2s;
}
.contact-channel:hover {
  background: rgba(75,163,212,.12);
  border-color: var(--sky);
  transform: translateX(4px);
}
.contact-channel .ic {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--sky), var(--deep));
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-channel.ig .ic {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.contact-channel .lbl {
  font-family: var(--font-en); font-size: 12px; letter-spacing: .25em;
  color: var(--sky);
  text-transform: uppercase;
}
.contact-channel.ig .lbl { color: #f29b56; }
.contact-channel .val {
  font-size: 22px; font-weight: 700;
  letter-spacing: .02em;
  font-family: var(--font-jp);
}
.contact-channel .sub {
  font-size: 12px; color: rgba(255,255,255,.6);
  margin-top: 2px;
}

.contact-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.contact-form h3 {
  font-size: 18px; margin: 0 0 20px;
  letter-spacing: .06em;
  display: flex; align-items: center; gap: 10px;
}
.contact-form h3::before {
  content: ""; width: 24px; height: 2px; background: var(--sky);
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 12px; font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.8);
}
.form-row label .req {
  color: #ff9aa5; margin-left: 4px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  padding: 12px 14px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color .2s, background .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: rgba(255,255,255,.1);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  background: linear-gradient(90deg, var(--sky), var(--deep));
  color: #fff; border: none; border-radius: 8px;
  font-weight: 700; font-size: 15px; letter-spacing: .08em;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 10px 24px -8px rgba(75,163,212,.5);
}
.form-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(75,163,212,.6); }

/* ============================== FOOTER ============================== */
.footer {
  background: #08111a;
  color: rgba(255,255,255,.7);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-text .jp { color: #fff; }
.footer-brand .logo-text .en { color: var(--sky); }
.footer-brand p {
  font-size: 13px;
  line-height: 1.9;
  margin: 16px 0 0;
  max-width: 340px;
}
.footer-col h4 {
  font-size: 12px; letter-spacing: .2em;
  color: var(--sky);
  margin: 0 0 16px;
  font-family: var(--font-en);
  text-transform: uppercase;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-col a:hover { color: var(--sky); }
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.5);
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-links {
  display: inline-flex; align-items: center; gap: 24px;
}
.footer-privacy-link {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  transition: color .2s;
  position: relative;
}
.footer-privacy-link::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px; background: currentColor;
  opacity: .35;
  transition: opacity .2s;
}
.footer-privacy-link:hover { color: var(--sky); }
.footer-privacy-link:hover::after { opacity: 1; }
.footer-region {
  font-family: var(--font-en);
  letter-spacing: .2em;
  font-size: 11px;
  color: rgba(255,255,255,.5);
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.footer-socials a:hover { background: var(--sky); color: #fff; transform: translateY(-2px); }

/* ============================== MOBILE DRAWER ============================== */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  background: #fff;
  z-index: 201;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.65,0,.35,1);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px -20px rgba(0,0,0,.3);
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.drawer-close {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
  flex-shrink: 0;
  transition: background .2s, color .2s, transform .15s;
}
.drawer-close:hover {
  background: var(--ink);
  color: #fff;
  transform: rotate(90deg);
}
.drawer-nav { padding: 12px 22px; flex: 1; overflow-y: auto; }
.drawer-nav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 15px;
  font-weight: 700;
}
.drawer-nav a .en { display: block; font-family: var(--font-en); font-size: 12px; color: var(--sky); letter-spacing: .2em; font-weight: 500; margin-bottom: 2px; }
.drawer-cta { padding: 16px 22px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.drawer-cta .btn { width: 100%; justify-content: center; }

/* ============================== TWEAKS NOTE ============================== */
[data-theme="seabreeze"] { /* set via JS */ }
[data-theme="navy"] { --sky: #5DA8DF; --deep: #0A3A6B; --sky-soft: #E5EEF7; --sky-tint: #F4F8FC; --ink: #061322; }
[data-theme="ocean"] { --sky: #38B6CA; --deep: #0F5B72; --sky-soft: #E1F2F6; --sky-tint: #F2F9FB; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .header-cta { display: none; }
  .nav { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .header-inner { min-height: 72px; padding: 8px 18px; }
  .logo-mark { width: 44px; height: 44px; font-size: 22px; border-radius: 10px; }
  .logo-text .jp { font-size: 12px; }
  .logo-text .en { font-size: 18px; }
  .header-spacer { height: 72px; }
  section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }

  .strengths-grid { grid-template-columns: 1fr; }
  .strength-card { padding: 28px 22px; gap: 20px; grid-template-columns: 70px 1fr; }
  .strength-card::after { font-size: 60px; opacity: .5; }
  .strength-icon { width: 70px; height: 70px; }

  .review-grid { grid-template-columns: 1fr; }
  .review-card { padding: 28px 22px; }
  .review-quote { font-size: 18px; }

  .message-grid { grid-template-columns: 1fr; gap: 36px; }
  .message-portrait-wrap::before { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  .flow-detail-wrap { padding: 36px 22px; }
  .flow-detail-list { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 14px; }

  .company-row { grid-template-columns: 120px 1fr; }
  .company-row dt, .company-row dd { padding: 14px 18px; font-size: 13px; }

  .hero-eyebrow { font-size: 14px; margin-bottom: 16px; }
  .hero-eyebrow::before { width: 32px; }
  .hero-copy { padding: 0 24px; }
  .hero-scroll { display: none; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .container, .container-wide { padding: 0 18px; }
  .ig-card { width: 200px; }

  /* スマホ版フォントサイズ調整 */
  .section-title { font-size: 32px; }
  .section-lead { font-size: 16px; }

  /* カード見出し */
  .strength-title,
  .service-title,
  .flow-title { font-size: 24px; }

  /* 本文 */
  .strength-body,
  .service-desc,
  .flow-desc,
  .review-body,
  .faq-q,
  .faq-a-inner p,
  .message-body p,
  .company-row dd { font-size: 18px; }

  /* 本文サブテキスト */
  .company-row dt,
  .contact-channel .sub,
  .footer-brand p,
  .footer-col a { font-size: 16px; }
}
