
:root {
  --ink: #0a0e1a;
  --ink-deep: #060912;
  --ink-soft: #1a1f2e;
  --paper: #f5f1e8;
  --paper-warm: #ede6d3;
  --paper-deep: #e3dac3;
  --gold: #b08d4f;
  --gold-bright: #d4b06a;
  --gold-deep: #8a6d3b;
  --crimson: #7a2828;
  --line: rgba(176, 141, 79, 0.3);
  --line-strong: rgba(176, 141, 79, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.85;
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
  overflow-x: hidden;
}

/* ============= TOP BAR ============= */
.top-bar {
  background: var(--ink-deep);
  color: var(--paper);
  font-size: 15px;
  letter-spacing: 0.2em;
  padding: 8px 0;
  border-bottom: 1px solid var(--gold-deep);
}
.top-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left { color: var(--gold-bright); font-family: 'Cormorant Garamond', serif; letter-spacing: 0.3em; }
.top-bar-right { display: flex; gap: 32px; }
.top-bar-right span { opacity: 0.85; }
.top-bar-right .tel { color: var(--gold-bright); font-weight: 500; }

/* ============= HEADER ============= */
header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(245, 241, 232, 0.96);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.logo-mark::before {
  content: 'S';
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-bright);
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid var(--gold-bright);
  pointer-events: none;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--ink);
}
.logo-text-jp {
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold-deep);
  margin-top: 4px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}
nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0.2em;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
nav a:hover { color: var(--gold-deep); }
nav a:hover::after { width: 100%; }
nav .en { font-family: 'Cormorant Garamond', serif; font-size: 15px; color: var(--gold-deep); display: block; letter-spacing: 0.25em; margin-bottom: 2px; font-style: italic; }

.contact-btn {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  letter-spacing: 0.25em !important;
  border: 1px solid var(--ink);
  transition: all 0.3s;
}
.contact-btn:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}
.contact-btn::after { display: none; }

/* ============= HERO ============= */
.hero {
  background: var(--ink-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
/* Background image layer - classical architecture */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/main.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.05);
  animation: heroBgZoom 20s ease-out forwards;
}
@keyframes heroBgZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1.0); }
}
/* Dark gradient overlay for text legibility */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(6,9,18,0.95) 0%, rgba(10,14,26,0.85) 35%, rgba(10,14,26,0.65) 60%, rgba(6,9,18,0.85) 100%),
    radial-gradient(ellipse at 20% 30%, rgba(176,141,79,0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(122,40,40,0.10) 0%, transparent 55%);
  z-index: 1;
}
/* Subtle scanline texture for film-like depth */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.012) 2px, rgba(255,255,255,0.012) 4px);
  pointer-events: none;
  z-index: 2;
}
.hero > .hero-inner,
.hero > .hero-grid-decoration,
.hero > .scroll-indicator { z-index: 3; position: relative; }

.hero-grid-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
}
.hero-grid-decoration::before,
.hero-grid-decoration::after {
  content: '';
  position: absolute;
  background: var(--gold-deep);
}
.hero-grid-decoration::before {
  top: 10%;
  left: 8%;
  width: 1px;
  height: 80%;
  opacity: 0.3;
}
.hero-grid-decoration::after {
  top: 50%;
  right: 8%;
  width: 80px;
  height: 1px;
  opacity: 0.5;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: 0.4em;
  color: var(--gold-bright);
  margin-bottom: 40px;
  text-transform: uppercase;
  font-style: italic;
}
.hero-eyebrow::before {
  content: '';
  width: 50px;
  height: 1px;
  background: var(--gold-bright);
}

.hero h1 {
  font-size: clamp(44px, 6vw, 54px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 48px;
  color: var(--paper);
}
.hero h1 .gold {
  color: var(--gold-bright);
  font-style: italic;
  font-family: 'Cormorant Garamond', 'Shippori Mincho', serif;
  font-weight: 500;
}
.hero h1 .vertical-line {
  display: inline-block;
  width: 1px;
  height: 0.8em;
  background: var(--gold);
  margin: 0 0.4em;
  vertical-align: middle;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--gold-bright);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-desc {
  font-size: 18px;
  line-height: 2.1;
  color: rgba(245, 241, 232, 0.78);
  max-width: 950px;
  margin-bottom: 56px;
  letter-spacing: 0.06em;
}

.hero-cta-group { display: flex; gap: 20px; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
  text-decoration: none;
  padding: 18px 40px;
  font-size: 16px;
  letter-spacing: 0.3em;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  transition: all 0.4s;
  position: relative;
}
.btn-primary {
  background: var(--gold-bright);
  color: var(--ink-deep);
  border: 1px solid var(--gold-bright);
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold-bright);
}
.btn-secondary {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(245,241,232,0.3);
}
.btn-secondary:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}
.btn-arrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
}

