/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:        #1A6E8E;
  --primary-light:  #2E9BBA;
  --primary-dark:   #115572;
  --green:          #4CAF7D;
  --green-dark:     #2E8B5A;
  --accent:         #F18F01;
  --purple:         #7B5EA7;
  --text:           #1C2B3A;
  --text-mid:       #4A5568;
  --text-light:     #718096;
  --bg:             #F0F6FB;
  --bg2:            #EAF3F8;
  --white:          #FFFFFF;
  --border:         #D6E4EE;
  --shadow-sm:      0 2px 8px rgba(26,110,142,0.08);
  --shadow-md:      0 8px 30px rgba(26,110,142,0.12);
  --shadow-lg:      0 20px 60px rgba(26,110,142,0.18);
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --font-sans:      'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', 'MS PGothic', sans-serif;
  --font-serif:     'Hiragino Mincho Pro', 'Yu Mincho', 'MS PMincho', serif;
  --transition:     all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-sans); cursor: pointer; border: none; background: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.serif { font-family: var(--font-serif); }

/* ===========================
   SCROLL PROGRESS BAR
   =========================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--green), var(--accent));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  font-family: var(--font-serif);
  box-shadow: 0 4px 12px rgba(26,110,142,0.3);
  flex-shrink: 0;
}

/* 法人格（極小・上段） */
.logo-corp {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-light);
  line-height: 1.4;
  margin-bottom: 1px;
}

.header:not(.scrolled) .logo-corp { color: rgba(255,255,255,0.6); }

/* 事業所名（メイン） */
.logo-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

/* 訪問介護（事業所名の後半部分 — 細く） */
.logo-service {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.02em;
}

.header.scrolled .logo-name { color: var(--primary-dark); }
.header:not(.scrolled) .logo-name { color: white; }
.header:not(.scrolled) .logo-mark {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
}

/* フッターの法人格 */
.footer-logo-corp {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap;
}

.header:not(.scrolled) .nav a { color: rgba(255,255,255,0.9); }
.header:not(.scrolled) .nav a:hover { background: rgba(255,255,255,0.15); color: white; }
.header.scrolled .nav a { color: var(--text-mid); }
.header.scrolled .nav a:hover { background: var(--bg); color: var(--primary); }

.nav-tel {
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.02em;
}

.nav-tel-icon { margin-right: 4px; font-size: 0.9em; }

.nav-btn {
  background: var(--accent) !important;
  color: white !important;
  border-radius: 20px !important;
  padding: 8px 20px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(241,143,1,0.35);
}

.nav-btn:hover {
  background: #d97e00 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(241,143,1,0.45) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  transition: var(--transition);
  background: white;
}

.header.scrolled .hamburger span { background: var(--text); }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   MOBILE MENU
   =========================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-inner {
  padding: 100px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-link {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.mobile-link:first-child { border-top: 1px solid var(--border); }

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

.mobile-tel {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.mobile-hours {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===========================
   HERO
   =========================== */
/* ===========================
   HERO — 三井物産スタイル
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* 最初は青一色（写真なし） */
  background: rgb(12, 60, 140);
}

/* 写真レイヤー — 最初は透明、後からフェードイン */
.hero-bg {
  display: block;
  position: absolute;
  inset: 0;
  background:
    url('hero-bg.jpg')
    center 40% / cover no-repeat;
  opacity: 0;
  z-index: 0;
  animation: photoReveal 1.8s ease 1.4s forwards;
}

@keyframes photoReveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 青いカラーウォッシュ（写真の上に常に乗る） */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 68, 155, 0.66);
  z-index: 1;
}

/* 上下を少し暗く */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.30) 0%,
    rgba(0,0,0,0.02) 50%,
    rgba(0,0,0,0.40) 100%
  );
  z-index: 1;
}

/* テキストブロック：上から下へ縦に展開 */
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  width: 100%;
  min-height: 100vh;
  padding: 18vh 7% 5vh;
  display: flex;
  flex-direction: column;
  text-align: left;
}

/* アイブロウ（細線＋小テキスト） */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInUp 0.7s ease 0.2s forwards;
}

.hero-eyebrow-line {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-eyebrow-text {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 500;
}

/* メインタイトル — 超大きく */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7.5vw, 6rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  margin-bottom: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-line1, .hero-line2 {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: heroTextIn 0.8s ease forwards;
}
.hero-line1 { animation-delay: 0.2s; }
.hero-line2 { animation-delay: 0.5s; }

@keyframes heroTextIn {
  to { opacity: 1; transform: translateY(0); }
}

/* サブコピー — 下部に配置 */
.hero-desc {
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
  margin-top: auto;
  padding-top: 8px;
  padding-bottom: 16px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.9s forwards;
}

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

/* CTAボタン群 */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.05s forwards;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: white;
  padding: 14px 30px;
  border-radius: 3px;
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 18px rgba(241,143,1,0.4);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: #d97e00;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(241,143,1,0.5);
  color: white;
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 30px;
  border-radius: 3px;
  font-size: 0.93rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.6);
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.03em;
  transition: var(--transition);
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  color: white;
}

