/* ============================================
   and design International Realty
   Website Mockup - Shared Stylesheet
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "Yu Gothic", sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #C5A55A; text-decoration: none; transition: color .2s; }
a:hover { color: #B8963E; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.4; color: #333; }

/* ---------- Color Variables ---------- */
:root {
  --white: #FFFFFF;
  --light-gray: #F8F8F8;
  --border-gray: #E5E5E5;
  --text: #333333;
  --text-light: #777777;
  --logo-gray: #6B6B6B;
  --gold: #C5A55A;
  --gold-dark: #B8963E;
  --gold-light: #D4BA7A;
  --overlay: rgba(0, 0, 0, 0.45);
}

/* ---------- Utility ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-light { background: var(--light-gray); }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

.section-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  color: var(--text);
}
.section-title-en {
  display: block;
  font-size: 13px;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 48px;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border-gray);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 56px;
  width: auto;
}
.logo-text {
  font-size: 13px;
  color: var(--logo-gray);
  letter-spacing: 0.08em;
  line-height: 1.3;
}
.logo-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

/* Navigation */
.nav { display: flex; align-items: center; gap: 0; }
.nav a {
  display: block;
  padding: 8px 20px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color .2s;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.active { color: var(--gold); }
.nav a.active::after { transform: scaleX(1); }
.nav-cta {
  display: inline-block;
  margin-left: 12px;
  padding: 10px 24px;
  background: var(--gold);
  color: #fff !important;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background .2s;
}
.nav-cta:hover { background: var(--gold-dark); color: #fff !important; }
.nav-cta::after { display: none !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: .3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 80vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 76px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #2a2a2a;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}
.hero-content h1 {
  font-size: 38px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.hero-content p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
.hero-content .btn { font-size: 15px; padding: 14px 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 4px;
  transition: all .25s;
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--gold);
  border: 2px solid #fff;
}
.btn-white:hover {
  background: transparent;
  color: #fff;
}
.btn-lg { padding: 16px 44px; font-size: 16px; }

/* ---------- Cards (3-column) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}
.card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #ddd;
  position: relative;
}
.card-img-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 3px;
  letter-spacing: 0.06em;
}
.card-body {
  padding: 28px 24px;
}
.card-body h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.card-body p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link:hover { gap: 10px; }
.card-link::after { content: '→'; }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.feature {
  text-align: center;
  padding: 20px;
}
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  border-radius: 50%;
  font-size: 28px;
  color: var(--gold);
}
.feature h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.feature p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, #3a3a3a 0%, #1a1a1a 100%);
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}
.cta-section h2 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 12px;
}
.cta-section p {
  opacity: 0.8;
  margin-bottom: 28px;
  font-size: 15px;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page Header (sub pages) ---------- */
.page-header {
  margin-top: 76px;
  background: linear-gradient(135deg, #444 0%, #222 100%);
  padding: 64px 24px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(197,165,90,0.08) 0%, transparent 70%);
}
.page-header h1 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 8px;
  position: relative;
}
.page-header-en {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
}
.breadcrumb {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  position: relative;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Content Sections ---------- */
.content-block {
  padding: 48px 0;
}
.content-block + .content-block {
  border-top: 1px solid var(--border-gray);
}
.content-block h2 {
  font-size: 24px;
  margin-bottom: 8px;
}
.content-block .section-title-en {
  text-align: left;
  margin-bottom: 20px;
}
.content-block p {
  margin-bottom: 16px;
  line-height: 2;
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.img-placeholder {
  background: linear-gradient(135deg, #e0e0e0 0%, #ccc 100%);
  border-radius: 8px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

/* ---------- Table Styles ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table th,
.info-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-gray);
  font-size: 15px;
}
.info-table th {
  width: 200px;
  background: var(--light-gray);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.info-table td {
  color: var(--text);
}

/* ---------- Pricing ---------- */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}
.pricing-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  text-align: center;
  position: relative;
}
.pricing-card.featured {
  border: 2px solid var(--gold);
}
.pricing-card-badge {
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 0;
  letter-spacing: 0.08em;
}
.pricing-card-body {
  padding: 36px 28px;
}
.pricing-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.pricing-card .price {
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  margin: 16px 0 8px;
}
.pricing-card .price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
}
.pricing-card ul {
  text-align: left;
  margin: 24px 0;
}
.pricing-card li {
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border-gray);
  padding-left: 24px;
  position: relative;
}
.pricing-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.pricing-card .btn { width: 100%; }

/* ---------- Step / Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h4 {
  font-size: 15px;
  margin-bottom: 8px;
}
.step p {
  font-size: 13px;
  color: var(--text-light);
}

/* ---------- Footer ---------- */
.footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
  padding: 56px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.footer h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}
.footer-links a {
  display: block;
  padding: 5px 0;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p {
  font-size: 13px;
  margin-bottom: 6px;
}
.footer-contact a { color: var(--gold); }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards, .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse { direction: ltr; }
  .pricing-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-gray);
    padding: 16px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }
  .nav.open a { padding: 12px 24px; }
  .nav.open .nav-cta { margin: 8px 24px; text-align: center; }
  .cards, .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { height: 70vh; min-height: 420px; }
  .hero-content h1 { font-size: 26px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 24px; }
  .page-header { padding: 48px 24px; }
  .page-header h1 { font-size: 26px; }
  .info-table th { width: 120px; padding: 12px; font-size: 13px; }
  .info-table td { padding: 12px; font-size: 14px; }
}