/* Hero side stats */
.hero-side {
  border-left: 1px solid rgba(176,141,79,0.25);
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero-stat-block {
  position: relative;
}
.hero-stat-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--gold-bright);
  margin-bottom: 8px;
  text-transform: uppercase;
  font-style: italic;
}
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 75px;
  line-height: 1;
  font-weight: 400;
  color: var(--paper);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.hero-stat-unit {
  font-size: 18px;
  letter-spacing: 0.15em;
  color: rgba(245,241,232,0.7);
  font-family: 'Shippori Mincho', serif;
}
.hero-stat-desc {
  font-size: 16px;
  letter-spacing: 0.2em;
  color: rgba(245,241,232,0.6);
  margin-top: 10px;
}

/* hero scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold-bright);
  text-transform: uppercase;
  opacity: 0.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold-bright), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.5); transform-origin: top; }
}

/* ============= SECTION COMMON ============= */
section { padding: 140px 0; position: relative; }
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

.section-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.5em;
  color: var(--gold-deep);
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold-deep);
}
.section-title {
  font-size: clamp(32px, 4.5vw, 35px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  color: var(--ink);
}
.section-title .gold { color: var(--gold-deep); font-style: italic; font-family: 'Cormorant Garamond', 'Shippori Mincho', serif; }

/* ============= MISSION SECTION ============= */
.mission {
  background: var(--paper);
  position: relative;
}
.mission::before {
  content: 'PHILOSOPHY';
  position: absolute;
  top: 80px;
  right: -20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 180px;
  letter-spacing: 0.2em;
  color: rgba(176,141,79,0.06);
  font-weight: 300;
  pointer-events: none;
  font-style: italic;
}
.mission-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.mission-quote {
  font-size: clamp(28px, 3.2vw, 15px);
  line-height: 1.7;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--gold);
}
.mission-quote .gold { color: var(--gold-deep); }
.mission-text { font-size: 17px; line-height: 2.2; color: rgba(10,14,26,0.8); }
.mission-text p { margin-bottom: 24px; }
.mission-signature {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 20px;
}
.signature-mark {
  width: 50px;
  height: 50px;
  background: unset !important;
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.signature-text { line-height: 1.5; }
.signature-role { font-size: 15px; letter-spacing: 0.3em; color: var(--gold-deep); }
.signature-name { font-size: 18px; font-weight: 600; letter-spacing: 0.1em; }

/* ============= ACHIEVEMENT NUMBERS ============= */
.achievements {
  background: var(--ink-deep);
  color: var(--paper);
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.achievements::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.achievements::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.achievements-header {
  text-align: center;
  margin-bottom: 80px;
}
.achievements-header .section-eyebrow {
  color: var(--gold-bright);
  justify-content: center;
}
.achievements-header .section-eyebrow::before { background: var(--gold-bright); }
.achievements-header .section-title { color: var(--paper); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(176,141,79,0.2);
  border-bottom: 1px solid rgba(176,141,79,0.2);
}
.stat-item {
  padding: 56px 32px;
  text-align: center;
  border-right: 1px solid rgba(176,141,79,0.2);
  position: relative;
  transition: background 0.4s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(176,141,79,0.05); }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  line-height: 1;
  color: var(--gold-bright);
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.stat-num .small { font-size: 36px; vertical-align: top; }
.stat-num .plus { font-size: 36px; }
.stat-divider {
  width: 30px;
  height: 1px;
  background: var(--gold-bright);
  margin: 16px auto;
  opacity: 0.5;
}
.stat-label {
  font-size: 15px;
  letter-spacing: 0.25em;
  color: var(--paper);
  font-weight: 500;
}
.stat-sublabel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold-bright);
  text-transform: uppercase;
  font-style: italic;
  margin-top: 6px;
  opacity: 0.7;
}

/* ============= STRENGTHS ============= */
.strengths {
  background: var(--paper-warm);
  position: relative;
}
.strengths-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.strengths-intro {
  font-size: 17px;
  line-height: 2.1;
  color: rgba(10,14,26,0.75);
  padding-bottom: 12px;
}

.strength-list { display: flex; flex-direction: column; }
.strength-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background 0.4s;
  position: relative;
}
.strength-item:last-child { border-bottom: 1px solid var(--line); }

.strength-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  font-style: italic;
  padding-top: 8px;
}
.strength-num span {
  display: block;
  font-size: 48px;
  font-style: normal;
  letter-spacing: 0;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 400;
}
.strength-content h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  line-height: 1.5;
}
.strength-content h3 .gold { color: var(--gold-deep); font-style: italic; font-family: 'Cormorant Garamond', 'Shippori Mincho', serif; }
.strength-content p {
  font-size: 17px;
  line-height: 2;
  color: rgba(10,14,26,0.75);
  margin-bottom: 16px;
}
.strength-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.strength-tag {
  background: var(--paper);
  color: var(--gold-deep);
  padding: 6px 14px;
  font-size: 14px;
  letter-spacing: 0.15em;
  border: 1px solid var(--line);
}
.strength-icon {
  width: 80px;
  height: 80px;
  border: 1px solid var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.strength-icon::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid var(--gold);
  opacity: 0.5;
}
.strength-icon svg { width: 36px; height: 36px; stroke: var(--gold-deep); fill: none; stroke-width: 1.2; }

/* ============= CASE TYPES ============= */
.cases {
  background: var(--paper);
  position: relative;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 60px;
}
.case-card {
  background: var(--paper);
  padding: 48px 36px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.5s;
}
.case-card:hover::before { width: 100%; }
.case-card:hover { background: var(--paper-warm); }

