/* ============================================================
   FIJ不動産 - Main Stylesheet
   Sitemap: HOME / COMPANY / BUSINESS / ACCESS / CONTACT
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --color-primary:      #1a2744;
  --color-primary-light:#253564;
  --color-accent:       #c8a96e;
  --color-accent-dark:  #a88a50;
  --color-text:         #333333;
  --color-text-light:   #666666;
  --color-bg:           #ffffff;
  --color-bg-light:     #f7f7f5;
  --color-bg-dark:      #0f1a33;
  --color-border:       #e0e0d8;
  --font-jp:            'Noto Sans JP', sans-serif;
  --font-en:            'Cormorant Garamond', serif;
  --max-width:          1200px;
  --header-height:      80px;
  --transition:         0.3s ease;
  --shadow:             0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover:       0 8px 36px rgba(0,0,0,0.14);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body  { font-family: var(--font-jp); color: var(--color-text); background: var(--color-bg); line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4 { line-height: 1.4; font-weight: 600; }

.section-title { text-align: center; margin-bottom: 60px; }
.section-title .en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-primary);
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 2px;
  background: var(--color-accent);
}
.section-title p {
  margin-top: 16px;
  color: var(--color-text-light);
  font-size: 0.95rem;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}

/* ── Layout ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }
section.bg-light { background: var(--color-bg-light); }
section.bg-dark  { background: var(--color-primary); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 36px;
  font-family: var(--font-jp); font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.1em; border: none; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary  { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline  { background: transparent; color: var(--color-primary); border: 1px solid var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }
.btn-arrow::after { content: '→'; font-size: 0.85rem; transition: transform var(--transition); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0;
  line-height: 1;
  text-decoration: none;
}
.site-logo .logo-img {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.site-logo .logo-divider {
  display: block;
  width: 1px;
  height: 36px;
  background: var(--color-border);
  margin: 0 18px;
  flex-shrink: 0;
}
.site-logo .logo-jp {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.footer-brand .logo-img { height: 56px; width: auto; display: block; margin-bottom: 12px; }

/* Global Nav */
.global-nav { display: flex; align-items: center; gap: 0; }

/* Nav item with possible dropdown */
.nav-item {
  position: relative;
}
.nav-item > a {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 16px; height: var(--header-height); justify-content: center;
  font-size: 0.78rem; letter-spacing: 0.12em; color: var(--color-text);
  border-bottom: 2px solid transparent; transition: all var(--transition);
}
.nav-item > a .nav-en { font-family: var(--font-en); font-size: 0.88rem; font-weight: 600; color: var(--color-primary); letter-spacing: 0.15em; }
.nav-item > a .nav-jp { font-size: 0.62rem; color: var(--color-text-light); margin-top: 2px; }
.nav-item > a:hover,
.nav-item > a.active { border-bottom-color: var(--color-accent); }
.nav-item > a:hover .nav-en,
.nav-item > a.active .nav-en { color: var(--color-accent); }

/* Dropdown */
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; min-width: 180px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-top: 2px solid var(--color-accent);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  transform: translateX(-50%) translateY(-8px);
  z-index: 100;
}
.nav-item:hover .dropdown-menu {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: 12px 20px;
  font-size: 0.82rem; color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition); white-space: nowrap;
  letter-spacing: 0.06em;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--color-bg-light); color: var(--color-accent); padding-left: 26px; }

