/* ============================================
   management.css — 賃貸管理ページ用CSS
   共通パーツはCLAUDE.md仕様よりコピー
   ============================================ */

/* --- CSS変数（CLAUDE.md共通パーツ仕様よりコピー） --- */
:root {
  --blue: #172752;
  --blue-dark: #0f1a38;
  --blue-light: #505c7d;
  --blue-pale: #f5f5f5;
  --navy: #0F172A;
  --white: #FFFFFF;
  --off-white: #FAFBFC;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --accent: #C9A227;
  --green: #10B981;
  --line: #06C755;

  --font-en: 'Montserrat', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-jp);
  font-weight: 400;
  line-height: 1.8;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ============================================
   ヘッダー（CLAUDE.md共通パーツ仕様よりコピー）
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s var(--ease);
}
.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  padding: 16px 48px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { height: 48px; width: auto; transition: transform 0.3s var(--ease-bounce); }
.logo-mark img { height: 100%; width: auto; }
.logo-text {
  font-family: var(--font-en); font-size: 18px; font-weight: 600;
  letter-spacing: -0.02em; color: var(--gray-900);
}
.header.scrolled .logo-text { color: var(--gray-900); }
.header:not(.scrolled) .logo-text { color: var(--white); }
.header .nav { display: flex; align-items: center; gap: 40px; }
.nav-link {
  font-family: var(--font-en); font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em; position: relative; transition: color 0.3s;
}
.header:not(.scrolled) .nav-link { color: rgba(255,255,255,0.8); }
.header:not(.scrolled) .nav-link:hover { color: var(--white); }
.header.scrolled .nav-link { color: var(--gray-600); }
.header.scrolled .nav-link:hover { color: var(--blue); }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: currentColor; transition: width 0.3s var(--ease);
}
.nav-link:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header .header-phone {
  font-family: var(--font-en); font-size: 15px; font-weight: 600; transition: color 0.3s;
}
.header:not(.scrolled) .header-phone { color: var(--white); }
.header.scrolled .header-phone { color: var(--gray-800); }
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; cursor: pointer; z-index: 1001;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--white);
  transition: all 0.3s var(--ease); border-radius: 1px;
}
.header.scrolled .hamburger span { background: var(--gray-800); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,25,60,0.97); z-index: 999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-menu-overlay a {
  font-family: var(--font-jp); font-size: 20px; font-weight: 500;
  color: var(--white); letter-spacing: 0.05em; transition: color 0.3s;
}
.mobile-menu-overlay a:hover { color: var(--blue-light); }
.mobile-menu-overlay .btn-primary { margin-top: 16px; font-size: 16px; padding: 16px 40px; }

/* ============================================
   ボタン（CLAUDE.md共通パーツ仕様よりコピー）
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; font-family: var(--font-jp); font-size: 14px; font-weight: 600;
  border-radius: 6px; border: none; cursor: pointer;
  transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover {
  background: var(--blue-dark); transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(23, 39, 82, 0.4);
}
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: var(--white); color: var(--blue); border-color: var(--white); transform: translateY(-1px); }
.btn-large { padding: 18px 40px; font-size: 15px; }
.btn-line { background: #06C755; color: var(--white); }

/* ============================================
   セクション見出し（CLAUDE.md共通パーツ仕様よりコピー）
   ============================================ */
.section { padding: 160px 0; position: relative; }
.section-dark { background: var(--navy); color: var(--white); }
.section-header { margin-bottom: 80px; }
.section-header.center { text-align: center; }
.section-label {
  font-family: var(--font-en); font-size: 15px; font-weight: 600;
  color: var(--blue); letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 16px; display: inline-flex; align-items: center; gap: 12px;
}
.section-dark .section-label { color: var(--blue-light); }
.section-title {
  font-size: clamp(32px, 5vw, 52px); font-weight: 700;
  letter-spacing: 0.02em; line-height: 1.3; color: var(--gray-900);
}
.section-dark .section-title { color: var(--white); }
.section-subtitle {
  font-size: 17px; color: var(--gray-500); margin-top: 20px;
  max-width: 560px; line-height: 1.9;
}
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* ============================================
   MANAGEMENT HERO
   ============================================ */
.mgmt-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.mgmt-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,26,56,0.95) 0%, rgba(23,39,82,0.85) 50%, rgba(15,26,56,0.9) 100%);
  z-index: 0;
}
.mgmt-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 100px;
  width: 100%;
}
.mgmt-hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 24px;
}
.mgmt-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 2;
  margin-bottom: 40px;
}
.mgmt-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   賃貸管理の特徴
   ============================================ */
.feature-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.feature-block p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 2.2;
}

/* ============================================
   サポート体制図
   ============================================ */
.support-diagram {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 1;
}
.support-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(23,39,82,0.25);
}
.support-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}
.support-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.support-icon svg { stroke: var(--blue); }
.support-item-1 { top: 5%; left: 50%; transform: translateX(-50%); }
.support-item-2 { top: 25%; right: 5%; }
.support-item-3 { bottom: 25%; right: 5%; }
.support-item-4 { bottom: 5%; left: 50%; transform: translateX(-50%); }
.support-item-5 { bottom: 25%; left: 5%; }
.support-item-6 { top: 25%; left: 5%; }