.case-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  font-style: italic;
  margin-bottom: 24px;
}
.case-card h4 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  line-height: 1.5;
}
.case-card p {
  font-size: 15px;
  line-height: 1.95;
  color: rgba(10,14,26,0.7);
}

/* ============= COVERAGE ============= */
.coverage {
  background: var(--ink-deep);
  color: var(--paper);
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}
.coverage::before {
  content: '日本全国';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 380px;
  font-weight: 800;
  color: rgba(176,141,79,0.04);
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
}
.coverage-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.coverage-content .section-eyebrow { color: var(--gold-bright); }
.coverage-content .section-eyebrow::before { background: var(--gold-bright); }
.coverage-content .section-title { color: var(--paper); }
.coverage-content p {
  font-size: 17px;
  line-height: 2.1;
  color: rgba(245,241,232,0.78);
  margin-bottom: 24px;
}

.coverage-regions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(176,141,79,0.2);
  border: 1px solid rgba(176,141,79,0.2);
  margin-top: 40px;
}
.region {
  background: var(--ink-deep);
  padding: 20px 16px;
  text-align: center;
  transition: background 0.3s;
}
.region:hover { background: rgba(176,141,79,0.1); }
.region-name { font-size: 15px; letter-spacing: 0.15em; color: var(--paper); font-weight: 500; }
.region-en { font-family: 'Cormorant Garamond', serif; font-size: 9px; letter-spacing: 0.3em; color: var(--gold-bright); text-transform: uppercase; margin-top: 4px; font-style: italic; }

.coverage-visual {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid rgba(176,141,79,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
}
.coverage-visual::before, .coverage-visual::after {
  content: '';
  position: absolute;
  background: var(--gold-bright);
}
.coverage-visual::before { top: -1px; left: -1px; width: 30px; height: 1px; }
.coverage-visual::after { top: -1px; left: -1px; width: 1px; height: 30px; }
.coverage-corner-tr, .coverage-corner-br, .coverage-corner-bl {
  position: absolute;
  background: var(--gold-bright);
}
.coverage-corner-tr { top: -1px; right: -1px; width: 30px; height: 1px; }
.coverage-corner-tr2 { position: absolute; top: -1px; right: -1px; width: 1px; height: 30px; background: var(--gold-bright); }
.coverage-corner-br { bottom: -1px; right: -1px; width: 30px; height: 1px; }
.coverage-corner-br2 { position: absolute; bottom: -1px; right: -1px; width: 1px; height: 30px; background: var(--gold-bright); }
.coverage-corner-bl { bottom: -1px; left: -1px; width: 30px; height: 1px; }
.coverage-corner-bl2 { position: absolute; bottom: -1px; left: -1px; width: 1px; height: 30px; background: var(--gold-bright); }

.japan-illustration {
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
  padding: 40px;
}
.japan-illustration .map-text {
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--gold-bright);
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 24px;
}
.japan-illustration .big-text {
  font-family: 'Shippori Mincho', serif;
  font-size: 110px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.japan-illustration .sub-text {
  font-size: 15px;
  letter-spacing: 0.3em;
  color: rgba(245,241,232,0.7);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(176,141,79,0.3);
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}
.japan-pulse {
  width: 12px;
  height: 12px;
  background: var(--gold-bright);
  border-radius: 50%;
  margin: 24px auto 0;
  position: relative;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,176,106,0.7); }
  50% { box-shadow: 0 0 0 24px rgba(212,176,106,0); }
}

/* ============= SERVICES ============= */
.services {
  background: var(--paper);
}
.services-header {
  text-align: center;
  margin-bottom: 80px;
}
.services-header .section-eyebrow { justify-content: center; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.service-card {
  background: var(--paper-warm);
  padding: 56px 48px;
  position: relative;
  border: 1px solid transparent;
  transition: all 0.4s;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.service-card-num {
  position: absolute;
  top: 32px;
  right: 40px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  color: rgba(176,141,79,0.25);
  font-style: italic;
  font-weight: 400;
}
.service-card h4 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  line-height: 1.5;
  color: var(--ink);
}
.service-card p {
  font-size: 17px;
  line-height: 2;
  color: rgba(10,14,26,0.75);
  margin-bottom: 16px;
}
.service-features {
  list-style: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.service-features li {
  font-size: 15px;
  letter-spacing: 0.1em;
  color: rgba(10,14,26,0.7);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.service-features li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 8px;
  top: 10px;
}

.free-banner {
  background: var(--ink-deep);
  color: var(--paper);
  padding: 40px 56px;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-left: 4px solid var(--gold-bright);
}
.free-banner-text { flex: 1; }
.free-banner-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold-bright);
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.free-banner h5 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.free-banner h5 .gold { color: var(--gold-bright); }
.free-banner p {
  font-size: 15px;
  color: rgba(245,241,232,0.7);
  letter-spacing: 0.05em;
}
.free-banner-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  color: var(--gold-bright);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
}
.free-banner-tag .small { font-size: 16px; letter-spacing: 0.2em; display: block; text-align: right; margin-top: -4px; }