/* Contact button */
.nav-contact-btn > a {
  margin-left: 12px; background: var(--color-primary); color: #fff !important;
  padding: 0 20px !important; border-bottom: none !important;
}
.nav-contact-btn > a:hover { background: var(--color-accent) !important; border-bottom-color: transparent !important; }
.nav-contact-btn > a .nav-en,
.nav-contact-btn > a .nav-jp { color: #fff !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 6px; width: 44px; height: 44px; cursor: pointer;
  padding: 6px; background: none; border: none;
}
.hamburger span { display: block; height: 1.5px; background: var(--color-primary); transition: all var(--transition); transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0;
  background: var(--color-primary); z-index: 999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0; overflow-y: auto; opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav .mobile-nav-item { width: 280px; }
.mobile-nav .mobile-nav-item > a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 40px; color: rgba(255,255,255,0.9); font-size: 0.8rem;
  letter-spacing: 0.15em; border-bottom: 1px solid rgba(255,255,255,0.1);
  width: 100%; text-align: center; transition: color var(--transition);
}
.mobile-nav .mobile-nav-item > a .nav-en { font-family: var(--font-en); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.2em; color: #fff; }
.mobile-nav .mobile-nav-item > a .nav-jp { font-size: 0.7rem; color: var(--color-accent); }
.mobile-nav .mobile-nav-item > a:hover .nav-en { color: var(--color-accent); }
.mobile-sub { background: rgba(255,255,255,0.05); }
.mobile-sub a {
  display: block; padding: 10px 40px;
  font-size: 0.78rem; color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-align: center; letter-spacing: 0.1em;
  transition: color var(--transition);
}
.mobile-sub a:hover { color: var(--color-accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(10,18,40,0.82) 0%, rgba(10,18,40,0.45) 60%, rgba(10,18,40,0.25) 100%),
    url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=1920&q=90') center/cover no-repeat;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  padding-top: var(--header-height);
}
.hero-eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--color-accent); }
.hero-eyebrow span { font-family: var(--font-en); font-size: 0.85rem; letter-spacing: 0.35em; color: var(--color-accent); text-transform: uppercase; }
.hero-title { font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 300; color: #fff; line-height: 1.5; margin-bottom: 28px; letter-spacing: 0.05em; }
.hero-title strong { font-weight: 700; color: var(--color-accent); }
.hero-lead { font-size: clamp(0.88rem, 1.5vw, 1rem); color: rgba(255,255,255,0.8); max-width: 500px; line-height: 2; margin-bottom: 48px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; font-family: var(--font-en); z-index: 1;
}
.scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--color-accent), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine {
  0%      { transform: scaleY(0); transform-origin: top; }
  50%     { transform: scaleY(1); transform-origin: top; }
  50.01%  { transform-origin: bottom; }
  100%    { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   PHILOSOPHY (HOME)
   ============================================================ */
.philosophy { padding: 100px 0; }
.philosophy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.philosophy-text .tag { display: inline-block; font-family: var(--font-en); font-size: 0.75rem; letter-spacing: 0.3em; color: var(--color-accent); text-transform: uppercase; margin-bottom: 20px; }
.philosophy-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); color: var(--color-primary); line-height: 1.6; margin-bottom: 28px; letter-spacing: 0.05em; }
.philosophy-text p { color: var(--color-text-light); line-height: 2.1; margin-bottom: 16px; font-size: 0.95rem; }
.philosophy-image { position: relative; }
.philosophy-image .img-wrap { aspect-ratio: 4/3; overflow: hidden; }
.philosophy-image .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.philosophy-image:hover .img-wrap img { transform: scale(1.04); }
.philosophy-image .img-deco { position: absolute; top: -20px; right: -20px; width: 120px; height: 120px; border: 2px solid var(--color-accent); z-index: -1; }

/* ============================================================
   BUSINESS CARDS (HOME overview)
   ============================================================ */
.services { padding: 100px 0; }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* 5-column variant for business page */
.service-cards-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

.service-card { background: #fff; overflow: hidden; transition: all var(--transition); box-shadow: 0 2px 16px rgba(0,0,0,0.05); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-card-img { height: 200px; position: relative; overflow: hidden; }
.service-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,39,68,0.6), transparent 60%); }
.service-card-img .card-bg { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.6s ease; }
.service-card:hover .card-bg { transform: scale(1.06); }
.service-card-img .card-number { position: absolute; bottom: 16px; left: 20px; font-family: var(--font-en); font-size: 2.2rem; font-weight: 700; color: rgba(255,255,255,0.3); z-index: 1; line-height: 1; }
.service-card-body { padding: 24px 20px 28px; }
.service-card-body .card-label { font-family: var(--font-en); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--color-accent); text-transform: uppercase; margin-bottom: 8px; }
.service-card-body h3 { font-size: 1rem; color: var(--color-primary); margin-bottom: 12px; letter-spacing: 0.05em; }
.service-card-body p { font-size: 0.84rem; color: var(--color-text-light); line-height: 1.9; margin-bottom: 16px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; color: var(--color-accent); letter-spacing: 0.1em; }
.card-link::after { content: '→'; transition: transform var(--transition); }
.card-link:hover::after { transform: translateX(4px); }

