/* =========================================================
   ORLAND Co., Ltd. - GeoSite Demo ver.1
   MODERN YOKOHAMA × REAL ESTATE
========================================================= */

:root {
  --color-base: #F7F7F4;
  --color-text: #24282C;
  --color-navy: #253B4A;
  --color-bluegray: #8C9BA3;
  --color-section: #EEF1F2;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;
  --container-width: 1160px;
  --transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  color: var(--color-text);
  background: var(--color-base);
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Demo Notice ---------- */
.demo-notice {
  background: var(--color-navy);
  color: #fff;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.03em;
  padding: 7px 16px;
  position: relative;
  z-index: 200;
}

/* ---------- Fade in animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Section common ---------- */
.section-tag {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--color-navy);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-tag.light { color: #C9D3D8; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.section-head.light h2 { color: #fff; }
.section-desc {
  color: var(--color-bluegray);
  font-size: 14.5px;
  line-height: 1.9;
}
.section-head.light .section-desc { color: #C9D3D8; }

.note {
  font-size: 12.5px;
  color: var(--color-bluegray);
  margin-top: 14px;
}
.note.center { text-align: center; margin-top: 32px; }

section { padding: 100px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 36px;
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 500;
  border-radius: 2px;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--color-navy);
  color: #fff;
}
.btn-primary:hover { background: #1a2c38; }

.btn-outline {
  border: 1px solid var(--color-navy);
  color: var(--color-navy);
}
.btn-outline:hover { background: var(--color-navy); color: #fff; }

.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  background: rgba(247,247,244,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(36,40,44,0.06);
}
.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-text);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 44px;
}
.main-nav ul {
  display: flex;
  gap: 36px;
}
.main-nav a {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 4px;
}
.main-nav ul a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--color-navy);
  transition: width var(--transition);
}
.main-nav ul a:hover::after { width: 100%; }
.nav-contact { padding: 12px 28px; font-size: 13px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 210;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
  margin: 0 auto;
}
.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 ---------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 78%;
  max-width: 340px;
  height: 100vh;
  background: var(--color-base);
  z-index: 205;
  padding: 100px 40px 40px;
  transition: right 0.45s cubic-bezier(0.25,0.1,0.25,1);
  display: flex;
  flex-direction: column;
  gap: 40px;
  box-shadow: -8px 0 30px rgba(0,0,0,0.08);
}
.mobile-menu.open { right: 0; }
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-menu ul a {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.mobile-menu .btn { width: 100%; }

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36,40,44,0.45);
  z-index: 204;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}
.menu-overlay.open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,30,36,0.55) 0%, rgba(23,30,36,0.45) 45%, rgba(23,30,36,0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  color: #fff;
}
.eyebrow {
  font-family: var(--font-en);
  font-size: 12.5px;
  letter-spacing: 0.26em;
  color: #E3E8EA;
  margin-bottom: 26px;
  font-weight: 500;
}
.hero-content h1 {
  font-size: 46px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 26px;
}
.hero-sub {
  font-size: 16px;
  color: #E9ECEE;
  margin-bottom: 42px;
  font-weight: 300;
}
.hero-cta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.3);
  overflow: hidden;
}
.scroll-indicator span {
  display: block;
  width: 100%;
  height: 20px;
  background: #fff;
  animation: scrollMove 2s infinite ease-in-out;
}
@keyframes scrollMove {
  0% { transform: translateY(-20px); }
  100% { transform: translateY(56px); }
}

/* ---------- About ---------- */
.about { background: var(--color-base); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 2px;
}
.about-text h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 28px;
}
.about-text .lead {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
}
.about-text p { color: #45494D; font-size: 14.5px; margin-bottom: 10px; }

/* ---------- Service ---------- */
.service { background: var(--color-section); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(36,40,44,0.1);
}
.service-card-img { height: 220px; overflow: hidden; }
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 32px 28px 36px; }
.service-num {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--color-bluegray);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.service-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0 12px;
}
.service-card-body p {
  font-size: 13.5px;
  color: #51565B;
}