/* ============= TIMELINE / FLOW ============= */
.flow-section {
  background: var(--paper-warm);
  position: relative;
}
.flow-list {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.flow-list::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}
.flow-step {
  text-align: center;
  position: relative;
  padding: 0 16px;
}
.flow-step-num {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--gold-deep);
  font-style: italic;
  position: relative;
  z-index: 2;
}
.flow-step h5 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.flow-step p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(10,14,26,0.65);
  letter-spacing: 0.04em;
}

/* ============= COMPANY ============= */
.company {
  background: var(--ink-deep);
  color: var(--paper);
  padding: 140px 0;
}
.company-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.company-info .section-eyebrow { color: var(--gold-bright); }
.company-info .section-eyebrow::before { background: var(--gold-bright); }
.company-info .section-title { color: var(--navy-brand); margin-bottom: 32px; }
.company-info p {
  font-size: 14px;
  line-height: 2;
  color: rgba(10,14,26,0.78);
}

.company-table {
  border-top: 1px solid rgba(176,141,79,0.3);
}
.company-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(176,141,79,0.2);
  align-items: center;
}
.company-key {
  font-size: 16px;
  letter-spacing: 0.3em;
  color: var(--navy-brand);
}
.company-key .en {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.7;
}
.company-val {
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--gold);
}

/* ============= CTA SECTION ============= */
.cta {
  background: var(--paper);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: 'CONTACT';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 280px;
  font-style: italic;
  font-weight: 300;
  color: rgba(176,141,79,0.06);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta h2 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}
.cta h2 .gold { color: var(--gold-deep); font-style: italic; font-family: 'Cormorant Garamond', 'Shippori Mincho', serif; }
.cta-text {
  font-size: 19px;
  line-height: 2.1;
  color: rgba(10,14,26,0.75);
  max-width: 640px;
  margin: 0 auto 56px;
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 1000px;
  margin: 0 auto;
}
.cta-card {
  background: var(--paper);
  padding: 48px 32px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.4s;
}
.cta-card:hover { background: var(--ink-deep); color: var(--paper); }
.cta-card:hover .cta-card-label { color: var(--gold-bright); }
.cta-card:hover .cta-card-detail { color: rgba(245,241,232,0.7); }
.cta-card-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--gold-deep);
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 16px;
  transition: color 0.4s;
}
.cta-card-main {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.cta-card-tel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--ink);
  transition: color 0.4s;
}
.cta-card:hover .cta-card-tel { color: var(--gold-bright); }
.cta-card-detail {
  font-size: 16px;
  letter-spacing: 0.15em;
  color: rgba(10,14,26,0.55);
  transition: color 0.4s;
}

/* ============= FOOTER ============= */
footer {
  background: var(--ink-deep);
  color: var(--paper);
  padding: 80px 0 30px;
  position: relative;
  border-top: 1px solid var(--gold-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .logo-mark { background: var(--gold-bright); }
.footer-brand .logo-mark::before { color: var(--ink-deep); }
.footer-brand .logo-mark::after { border-color: var(--ink-deep); }
.footer-brand .logo-text-en { color: var(--paper); }
.footer-brand .logo-text-jp { color: var(--gold-bright); }
.footer-brand p {
  font-size: 14px;
  line-height: 2;
  color: rgba(245,241,232,0.6);
  margin-top: 24px;
  letter-spacing: 0.05em;
}
.footer-col h6 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 24px;
  font-style: italic;
}
.footer-col ul { list-style: none; }
.footer-col li {
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: rgba(245,241,232,0.7);
  cursor: pointer;
  transition: color 0.3s;
}
.footer-col li:hover { color: var(--gold-bright); }

.footer-bottom {
  border-top: 1px solid rgba(176,141,79,0.2);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(245,241,232,0.5);
}
.footer-bottom .en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  letter-spacing: 0.3em;
}

/* ============= REVEAL ANIMATION ============= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============= RESPONSIVE ============= */
@media (max-width: 968px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-side { border-left: none; border-top: 1px solid rgba(176,141,79,0.25); padding-left: 0; padding-top: 40px; flex-direction: row; gap: 60px; }
  .mission-inner, .coverage-inner, .company-inner { grid-template-columns: 1fr; gap: 60px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(176,141,79,0.2); }
  .strengths-header, .services-grid, .cta-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .flow-list::before { display: none; }
  .strength-item { grid-template-columns: 1fr; gap: 20px; }
  .strength-icon { display: none; }
  .coverage-regions { grid-template-columns: repeat(2, 1fr); }
  nav ul { display: none; }
  .top-bar-right span:not(.tel) { display: none; }
  section { padding: 80px 0; }
  .container, .header-inner, .top-bar-inner, .hero-inner { padding-left: 24px; padding-right: 24px; }
  .free-banner { flex-direction: column; align-items: flex-start; padding: 32px; }
}


/* ============= MULTI PAGE ADDITIONS ============= */
a { color: inherit; }
.logo, nav a, .footer-col a, .cta-card, .btn-primary, .btn-secondary { text-decoration: none; }

.logo img{
  width: 100%;
  max-width: 250px;
}