/* image backgrounds */
.bg-commercial { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=600&q=80'); }
.bg-realestate  { background-image: url('https://images.unsplash.com/photo-1580587771525-78b9dba3b914?w=600&q=80'); }
.bg-rental      { background-image: url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=600&q=80'); }
.bg-investment  { background-image: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=600&q=80'); }
.bg-restaurant  { background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=600&q=80'); }

/* ============================================================
   NEWS (HOME)
   ============================================================ */
.news { padding: 100px 0; }
.news-inner { display: grid; grid-template-columns: 1fr 3fr; gap: 80px; align-items: start; }
.news-side { position: sticky; top: calc(var(--header-height) + 40px); }
.news-side .section-title { text-align: left; margin-bottom: 28px; }
.news-side .section-title h2::after { left: 0; transform: none; }
.news-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--color-border); cursor: pointer; }
.news-item:first-child { border-top: 1px solid var(--color-border); }
.news-item:hover .news-title { color: var(--color-accent); }
.news-date { flex-shrink: 0; font-family: var(--font-en); font-size: 0.82rem; color: var(--color-text-light); letter-spacing: 0.08em; padding-top: 2px; }
.news-cat { flex-shrink: 0; display: inline-block; font-size: 0.68rem; letter-spacing: 0.1em; color: var(--color-accent); border: 1px solid var(--color-accent); padding: 2px 10px; height: fit-content; margin-top: 2px; }
.news-title { font-size: 0.92rem; color: var(--color-text); line-height: 1.7; transition: color var(--transition); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  height: 300px;
  display: flex; align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, rgba(26,39,68,0.88) 0%, rgba(15,26,51,0.80) 100%),
              url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover no-repeat;
}
.page-hero-inner { }
.page-hero .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.page-hero .breadcrumb a:hover { color: var(--color-accent); }
.page-hero .breadcrumb span { color: var(--color-accent); }
.page-hero .page-title { font-family: var(--font-en); font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; letter-spacing: 0.15em; font-weight: 400; margin-bottom: 8px; }
.page-hero .page-title-jp { font-size: 0.85rem; color: rgba(255,255,255,0.6); letter-spacing: 0.2em; }

/* ============================================================
   INNER PAGE TAB NAV
   ============================================================ */
.page-tab-nav {
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: var(--header-height); z-index: 100;
}
.page-tab-nav ul { display: flex; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.page-tab-nav ul li a {
  display: block; padding: 16px 28px;
  font-size: 0.84rem; color: var(--color-text-light);
  letter-spacing: 0.1em; border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.page-tab-nav ul li a:hover { color: var(--color-primary); }
.page-tab-nav ul li a.active { color: var(--color-accent); border-bottom-color: var(--color-accent); font-weight: 600; }

/* ============================================================
   COMPANY PAGE
   ============================================================ */
.message-section { padding: 100px 0; }
.message-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.message-text .tag { display: inline-block; font-family: var(--font-en); font-size: 0.75rem; letter-spacing: 0.3em; color: var(--color-accent); text-transform: uppercase; margin-bottom: 20px; }
.message-text h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--color-primary); line-height: 1.7; margin-bottom: 28px; }
.message-text p { font-size: 0.92rem; color: var(--color-text-light); line-height: 2.2; margin-bottom: 16px; }
.message-text .sign { margin-top: 32px; font-size: 0.9rem; color: var(--color-primary); font-weight: 600; letter-spacing: 0.1em; }
.message-img { aspect-ratio: 4/3; overflow: hidden; }
.message-img img { width: 100%; height: 100%; object-fit: cover; }

.profile-table { width: 100%; border-collapse: collapse; }
.profile-table tr { border-bottom: 1px solid var(--color-border); }
.profile-table th { width: 200px; padding: 22px 24px; font-size: 0.88rem; font-weight: 600; color: var(--color-primary); background: var(--color-bg-light); vertical-align: top; text-align: left; letter-spacing: 0.05em; }
.profile-table td { padding: 22px 24px; font-size: 0.9rem; color: var(--color-text); line-height: 1.9; vertical-align: top; }

/* History / 沿革 */
.history-list { position: relative; padding-left: 40px; }
.history-list::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: var(--color-border); }
.history-item { position: relative; padding-bottom: 40px; }
.history-item:last-child { padding-bottom: 0; }
.history-item::before { content: ''; position: absolute; left: -36px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--color-accent); }
.history-year { font-family: var(--font-en); font-size: 1.1rem; font-weight: 600; color: var(--color-primary); letter-spacing: 0.1em; margin-bottom: 8px; }
.history-events li { font-size: 0.9rem; color: var(--color-text-light); line-height: 1.9; padding-left: 16px; position: relative; }
.history-events li::before { content: '—'; position: absolute; left: 0; color: var(--color-accent); }

/* ============================================================
   BUSINESS PAGE
   ============================================================ */