/* connector lines */
.support-diagram::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1.5px dashed var(--gray-300);
  z-index: 0;
}

/* ============================================
   業務内容テーブル
   ============================================ */
.detail-table-wrap {
  max-width: 700px;
  margin: 0 auto;
}
.detail-table {
  width: 100%;
  border-collapse: collapse;
}
.detail-table th,
.detail-table td {
  padding: 24px 0;
  font-size: 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-200);
}
.detail-table tr:first-child th,
.detail-table tr:first-child td {
  border-top: 1px solid var(--gray-200);
}
.detail-table th {
  width: 140px;
  font-weight: 600;
  color: var(--blue);
}
.detail-table td {
  color: var(--gray-700);
}

/* ============================================
   集金代行（カード2列）
   ============================================ */
.service-cards {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
}
.service-card-num {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* ============================================
   運営業務（4グリッド）
   ============================================ */
.ops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.ops-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px 32px;
}
.ops-num {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.ops-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.ops-item p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.9;
}

/* ============================================
   コンサルティング
   ============================================ */
.consulting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.consulting-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
}
.consulting-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.consulting-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.9;
}

/* ============================================
   入居者募集システム
   ============================================ */
.listing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.listing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
}
.listing-logo {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.listing-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.listing-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.9;
}

/* ============================================
   コンタクトフォーム（CLAUDE.md共通パーツ仕様よりコピー）
   ============================================ */
.contact-section { padding: 160px 0; background: var(--white); }
.contact-container { max-width: 640px; margin: 0 auto; }
.contact-form {
  background: var(--white); border-radius: 32px; padding: 56px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.1);
}
.form-group { margin-bottom: 28px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--gray-700); margin-bottom: 10px; }
.form-label .required { color: var(--blue); margin-left: 4px; }
.form-input {
  width: 100%; padding: 16px 20px; background: var(--gray-50);
  border: 2px solid transparent; border-radius: 12px;
  font-family: var(--font-jp); font-size: 15px; color: var(--gray-800);
  transition: all 0.3s var(--ease);
}
.form-input:focus { outline: none; background: var(--white); border-color: var(--blue); }
.form-input::placeholder { color: var(--gray-400); }
textarea.form-input { min-height: 140px; resize: vertical; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-item { position: relative; }
.radio-item input { position: absolute; opacity: 0; }
.radio-item label {
  display: inline-block; padding: 12px 20px; background: var(--gray-50);
  border: 2px solid transparent; border-radius: 100px;
  font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.3s var(--ease);
}
.radio-item input:checked + label { background: var(--blue-pale); border-color: var(--blue); color: var(--blue); }
.form-submit {
  width: 100%; padding: 20px; font-size: 17px; font-weight: 700; margin-top: 20px;
  box-shadow: 0 4px 14px -4px rgba(23, 39, 82, 0.4);
}
.form-privacy { text-align: center; margin-top: 16px; font-size: 12px; color: var(--gray-500); }
.form-privacy a { color: var(--blue); text-decoration: underline; }
.form-note { text-align: center; margin-top: 20px; font-size: 14px; color: var(--gray-500); }

/* ============================================
   フッター（CLAUDE.md共通パーツ仕様よりコピー）
   ============================================ */
.footer { background: var(--navy); color: var(--white); padding: 80px 0 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer .logo-text { color: var(--white); }
.footer-tagline { font-size: 15px; color: rgba(255,255,255,0.6); margin-top: 20px; margin-bottom: 24px; }
.footer-contact { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 2; }
.footer-contact a { color: var(--blue-light); display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.footer .footer-social { display: flex; gap: 16px; margin-top: 20px; }
.social-icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); border-radius: 50%; color: rgba(255,255,255,0.7);
  transition: all 0.3s var(--ease);
}
.social-icon:hover { background: var(--blue); color: var(--white); }
.footer-column h4 { font-family: var(--font-en); font-size: 14px; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 24px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 14px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }
.footer .footer-bottom { padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .header { padding: 20px 24px; }
  .header.scrolled { padding: 16px 24px; }
  .header .nav, .header-cta { display: none; }
  .container { padding: 0 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 100px 0; }
  .contact-section { padding: 100px 0; }
  .mgmt-hero { min-height: 60vh; }
  .mgmt-hero-content { padding: 0 24px 80px; }
  .service-cards { grid-template-columns: 1fr; }
  .ops-grid { grid-template-columns: 1fr; }
  .consulting-grid { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: 1fr; }
  .support-diagram { max-width: 320px; }
  .support-center { width: 90px; height: 90px; font-size: 13px; }
  .support-diagram::before { width: 200px; height: 200px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 40px 24px; }
  .mgmt-hero-cta { flex-direction: column; }
  .mgmt-hero-cta .btn { width: 100%; }
  .detail-table th { width: 110px; }
}

@media (max-width: 480px) {
  .mgmt-hero { min-height: 55vh; }
  .support-diagram { max-width: 280px; }
  .support-center { width: 80px; height: 80px; font-size: 12px; }
  .support-diagram::before { width: 170px; height: 170px; }
  .support-icon { width: 44px; height: 44px; }
  .support-icon svg { width: 18px; height: 18px; }
  .support-item { font-size: 11px; }
}