/* ============= PAGE HERO ============= */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 420px;
  padding: 112px 0 104px;
  color: var(--paper);
  background:
    radial-gradient(circle at 72% 34%, rgba(65, 125, 205, 0.20) 0%, rgba(65, 125, 205, 0.06) 28%, transparent 54%),
    radial-gradient(circle at 18% 78%, rgba(30, 86, 164, 0.18) 0%, transparent 46%),
    linear-gradient(118deg, #001532 0%, #00245a 38%, #073d82 69%, #00183b 100%);
  box-shadow:
    inset 0 1px 0 rgba(212, 176, 106, 0.38),
    inset 0 -1px 0 rgba(212, 176, 106, 0.30);
}

/*
  四角形装飾
  既存の大きなロゴ画像は使用せず、左右上下へ小さな正方形を散らしています。
*/
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  width: 28px;
  height: 28px;
  pointer-events: none;
  z-index: 1;
}

/* 左上・左下 */
.page-hero::before {
  left: 0;
  background: rgba(28, 87, 165, 0.22);
  box-shadow:
    42px 18px 0 rgba(2, 33, 82, 0.30),
    86px -8px 0 rgba(47, 105, 184, 0.16),
    126px 42px 0 rgba(1, 29, 73, 0.28),
    18px 76px 0 rgba(48, 106, 185, 0.13),
    70px 104px 0 rgba(0, 25, 64, 0.32),
    120px 92px 0 rgba(31, 91, 171, 0.17),
    164px 128px 0 rgba(3, 37, 91, 0.24),
    16px 148px 0 rgba(0, 24, 62, 0.30),
    58px 184px 0 rgba(43, 101, 181, 0.13),
    106px 164px 0 rgba(0, 32, 80, 0.25),
    150px 206px 0 rgba(212, 176, 106, 0.16),
    202px 174px 0 rgba(26, 85, 163, 0.15),
    8px calc(100% - 42px) 0 rgba(1, 27, 69, 0.30),
    52px calc(100% - 76px) 0 rgba(40, 98, 179, 0.18),
    92px calc(100% - 28px) 0 rgba(212, 176, 106, 0.18),
    132px calc(100% - 112px) 0 rgba(0, 28, 72, 0.28),
    176px calc(100% - 64px) 0 rgba(37, 96, 177, 0.14),
    222px calc(100% - 132px) 0 rgba(0, 23, 59, 0.24);
  opacity: 0.9;
}

/* 右上・右下 */
.page-hero::after {
  right: 0;
  background: rgba(39, 97, 177, 0.18);
  box-shadow:
    -44px 14px 0 rgba(0, 28, 72, 0.29),
    -88px -6px 0 rgba(56, 115, 194, 0.15),
    -132px 46px 0 rgba(2, 34, 84, 0.27),
    -20px 78px 0 rgba(212, 176, 106, 0.18),
    -72px 104px 0 rgba(0, 24, 62, 0.31),
    -118px 94px 0 rgba(43, 102, 182, 0.16),
    -166px 132px 0 rgba(4, 39, 95, 0.23),
    -18px 154px 0 rgba(0, 23, 60, 0.29),
    -62px 188px 0 rgba(51, 109, 188, 0.14),
    -110px 168px 0 rgba(0, 31, 79, 0.25),
    -154px 210px 0 rgba(212, 176, 106, 0.15),
    -204px 178px 0 rgba(31, 90, 170, 0.15),
    -10px calc(100% - 44px) 0 rgba(0, 26, 67, 0.30),
    -54px calc(100% - 80px) 0 rgba(42, 100, 181, 0.17),
    -96px calc(100% - 30px) 0 rgba(212, 176, 106, 0.17),
    -136px calc(100% - 116px) 0 rgba(0, 28, 72, 0.27),
    -180px calc(100% - 66px) 0 rgba(39, 98, 179, 0.14),
    -226px calc(100% - 136px) 0 rgba(0, 22, 57, 0.24);
  opacity: 0.9;
}

/* 中央の文字を読みやすくする薄い陰影 */
.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .container::before {
  content: "";
  position: absolute;
  top: -48px;
  left: -72px;
  width: min(760px, 85vw);
  height: calc(100% + 96px);
  background: radial-gradient(ellipse at 38% 50%, rgba(0, 19, 49, 0.26) 0%, rgba(0, 19, 49, 0.08) 48%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}

.page-hero .section-eyebrow {
  color: var(--gold-bright);
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.page-hero .section-eyebrow::before {
  background: linear-gradient(90deg, var(--gold-bright), rgba(212, 176, 106, 0.18));
}

.page-hero-title {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--paper);
  text-shadow:
    0 3px 18px rgba(0, 0, 0, 0.24),
    0 0 32px rgba(255, 255, 255, 0.025);
}

.page-hero-title .gold {
  color: var(--gold-bright);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

.page-hero-lead {
  position: relative;
  max-width: 760px;
  margin-top: 26px;
  padding-top: 25px;
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.12em;
  color: rgba(245, 241, 232, 0.78);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.page-hero-lead::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-bright), rgba(212, 176, 106, 0));
}