/* ---------- Consultation ---------- */
.consultation {
  background: var(--color-navy);
  color: #fff;
}
.consult-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.consult-item {
  border: 1px solid rgba(255,255,255,0.18);
  padding: 44px 28px;
  text-align: center;
  border-radius: 2px;
  transition: background var(--transition), border-color var(--transition);
}
.consult-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
}
.consult-icon {
  font-family: var(--font-en);
  font-size: 15px;
  color: #9FB0B9;
  margin-bottom: 18px;
  letter-spacing: 0.1em;
}
.consult-item p { font-size: 15.5px; font-weight: 500; }

/* ---------- Flow ---------- */
.flow { background: var(--color-base); }
.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.flow-step {
  padding: 0 24px;
  position: relative;
  text-align: center;
}
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  right: -2px;
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--color-bluegray) 0, var(--color-bluegray) 4px, transparent 4px, transparent 9px);
}
.flow-step-num {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  background: var(--color-base);
  padding: 0 10px;
}
.flow-step h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.flow-step p { font-size: 13px; color: var(--color-bluegray); }

/* ---------- FAQ ---------- */
.faq { background: var(--color-section); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(36,40,44,0.12);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 26px 8px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
}
.faq-icon {
  font-family: var(--font-en);
  font-size: 18px;
  color: var(--color-navy);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 8px;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 8px 26px;
}
.faq-answer p { font-size: 13.5px; color: #51565B; }

/* ---------- Company ---------- */
.company { background: var(--color-base); }
.company-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table tr { border-bottom: 1px solid rgba(36,40,44,0.1); }
.company-table th, .company-table td {
  text-align: left;
  padding: 18px 10px;
  font-size: 14px;
  font-weight: 400;
  vertical-align: top;
}
.company-table th {
  width: 130px;
  color: var(--color-bluegray);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.company-table a { color: var(--color-navy); font-weight: 500; }
.company-map {
  background: var(--color-section);
  border-radius: 2px;
  padding: 44px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 180px;
}
.map-link { gap: 10px; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 140px 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,24,29,0.82), rgba(18,24,29,0.88));
}
.cta-content { position: relative; z-index: 1; color: #fff; }
.cta-content h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 36px;
}
.phone-link {
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-block;
  border-bottom: 2px solid rgba(255,255,255,0.4);
  padding-bottom: 8px;
  transition: border-color var(--transition), opacity var(--transition);
}
.phone-link:hover { border-color: #fff; opacity: 0.85; }
.cta-hours { margin-top: 18px; font-size: 13px; color: #C9D3D8; letter-spacing: 0.05em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-text);
  color: #C9CDD0;
  padding: 72px 0 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 18px;
}
.footer-brand p { font-size: 13px; margin-bottom: 8px; line-height: 1.7; }
.footer-brand a { color: #C9CDD0; }
.footer-nav ul { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a {
  font-family: var(--font-en);
  font-size: 12.5px;
  letter-spacing: 0.08em;
}
.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 11.5px;
  color: #888D90;
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .about-grid { gap: 48px; }
  .hero-content h1 { font-size: 38px; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }

  section { padding: 72px 0; }

  .hero-content h1 { font-size: 32px; }
  .hero-sub { font-size: 14.5px; margin-bottom: 32px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image img { height: 280px; }
  .about-text h2 { font-size: 24px; }

  .service-grid { grid-template-columns: 1fr; gap: 20px; }

  .consult-grid { grid-template-columns: 1fr; gap: 16px; }
  .consult-item { padding: 32px 24px; }

  .flow-list { grid-template-columns: 1fr; gap: 36px; }
  .flow-step:not(:last-child)::after { display: none; }

  .company-grid { grid-template-columns: 1fr; gap: 28px; }
  .company-table th { width: 110px; font-size: 13px; }

  .cta { padding: 90px 0; }
  .cta-content h2 { font-size: 22px; }
  .phone-link { font-size: 32px; }

  .footer-grid { flex-direction: column; gap: 32px; }

  .section-head h2 { font-size: 24px; }
}

@media (max-width: 480px) {
  .header-inner { height: 64px; }
  .logo { font-size: 19px; }
  .btn { padding: 14px 24px; font-size: 13px; }
  .hero-content h1 { font-size: 27px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.2em; }
  .phone-link { font-size: 26px; }
  .cta-content h2 { font-size: 19px; }
  section { padding: 60px 0; }
}

@media (hover: none) {
  .service-card:hover { transform: none; box-shadow: none; }
  .service-card:hover .service-card-img img { transform: none; }
}