/* 電話ブロック */
.hero-tel-block {
  padding-bottom: 12px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.25s forwards;
}

.hero-tel {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  border-left: 2px solid var(--accent);
  padding-left: 18px;
  color: white;
}

.hero-tel-label { font-size: 0.72rem; opacity: 0.65; letter-spacing: 0.08em; }
.hero-tel-num {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  font-family: 'Arial Black', 'Arial', sans-serif;
  line-height: 1.1;
}
.hero-tel-hours { font-size: 0.72rem; opacity: 0.6; }

/* スクロールボタン */
.hero-scroll-btn {
  position: absolute;
  bottom: 36px;
  left: 8%;
  color: rgba(255,255,255,0.5);
  animation: bounce 2.5s ease-in-out infinite;
  transition: color 0.2s;
  z-index: 2;
}

.hero-scroll-btn:hover { color: rgba(255,255,255,0.9); }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===========================
   NEWS TICKER
   =========================== */
.news-ticker {
  background: var(--primary);
  padding: 10px 0;
  overflow: hidden;
}

.news-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

.news-badge {
  flex-shrink: 0;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
  letter-spacing: 0.05em;
}

.news-scroll { overflow: hidden; flex: 1; }

.news-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.news-item { color: rgba(255,255,255,0.92); font-size: 0.85rem; }
.news-date { opacity: 0.65; margin-right: 10px; font-size: 0.78rem; }
.news-sep { color: rgba(255,255,255,0.3); }

/* ===========================
   SECTION COMMON
   =========================== */
.section { padding: 96px 0; position: relative; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.label-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
  background: rgba(26,110,142,0.08);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.label-tag.light {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.15);
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-title.light { color: white; }

.section-sub {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.8;
}

.section-sub.light { color: rgba(255,255,255,0.8); }

/* AOS - scroll animation */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="150"] { transition-delay: 0.15s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos][data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos][data-aos-delay="500"] { transition-delay: 0.5s; }

/* ===========================
   PHILOSOPHY
   =========================== */
.philosophy-section {
  background: var(--bg);
  position: relative;
}

.wave-top, .wave-bottom {
  position: absolute;
  left: 0; right: 0;
  line-height: 0;
}

.wave-top { top: -1px; }
.wave-bottom { bottom: -1px; }
.wave-top svg, .wave-bottom svg { width: 100%; height: 80px; }

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

.philosophy-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26,110,142,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--green));
}

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

.phi-num {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: 'Arial', sans-serif;
  color: rgba(26,110,142,0.07);
  line-height: 1;
  margin-bottom: 8px;
}

.phi-icon { font-size: 2.2rem; margin-bottom: 12px; }

.philosophy-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
  line-height: 1.4;
}

.philosophy-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.85;
}

/* ===========================
   SERVICES
   =========================== */
.services-section { background: white; }

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

.service-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.service-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.service-body {
  padding: 24px 22px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: rgba(26,110,142,0.1);
  color: var(--primary);
}

.service-badge.green { background: rgba(76,175,125,0.1); color: var(--green-dark); }
.service-badge.orange { background: rgba(241,143,1,0.1); color: #b36800; }
.service-badge.purple { background: rgba(123,94,167,0.1); color: var(--purple); }
.service-badge.pink { background: rgba(233,30,126,0.1); color: #C2185B; }
.service-badge.teal { background: rgba(0,150,136,0.1); color: #00796B; }

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}

.service-items {
  flex: 1;
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-bottom: 14px;
}

.service-items li {
  padding: 4px 0 4px 18px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}

.service-items li:last-child { border-bottom: none; }

.service-items li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.service-time {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 6px;
  margin-top: auto;
}

.service-time span { margin-right: 4px; }

/* ===========================
   STATS
   =========================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1d7a68 100%);
  padding: 72px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  color: white;
  padding: 28px 20px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.3s ease, transform 0.3s ease;
}

.stat-item:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.stat-icon { font-size: 2rem; margin-bottom: 10px; opacity: 0.9; }

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: 'Arial Black', 'Arial', sans-serif;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-unit {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  opacity: 0.75;
  font-weight: 500;
}

/* ===========================
   REASONS
   =========================== */
.reasons-section { background: var(--bg); }

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.reason-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: white;
  padding: 28px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.reason-icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--bg), var(--bg2));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.reason-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.reason-content p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ===========================
   FLOW
   =========================== */