.page-section { padding: 110px 0; }
.page-section.warm { background: var(--paper-warm); }
.page-section.dark { background: var(--ink-deep); color: var(--paper); }
.page-section.dark .section-title { color: var(--paper); }
.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.text-block p { font-size: 15px; line-height: 2.15; color: rgba(10,14,26,0.78); margin-bottom: 24px; }
.page-section.dark .text-block p { color: rgba(245,241,232,0.76); }
.form-box {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  padding: 48px;
}
.form-row { margin-bottom: 24px; }
.form-row label {
  display: block;
  font-size: 15px;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  color: var(--gold-deep);
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
}
.form-row textarea { min-height: 180px; resize: vertical; }
.form-note { font-size: 12px; line-height: 1.9; color: rgba(10,14,26,0.65); margin-bottom: 24px; }
.submit-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.map-wrap {
  margin-top: 48px;
  border: 1px solid var(--line);
  background: var(--paper-warm);
  overflow: hidden;
}
.map-wrap iframe { display: block; width: 100%; height: 480px; border: 0; }
.policy-content {
  max-width: 920px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 64px;
}
.policy-content h2 {
  font-size: 22px;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p, .policy-content li { font-size: 14px; line-height: 2; color: rgba(10,14,26,0.78); }
.policy-content ul { padding-left: 1.5em; margin: 12px 0 0; }
.footer-col a { color: rgba(245,241,232,0.7); transition: color .3s; }
.footer-col a:hover { color: var(--gold-bright); }
.property-link-box {
  background: var(--ink-deep);
  color: var(--paper);
  border-left: 4px solid var(--gold-bright);
  padding: 40px;
  margin-top: 40px;
  margin-bottom: 100px;
}
.property-link-box p { color: rgba(245,241,232,.76); margin-bottom: 24px; }
@media (max-width: 968px) {
  .page-hero { padding: 80px 0; }
  .page-section { padding: 80px 0; }
  .two-column { grid-template-columns: 1fr; gap: 40px; }
  .form-box, .policy-content { padding: 32px 24px; }
  .map-wrap iframe { height: 360px; }
}



/* ===============================
  SP HEADER / HAMBURGER
=============================== */
.hamburger {
  display: none;
}

@media (max-width: 968px) {
  .top-bar {
    font-size: 10px;
  }

  .top-bar-inner {
    padding: 6px 16px;
  }

  .top-bar-right {
    gap: 0;
  }

  .header-inner {
    padding: 12px 16px;
  }

  .logo img {
    max-width: 180px;
  }

  .hamburger {
    display: flex;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: var(--paper);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger span {
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: 0.3s;
  }

  body.is-menu-open .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.is-menu-open .hamburger span:nth-child(2) {
    opacity: 0;
  }

  body.is-menu-open .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: rgba(245, 241, 232, 0.98);
    border-left: 1px solid var(--line);
    padding: 96px 28px 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1000;
  }

  body.is-menu-open .global-nav {
    transform: translateX(0);
  }

  .global-nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .global-nav li {
    border-bottom: 1px solid var(--line);
  }

  .global-nav a {
    display: block;
    padding: 18px 0;
    font-size: 15px;
  }

  .global-nav .contact-btn {
    margin-top: 18px;
    text-align: center;
  }

  body.is-menu-open {
    overflow: hidden;
  }
}

/* ===============================
  SP HERO TEXT FIX
=============================== */
@media (max-width: 600px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
  }

  .hero-inner {
    padding: 56px 20px 72px;
  }

  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.18em;
    margin-bottom: 28px;
    gap: 10px;
  }

  .hero-eyebrow::before {
    width: 28px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.45;
    letter-spacing: 0.04em;
    margin-bottom: 32px;
    word-break: keep-all;
  }

  .hero-tagline {
    font-size: 16px;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 36px;
  }

  .hero-cta-group {
    display: none;
  }

  .hero-side {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }
}


/* =========================================================
  CLIENT REQUEST REFLECTION
  - Main color changed from black to navy #002a69
  - Logo watermark added to image/dark/card areas
========================================================= */
:root {
  --navy-brand: #002a69;
  --navy-deep: #001a42;
  --navy-dark: #00122f;
  --navy-soft: #0b3a7d;

  --ink: var(--navy-brand);
  --ink-deep: var(--navy-dark);
  --ink-soft: var(--navy-soft);
  --line: rgba(0, 42, 105, 0.22);
  --line-strong: rgba(0, 42, 105, 0.5);
}

/* black-looking blocks are now navy based */
.top-bar,
.hero,
.achievements,
.coverage,
.company,
.free-banner,
.property-link-box,
footer,
.contact-btn,
.logo-mark,
.signature-mark {
  background-color: var(--navy-brand);
}

.top-bar {
  background: linear-gradient(90deg, var(--navy-dark), var(--navy-brand));
}

.hero::before {
  background:
    linear-gradient(95deg, rgba(0,18,47,0.94) 0%, rgba(0,42,105,0.86) 38%, rgba(0,42,105,0.62) 64%, rgba(0,18,47,0.86) 100%),
    radial-gradient(ellipse at 20% 30%, rgba(212,176,106,0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 72%, rgba(0,42,105,0.22) 0%, transparent 58%);
}

.achievements,
.coverage,
.free-banner,
.property-link-box,
footer {
  background:
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-brand) 58%, var(--navy-deep) 100%);
}


