/* ============================================
   investment.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); }


/* ============================================
   INVESTMENT HERO
   ============================================ */
.inv-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.inv-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;
}
.inv-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 100px;
  width: 100%;
}
.inv-hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 24px;
}
.inv-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 2;
  margin-bottom: 40px;
}
.inv-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   3つの理由
   ============================================ */
.reasons-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.reason-item {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
  border: 1px solid var(--gray-200);
}
.reason-item:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.reason-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reason-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.reason-body p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 2;
}

/* ============================================
   市場データ
   ============================================ */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.market-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
}
.market-value {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.market-value span {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-left: 2px;
}
.market-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ============================================
   投資の流れ（縦タイムライン）
   ============================================ */
.flow-vertical {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 100px;
}
.flow-vertical::before {
  content: '';
  position: absolute;
  left: 79px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(201,162,39,0.15));
}
.flow-step {
  position: relative;
  padding-bottom: 48px;
}
.flow-step:last-child { padding-bottom: 0; }
.flow-marker {
  position: absolute;
  left: -100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
}
.flow-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(23,39,82,0.15);
}
.flow-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  padding-top: 10px;
}
.flow-content p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 2;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child {
  border-top: 1px solid var(--gray-200);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.6;
  padding-right: 40px;
}
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s;
}
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--gray-700);
  transition: transform 0.3s;
}
.faq-toggle::before { width: 12px; height: 1.5px; }
.faq-toggle::after { width: 1.5px; height: 12px; }
.faq-item[open] .faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle { border-color: var(--accent); }
.faq-a { padding: 0 0 28px; }
.faq-a p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 2;
}

/* ============================================
   コンタクトフォーム（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; }
  .market-grid { grid-template-columns: 1fr; max-width: 400px; }
}

@media (max-width: 768px) {
  .section { padding: 100px 0; }
  .contact-section { padding: 100px 0; }
  .inv-hero { min-height: 60vh; }
  .inv-hero-content { padding: 0 24px 80px; }
  .reason-item {
    grid-template-columns: 1fr;
    gap: 20px; padding: 32px 28px; text-align: center;
  }
  .reason-num { margin: 0 auto; }
  .flow-vertical { padding-left: 70px; }
  .flow-vertical::before { left: 49px; }
  .flow-marker { left: -70px; width: 50px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 40px 24px; }
  .inv-hero-cta { flex-direction: column; }
  .inv-hero-cta .btn { width: 100%; }
}

@media (max-width: 480px) {
  .inv-hero { min-height: 55vh; }
  .flow-vertical { padding-left: 60px; }
  .flow-vertical::before { left: 39px; }
  .flow-marker { left: -60px; width: 40px; }
  .flow-num { width: 36px; height: 36px; font-size: 11px; }
  .market-value { font-size: 28px; }
}