.flow-section { background: var(--bg); }

.flow-wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.flow-step {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.flow-step-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: rgba(26,110,142,0.08);
  padding: 3px 10px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 12px;
}

.flow-step-icon { font-size: 2.2rem; margin-bottom: 10px; }

.flow-step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.flow-step p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 8px;
}

.flow-note {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  background: var(--bg);
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-block;
}

.flow-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--green));
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}

.flow-connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -5px;
  border: 6px solid transparent;
  border-left-color: var(--green);
}

/* ===========================
   ABOUT
   =========================== */
.about-section { background: white; }

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.map-placeholder {
  height: 280px;
  background: linear-gradient(135deg, var(--bg), var(--bg2));
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-light);
}

.map-pin { font-size: 2.5rem; }
.map-address { font-size: 1rem; font-weight: 700; color: var(--text); text-align: center; line-height: 1.6; }
.map-hint { font-size: 0.78rem; opacity: 0.6; }

.about-access {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.about-access h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-access li {
  font-size: 0.9rem;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}

.about-access li:last-child { border-bottom: none; }

.about-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.about-table th, .about-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  line-height: 1.7;
}

.about-table th {
  width: 140px;
  font-weight: 700;
  color: var(--text-light);
  font-size: 0.83rem;
  background: var(--bg);
  white-space: nowrap;
}

.about-table td a {
  color: var(--primary);
  font-weight: 600;
}

.about-table td a:hover { text-decoration: underline; }

/* ===========================
   CONTACT
   =========================== */
.contact-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0d4f6b 0%, var(--primary) 50%, #1a7a65 100%);
  z-index: 0;
}

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

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}

.contact-left { color: white; }

.contact-tel-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.contact-tel-block:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.contact-tel-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
}

.contact-tel-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  font-family: 'Arial Black', 'Arial', sans-serif;
  letter-spacing: 0.03em;
  color: white;
  margin-bottom: 6px;
  line-height: 1.1;
}

.contact-tel-num:hover { opacity: 0.85; }

.contact-tel-sub {
  font-size: 0.8rem;
  opacity: 0.7;
}

.contact-promise {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promise-item {
  font-size: 0.88rem;
  opacity: 0.9;
  font-weight: 500;
}

/* ===========================
   FORM
   =========================== */
.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.req {
  display: inline-block;
  background: #E53E3E;
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: var(--font-sans);
  color: var(--text);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23718096' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,110,142,0.12);
}

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

.form-privacy {
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-mid);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); }
.checkbox-label a { color: var(--primary); text-decoration: underline; }

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(26,110,142,0.35);
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,110,142,0.45);
}

.input-error {
  border-color: #E53E3E !important;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.12) !important;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
.spin { animation: spin 1s linear infinite; }

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
}

.success-icon { font-size: 3.5rem; margin-bottom: 16px; }

.form-success h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-mid);
  line-height: 1.8;
}

/* ===========================
   FOOTER
   =========================== */
.footer { background: #0f1e2a; }

.footer-top { padding: 60px 0 48px; border-bottom: 1px solid rgba(255,255,255,0.06); }

.footer-top-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.footer-brand { flex: 1; max-width: 340px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.logo-mark.small {
  width: 36px;
  height: 36px;
  font-size: 1rem;
  border-radius: 8px;
}

.footer-logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}

.footer-logo-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-info a,
.footer-contact-info span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact-info a:hover { color: white; }

.footer-nav {
  display: flex;
  gap: 48px;
  flex: 1;
  justify-content: flex-end;
}

.footer-nav-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.footer-nav-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-nav-col a:hover { color: white; }

.footer-bottom { padding: 20px 0; }

.footer-bottom-inner {
  display: flex;
  justify-content: center;
}

.copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ===========================
   BACK TO TOP
   =========================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26,110,142,0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,110,142,0.5);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1000px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrapper { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .flow-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .flow-connector { width: 2px; height: 32px; margin: 0 auto; }
  .flow-connector::after { display: none; }
  .footer-top-inner { flex-direction: column; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .section { padding: 72px 0; }
  .hero-title { font-size: 2rem; }
  .hero-tel-num { font-size: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .footer-nav { flex-wrap: wrap; gap: 32px; }
  .pc-br { display: none; }
  .philosophy-card { padding: 28px 22px; }
  .hero-actions { flex-direction: column; align-items: center; }
}