.company {
    background: var(--paper);
}


.contact-btn {
  border-color: var(--navy-brand);
}

.contact-btn:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

.btn-secondary:hover,
.service-card:hover,
.cta-card:hover {
  border-color: var(--navy-brand);
}

.cta-card:hover {
  background: var(--navy-brand);
}

/* header also carries a subtle navy feel */
header {
  border-bottom-color: rgba(0,42,105,0.18);
}
nav a:hover,
.logo-text-en,
.section-title,
.strength-num span,
.service-card h4,
.cta-card-tel {
  color: var(--navy-brand);
}

/* ===============================
  LOGO WATERMARKS
=============================== */

/* hero image watermark */
.hero-bg::after {
  content: '';
  position: absolute;
  right: clamp(24px, 7vw, 120px);
  bottom: clamp(36px, 8vw, 120px);
  width: clamp(220px, 34vw, 520px);
  aspect-ratio: 3 / 1;
  background: url('../img/logo.png') center / contain no-repeat;
  opacity: 0.12;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: 1;
}

/* wide dark sections */
.achievements .container,
.coverage .container,
.cta .container,
footer .container,
.free-banner {
  position: relative;
  z-index: 1;
}

.achievements .container::before,
.coverage .container::before,
.cta .container::before,
footer .container::before {
  content: '';
  position: absolute;
  right: 24px;
  top: 24px;
  width: clamp(180px, 24vw, 360px);
  aspect-ratio: 3 / 1;
  opacity: 0.055;
  pointer-events: none;
  z-index: -1;
}

.achievements .container::before,
.coverage .container::before,
footer .container::before {
  filter: brightness(0) invert(1);
}

.cta .container::before {
  opacity: 0.06;
}

/* card/item watermark */
.case-card,
.service-card,
.stat-item,
.strength-item,
.flow-step {
  overflow: hidden;
}

.case-card::after,
.service-card::after,
.stat-item::after,
.strength-item::after,
.flow-step::after {
  content: '';
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 150px;
  aspect-ratio: 3 / 1;
  opacity: 0.045;
  pointer-events: none;
  transform: rotate(-4deg);
}

.stat-item::after {
  filter: brightness(0) invert(1);
  opacity: 0.05;
}

.strength-item::after {
  right: 80px;
  bottom: 28px;
  width: 200px;
}

/* image-like visual block watermark */
.coverage-visual {
  background:
    linear-gradient(135deg, rgba(0,18,47,0.78), rgba(0,42,105,0.52));
}

.coverage-visual .japan-illustration {
  position: relative;
  z-index: 1;
}

.coverage-visual .japan-illustration::before {
  content: '';
  position: absolute;
  inset: 12%;
  opacity: 0.08;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: -1;
}

/* footer logo image */
.footer-brand .logo img {
  max-width: 240px;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

/* mobile: watermark too strong if large */
@media (max-width: 600px) {
  .hero-bg::after {
    right: 16px;
    bottom: 24px;
    width: 260px;
    opacity: 0.09;
  }

  .achievements .container::before,
  .coverage .container::before,
  .cta .container::before,
  footer .container::before {
    width: 220px;
    right: 12px;
    top: 12px;
    opacity: 0.04;
  }

  .case-card::after,
  .service-card::after,
  .stat-item::after,
  .strength-item::after,
  .flow-step::after {
    width: 120px;
    opacity: 0.035;
  }
}


.property-gallery-list{

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

    max-width:1200px;
    margin:60px auto;

}

.property-gallery-item img{

    width:100%;
    display:block;
    aspect-ratio:4 / 3;
    object-fit:cover;

}

@media(max-width:768px){

.property-gallery-list{

    grid-template-columns:1fr;
    gap:18px;

}

}


.property-gallery-caption {
  background: #fff;
  border: 1px solid #ddd;
  padding: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

/* ============= PAGE HERO RESPONSIVE OVERRIDES ============= */
@media (max-width: 968px) {
  .page-hero {
    min-height: 350px;
    padding: 86px 0 78px;
  }

  .page-hero::before,
  .page-hero::after {
    transform: scale(0.82);
  }

  .page-hero::before {
    transform-origin: top left;
  }

  .page-hero::after {
    transform-origin: top right;
  }
}

@media (max-width: 600px) {
  .page-hero {
    min-height: 292px;
    padding: 66px 0 62px;
  }

  .page-hero::before,
  .page-hero::after {
    width: 22px;
    height: 22px;
    transform: scale(0.62);
    opacity: 0.58;
  }

  .page-hero-title {
    font-size: 35px;
    letter-spacing: 0.07em;
  }

  .page-hero-lead {
    margin-top: 20px;
    padding-top: 20px;
    font-size: 13px;
    line-height: 1.9;
    letter-spacing: 0.08em;
  }

  .page-hero .section-eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero::before,
  .page-hero::after {
    animation: none;
  }
}


/* =========================================================
   PAGE HERO DENSE SQUARE BACKGROUND — FINAL OVERRIDE
   page-hero-squares.svg を ../img/ に設置してください
   ========================================================= */

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 420px;
  padding: 112px 0 104px;
  color: var(--paper);
  background:
    radial-gradient(circle at 72% 34%, rgba(65, 125, 205, 0.20) 0%, rgba(65, 125, 205, 0.06) 28%, transparent 54%),
    radial-gradient(circle at 18% 78%, rgba(30, 86, 164, 0.18) 0%, transparent 46%),
    linear-gradient(118deg, #001532 0%, #00245a 38%, #073d82 69%, #00183b 100%);
  box-shadow:
    inset 0 1px 0 rgba(212, 176, 106, 0.34),
    inset 0 -1px 0 rgba(212, 176, 106, 0.26);
}

/* 密度の高い四角装飾 */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  transform: none;
  box-shadow: none;
  background:
    url("../img/page-hero-squares.svg")
    center / cover
    no-repeat;
}

/* ごく薄い中央の光とビネット */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  transform: none;
  box-shadow: none;
  background:
    radial-gradient(ellipse at 58% 42%, rgba(67, 128, 213, 0.12) 0%, transparent 48%),
    linear-gradient(90deg, rgba(0, 11, 34, 0.22) 0%, transparent 18%, transparent 82%, rgba(0, 11, 34, 0.20) 100%);
}