.business-section { padding: 100px 0; }
.business-block { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 100px; }
.business-block:last-child { margin-bottom: 0; }
.business-block.reverse { direction: rtl; }
.business-block.reverse > * { direction: ltr; }
.business-block-img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.business-block-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.business-block:hover .business-block-img img { transform: scale(1.04); }
.business-block-img .block-num { position: absolute; top: 20px; left: 20px; font-family: var(--font-en); font-size: 3rem; font-weight: 700; color: rgba(255,255,255,0.25); line-height: 1; }
.business-block-text .tag { display: inline-block; font-family: var(--font-en); font-size: 0.72rem; letter-spacing: 0.3em; color: var(--color-accent); border-left: 2px solid var(--color-accent); padding-left: 12px; text-transform: uppercase; margin-bottom: 20px; }
.business-block-text h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--color-primary); margin-bottom: 20px; letter-spacing: 0.05em; }
.business-block-text p { font-size: 0.92rem; color: var(--color-text-light); line-height: 2.1; margin-bottom: 16px; }
.business-features { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.business-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.88rem; color: var(--color-text); }
.business-features li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   ACCESS PAGE
   ============================================================ */
.access-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.access-info .info-item { display: flex; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--color-border); }
.access-info .info-item:first-child { border-top: 1px solid var(--color-border); }
.info-label { flex-shrink: 0; width: 80px; font-size: 0.8rem; color: var(--color-accent); font-weight: 600; letter-spacing: 0.1em; padding-top: 2px; }
.info-value { font-size: 0.9rem; color: var(--color-text); line-height: 1.9; }
.map-wrap { aspect-ratio: 4/3; overflow: hidden; background: #ddd; }
.map-wrap iframe { width: 100%; height: 100%; border: none; }
.map-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #e8e8e0, #d8d8d0); display: flex; align-items: center; justify-content: center; color: var(--color-text-light); font-size: 0.9rem; letter-spacing: 0.1em; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 100px 0; }
.contact-inner { display: grid; grid-template-columns: 2fr 3fr; gap: 80px; align-items: start; }
.contact-info-item { display: flex; align-items: flex-start; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--color-border); }
.contact-info-item:first-child { border-top: 1px solid var(--color-border); }
.contact-info-icon { width: 44px; height: 44px; background: var(--color-bg-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.contact-info-item h4 { font-size: 0.8rem; color: var(--color-accent); letter-spacing: 0.1em; margin-bottom: 6px; }
.contact-info-item p { font-size: 0.9rem; color: var(--color-text); line-height: 1.8; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--color-primary); letter-spacing: 0.08em; margin-bottom: 8px; }
.form-group label .req { color: #e00055; margin-left: 6px; font-size: 0.7rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  font-family: var(--font-jp); font-size: 0.9rem; color: var(--color-text);
  background: #fff; border: 1px solid var(--color-border);
  outline: none; transition: border-color var(--transition); appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--color-accent); }
