/* ===== Variables ===== */
:root {
  --c-navy: #15243d;
  --c-navy-light: #1f3958;
  --c-text: #2a2e35;
  --c-text-muted: #6b7280;
  --c-bg: #f6f7f9;
  --c-white: #ffffff;
  --c-border: #e2e5ea;
  --c-estate: #1f5c8b;
  --c-estate-light: #e8f1f7;
  --c-sports: #e8772b;
  --c-sports-light: #fdf0e4;
  --c-tech: #1f8a6b;
  --c-tech-light: #e3f3ec;
  --c-cta: #15243d;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(21, 36, 61, 0.08);
  --max-width: 1080px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.8;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  background: var(--c-white);
  color: var(--c-text);
  box-shadow: 0 1px 0 var(--c-border), 0 4px 12px rgba(21, 36, 61, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-logo-wrap {
  background: transparent;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo { height: 44px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name-en {
  display: block;
  font-family: "Century", "Bookman Old Style", "Big Caslon", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-estate);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.brand-name {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-tagline {
  display: block;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-top: 2px;
}
@media (min-width: 768px) {
  .brand-logo { height: 56px; }
  .brand-name-en { font-size: 1.25rem; }
  .brand-name { font-size: 1.5rem; }
}
.header-contact {
  display: none;
  text-align: right;
  font-size: 0.85rem;
  color: var(--c-text-muted);
}
.header-contact .tel-link {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-estate);
}
.nav-toggle {
  background: none;
  border: none;
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-navy);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

.site-nav {
  background: var(--c-navy-light);
  color: var(--c-white);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.site-nav.is-open { max-height: 360px; }
.site-nav ul {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 12px;
}
.site-nav li a {
  display: block;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}
.site-nav li a.is-current { color: #8fc1e8; font-weight: 700; }

@media (min-width: 768px) {
  .header-contact { display: block; }
  .nav-toggle { display: none; }
  .site-nav { max-height: none; }
  .site-nav ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0;
  }
  .site-nav li a { border-bottom: none; padding: 14px 16px; }
  .site-nav li a:hover { background: rgba(255, 255, 255, 0.08); }
}

/* ===== Page header (sub pages) ===== */
.page-header {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: 32px 0;
}
.page-header h1 { font-size: 1.6rem; font-weight: 700; }
.breadcrumb {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-top: 8px;
}
.breadcrumb a { color: var(--c-estate); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-estate) 100%);
  color: var(--c-white);
  padding: 72px 0;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: #9fd1f0;
  margin-bottom: 12px;
}
.hero-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
}
.hero-lead {
  max-width: 560px;
  color: #dbe6f3;
}
.hero-photos {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6%;
  min-height: 220px;
  padding: 10px 0;
}
.hero-photo {
  width: 48%;
  max-width: 280px;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  -webkit-mask-image: radial-gradient(ellipse 68% 68% at center, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 68% 68% at center, #000 58%, transparent 100%);
}
.hero-photo--a { transform: translateY(14px) rotate(-3deg); }
.hero-photo--b { transform: translateY(-14px) rotate(3deg); }
.hero-photo-credit {
  position: absolute;
  right: 0;
  bottom: -18px;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
}
@media (min-width: 768px) {
  .hero-title { font-size: 2.6rem; }
}
@media (min-width: 992px) {
  .hero-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .hero-text { flex: 1 1 52%; }
  .hero-photos { flex: 1 1 44%; }
}

/* ===== Section generic ===== */
section { padding: 56px 0; }
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 36px;
}

/* ===== Strengths ===== */
.strengths-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.strength-card {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  text-align: center;
}
.strength-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--c-estate);
}
.strength-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.strength-card p { font-size: 0.9rem; color: var(--c-text-muted); }
@media (min-width: 768px) {
  .strengths-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Business cards ===== */
.business-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.business-card {
  display: block;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.business-card:hover { transform: translateY(-4px); }
.business-card--realestate { background: var(--c-estate-light); border: 1px solid #c9dded; }
.business-card--sports { background: var(--c-sports-light); border: 1px solid #f3d8b8; }
.business-card--tech { background: var(--c-tech-light); border: 1px solid #bce2d2; }
.business-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
  color: var(--c-white);
}
.business-card--realestate .tag { background: var(--c-estate); }
.business-card--sports .tag { background: var(--c-sports); }
.business-card--tech .tag { background: var(--c-tech); }
.business-card h3 { font-size: 1.25rem; margin-bottom: 12px; word-break: keep-all; }
.business-card p { color: var(--c-text); margin-bottom: 16px; font-size: 0.92rem; }
.business-card .more { font-weight: 700; font-size: 0.88rem; }
.business-card--realestate .more { color: var(--c-estate); }
.business-card--sports .more { color: var(--c-sports); }
.business-card--tech .more { color: var(--c-tech); }
@media (min-width: 768px) {
  .business-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* ===== Service detail sections ===== */
.service-block { padding: 48px 0; }
.service-block--realestate { background: var(--c-estate-light); }
.service-block--sports { background: var(--c-sports-light); }
.service-block--tech { background: var(--c-tech-light); }
.service-block .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  color: var(--c-white);
  margin-bottom: 16px;
}
.service-block--realestate .tag { background: var(--c-estate); }
.service-block--sports .tag { background: var(--c-sports); }
.service-block--tech .tag { background: var(--c-tech); }
.service-block h2 { font-size: 1.4rem; margin-bottom: 28px; }
.service-item {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.service-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-item p { color: var(--c-text-muted); font-size: 0.92rem; }
.service-item a { color: var(--c-estate); font-weight: 700; }

/* ===== Company summary / definition lists ===== */
.info-table { background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.info-table dl { display: grid; grid-template-columns: 1fr; }
.info-table > dl > div { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--c-border); }
.info-table dt {
  background: #fafbfc;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-text-muted);
}
.info-table dd { padding: 14px 20px; font-size: 0.92rem; }
@media (min-width: 768px) {
  .info-table > dl > div { grid-template-columns: 180px 1fr; }
}

.message-box {
  background: var(--c-white);
  border-left: 4px solid var(--c-estate);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
  margin-bottom: 36px;
  color: var(--c-text);
}
.message-box p { margin-bottom: 18px; }
.message-box p:last-of-type { margin-bottom: 0; }
.message-signature {
  margin-top: 24px;
  text-align: right;
  font-weight: 700;
  color: var(--c-text);
}

/* ===== CTA ===== */
.cta {
  background: var(--c-navy);
  color: var(--c-white);
  text-align: center;
}
.cta h2 { font-size: 1.5rem; margin-bottom: 12px; }
.cta p { color: #c7d2e3; margin-bottom: 24px; }
.btn {
  display: inline-block;
  background: var(--c-sports);
  color: var(--c-white);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 30px;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; }

/* ===== Map ===== */
.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Recruit ===== */
.recruit-status {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 28px;
  text-align: center;
}
.recruit-status p.lead { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.recruit-status p.sub { color: var(--c-text-muted); margin-bottom: 24px; }

/* ===== Generic content ===== */
.lead-paragraph { font-size: 1.05rem; margin-bottom: 28px; }
.plain-list { padding-left: 1.4em; list-style: disc; }
.plain-list li { margin-bottom: 6px; }
hr { border: none; border-top: 1px solid var(--c-border); margin: 28px 0; }

/* ===== Footer ===== */
.site-footer { background: var(--c-navy); color: #aab6c9; margin-top: 0; }
.footer-inner { padding: 36px 24px; max-width: var(--max-width); margin: 0 auto; text-align: center; }
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}
.footer-nav a:hover { color: var(--c-white); }
.copyright { font-size: 0.75rem; }