/* 文字を装飾より前へ */
.page-hero > .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 968px) {
  .page-hero {
    min-height: 350px;
    padding: 86px 0 78px;
  }

  .page-hero::before,
  .page-hero::after {
    transform: none;
  }

  .page-hero::before {
    background-size: auto 100%;
    background-position: center;
  }
}

@media (max-width: 600px) {
  .page-hero {
    min-height: 292px;
    padding: 66px 0 62px;
  }

  .page-hero::before,
  .page-hero::after {
    width: auto;
    height: auto;
    transform: none;
    opacity: 1;
  }

  .page-hero::before {
    background-size: auto 100%;
    background-position: center;
  }
}


/* =========================================================
   NAVY SECTION SQUARE BACKGROUND
   page-hero と同じ格子状背景をネイビーエリアにも適用
   ========================================================= */

/* 対象となるネイビー背景 */
.achievements,
.coverage,
.free-banner,
.property-link-box,
footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* page-hero と同じ格子状背景 */
.achievements::before,
.coverage::after,
.free-banner::before,
.property-link-box::before,
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  pointer-events: none;
  z-index: 0;

  background:
    url("../img/page-hero-squares.svg")
    center / cover
    no-repeat;

  opacity: 1;
}

/* 中身を格子背景より前面へ */
.achievements > .container,
.coverage > .container,
.free-banner > *,
.property-link-box > *,
footer > .container {
  position: relative;
  z-index: 1;
}

.achievements,
.coverage,
.free-banner,
.property-link-box {
  background:
    radial-gradient(
      circle at 72% 34%,
      rgba(65, 125, 205, 0.20) 0%,
      rgba(65, 125, 205, 0.06) 28%,
      transparent 54%
    ),
    radial-gradient(
      circle at 18% 78%,
      rgba(30, 86, 164, 0.18) 0%,
      transparent 46%
    ),
    linear-gradient(
      118deg,
      #001532 0%,
      #00245a 38%,
      #073d82 69%,
      #00183b 100%
    );
}


/* =========================================================
   CTA CARD HOVER LOGOMARK
   ========================================================= */

.cta-card {
  position: relative;
  overflow: hidden;
}

/* ロゴマーク */
.cta-card::after {
    content: "";
    position: absolute;
    top: 40%;
    right: 44px;
    width: 38px;
    height: 38px;
    background: url("http://sinlogic.co.jp.testrs.jp/wp/wp-content/uploads/2026/08/logomark.png")
    center / contain no-repeat;
    opacity: 0;
    transform: translate(12px, -50%) scale(0.85);
    transition: opacity 0.35s ease,
    transform 0.45s ease;
    pointer-events: none;
}

/* hover */
.cta-card:hover::after {
  opacity: 0.8;
  transform: translate(0, -50%) scale(1);
}


/* =========================================================
   CASE CARD HOVER LOGOMARK
   ========================================================= */

.case-card {
  position: relative;
  overflow: hidden;
}

/* ロゴマーク */
.case-card::after {
  content: "";
  position: absolute;

  /* h4の右側あたり */
  top: 74px;
  right: 28px;

  width: 52px;
  height: 52px;

  background:
    url("http://sinlogic.co.jp.testrs.jp/wp/wp-content/uploads/2026/08/logo_mark.png")
    center / contain no-repeat;

  opacity: 0;
  transform: translateX(12px) scale(0.85);

  transition:
    opacity 0.35s ease,
    transform 0.45s ease;

  pointer-events: none;
}

/* hover */
.case-card:hover::after {
  opacity: 0.8;
  transform: translateX(0) scale(1);
}

/* =========================================
   ACHIEVEMENTS / COVERAGE 高さ統一
   ========================================= */

.achievements,
.coverage {
  height: 700px;
  min-height: 700px;
  padding-top: 100px;
  padding-bottom: 70px;
  box-sizing: border-box;
}

/* 中身を縦方向中央へ */
.achievements > .container,
.coverage > .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}