.form-group textarea { resize: vertical; min-height: 160px; }
.form-note { font-size: 0.78rem; color: var(--color-text-light); line-height: 1.9; margin-bottom: 28px; }
.form-note a { color: var(--color-accent); text-decoration: underline; }
.form-submit { text-align: center; }
.form-submit .btn { min-width: 240px; justify-content: center; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 100px 0; text-align: center; color: #fff;
  background: linear-gradient(135deg, rgba(26,39,68,0.92) 0%, rgba(15,26,51,0.88) 100%),
              url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover no-repeat;
}
.cta-banner .section-title .en   { color: rgba(255,255,255,0.5); }
.cta-banner .section-title h2    { color: #fff; }
.cta-banner .section-title h2::after { background: var(--color-accent); }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 40px; font-size: 0.95rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--color-bg-dark); color: rgba(255,255,255,0.7); padding: 80px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo-en { font-family: var(--font-en); font-size: 1.8rem; color: #fff; letter-spacing: 0.08em; margin-bottom: 4px; }
.footer-brand .logo-jp { font-size: 0.72rem; color: var(--color-accent); letter-spacing: 0.2em; margin-bottom: 20px; }
.footer-brand p { font-size: 0.82rem; line-height: 2; color: rgba(255,255,255,0.55); }
.footer-nav h4 { font-family: var(--font-en); font-size: 0.8rem; letter-spacing: 0.2em; color: #fff; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-nav ul li { margin-bottom: 10px; }
.footer-nav ul li a { font-size: 0.82rem; color: rgba(255,255,255,0.55); transition: color var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-nav ul li a::before { content: ''; display: block; width: 12px; height: 1px; background: var(--color-accent); flex-shrink: 0; }
.footer-nav ul li a:hover { color: var(--color-accent); }
.footer-bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom small { font-size: 0.75rem; color: rgba(255,255,255,0.35); letter-spacing: 0.05em; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.75rem; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-links a:hover { color: var(--color-accent); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .global-nav { display: none; }
  .hamburger  { display: flex; }

  section,
  .philosophy, .services, .news, .message-section,
  .business-section, .contact-section, .cta-banner { padding: 80px 0; }

  .philosophy-inner { grid-template-columns: 1fr; gap: 48px; }
  .philosophy-image { order: -1; }
  .philosophy-image .img-deco { display: none; }

  .service-cards   { grid-template-columns: 1fr 1fr; }
  .service-cards-5 { grid-template-columns: repeat(3, 1fr); }

  .news-inner { grid-template-columns: 1fr; gap: 40px; }
  .news-side  { position: static; }

  .access-inner  { grid-template-columns: 1fr; }
  .message-inner { grid-template-columns: 1fr; gap: 48px; }
  .business-block { grid-template-columns: 1fr; gap: 40px; }
  .business-block.reverse { direction: ltr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row      { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr 1fr; gap: 40px; }
  .profile-table th { width: 140px; }

  .page-tab-nav ul { overflow-x: auto; gap: 0; }
  .page-tab-nav ul li a { padding: 14px 18px; white-space: nowrap; }

  /* 物件詳細ページ 2カラム → 1カラム */
  .detail-2col {
    flex-direction: column !important;
    gap: 32px !important;
    align-items: stretch !important;
  }
  .detail-2col > div {
    flex: none !important;
    width: 100% !important;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-height: 64px; }

  section,
  .philosophy, .services, .news, .message-section,
  .business-section, .contact-section, .cta-banner { padding: 56px 0; }

  /* セクションタイトル余白縮小 */
  .section-title { margin-bottom: 40px; }

  .hero-title  { font-size: 2rem; }
  .hero-lead   { font-size: 0.88rem; }
  /* ヒーローリード文の強制改行を非表示 */
  .hero-lead br { display: none; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* フィロソフィー画像との間隔縮小 */
  .philosophy-inner { gap: 36px; }

  .service-cards   { grid-template-columns: 1fr; }
  .service-cards-5 { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-links  { flex-wrap: wrap; justify-content: center; }

  .cta-banner .cta-actions { flex-direction: column; align-items: center; }
  .cta-banner .cta-actions .btn { width: 100%; max-width: 280px; justify-content: center; }

  .page-hero { height: 220px; }

  .profile-table, .profile-table tbody, .profile-table tr,
  .profile-table th, .profile-table td { display: block; }
  .profile-table th { width: 100%; padding: 12px 16px; border-bottom: none; }
  .profile-table td { padding: 12px 16px 24px; }

  .history-list { padding-left: 28px; }

  /* スペックテーブル（物件詳細） */
  .spec-table td:first-child { white-space: normal; width: 110px; }

  /* ニュース一覧：バッジを inline に保つ */
  .news-item { flex-wrap: wrap; gap: 8px 12px; align-items: flex-start; }
  .news-cat  { align-self: flex-start; width: auto; }
  .news-title { width: 100%; }

  /* ロゴ */
  .site-logo .logo-jp { font-size: 1rem; letter-spacing: 0.08em; }

  /* 詳細ヒーローテキスト余白縮小 */
  .detail-hero-text { padding: 0 24px !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.7rem; }
  .btn { padding: 12px 24px; font-size: 0.85rem; }
  .service-cards-5 { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr; }

  /* ロゴテキスト縮小 */
  .site-logo .logo-divider { display: none; }
  .site-logo .logo-jp { font-size: 0.85rem; letter-spacing: 0.06em; margin-left: 8px; }

  /* ニュース縦並び・バッジ幅は内容に合わせる */
  .news-item { flex-direction: column; gap: 4px; align-items: flex-start; }
  .news-cat  { width: auto; }
  .news-date { font-size: 0.75rem; }

  /* セクションタイトル余白縮小 */
  .section-title { margin-bottom: 32px; }
  .section-title h2 { font-size: 1.4rem; }
  .section-title p  { font-size: 0.88rem; }

  /* ニュースサイドのボタン余白 */
  .news-side .section-title { margin-bottom: 20px; }

  /* フォーム */
  .form-submit .btn { width: 100%; justify-content: center; }

  /* アクセス情報 */
  .access-info .info-item { flex-direction: column; gap: 4px; }
  .info-label { width: auto; }

  /* メッセージセクション画像との間隔 */
  .message-inner { gap: 32px; }

  /* CTAバナーのパディング縮小 */
  .cta-banner { padding: 48px 0; }
}
