/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-dark:    #3a3a3a;
  --color-darker:  #1e1e1e;
  --color-text:    #3a3a3a;
  --color-muted:   #777777;
  --color-light:   #f7f7f7;
  --color-border:  #e0e0e0;
  --color-white:   #ffffff;
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.8;
  font-size: 15px;
  background: var(--color-white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}

/* ===== Utility ===== */
.section { padding: 80px 0; }
.section--gray { background: var(--color-light); }
.section-label {
  display: block;
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
}
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--color-darker);
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 15px;
  color: var(--color-muted);
  max-width: 640px;
  margin-bottom: 48px;
}

.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--color-dark);
  color: var(--color-white);
}
.btn--primary:hover { background: var(--color-darker); }
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--color-dark);
  color: var(--color-dark);
}
.btn--outline:hover { background: var(--color-dark); color: var(--color-white); }
.btn--outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.6);
  color: var(--color-white);
}
.btn--outline-white:hover { background: var(--color-white); color: var(--color-dark); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  height: 68px;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.site-logo img { height: 38px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 3px;
  color: var(--color-dark);
  transition: var(--transition);
  letter-spacing: .03em;
}
.site-nav a:hover,
.site-nav a.active { background: var(--color-light); }

.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown > a::after { content: '▾'; font-size: 9px; opacity: .5; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  min-width: 210px;
  padding: 6px 0;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--color-dark);
  border-radius: 0;
  transition: var(--transition);
}
.dropdown-menu a:hover { background: var(--color-light); }
.dropdown-menu a .ext { font-size: 11px; color: var(--color-muted); margin-left: 3px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero (index) ===== */
.hero {
  background: var(--color-darker);
  color: var(--color-white);
  padding: 110px 0 100px;
}
.hero-logo { margin-bottom: 44px; }
.hero-logo img { height: 44px; filter: brightness(0) invert(1); }
.hero-catch {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}
.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 2;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: var(--color-darker);
  color: var(--color-white);
  padding: 64px 0 52px;
}
.page-hero .breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
  letter-spacing: .04em;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.45); }
.page-hero h1 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.3;
}
.page-hero .sub {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
}

/* ===== Company table ===== */
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 160px;
  font-weight: 600;
  color: var(--color-darker);
  background: #f9f9f9;
  white-space: nowrap;
}

/* ===== Spot Consulting Page ===== */
.spot-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.spot-intro-text h2 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 700; margin-bottom: 16px; }
.spot-intro-text p { color: var(--color-muted); margin-bottom: 14px; font-size: 14px; }

.benefit-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.benefit-item {
  background: var(--color-white);
  border-left: 3px solid var(--color-dark);
  padding: 18px 20px;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.benefit-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.benefit-item p { font-size: 13px; color: var(--color-muted); line-height: 1.7; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.pricing-card {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 32px 26px;
  text-align: center;
  background: var(--color-white);
  transition: var(--transition);
}
.pricing-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.07); }
.pricing-card.featured {
  border-color: var(--color-dark);
  background: var(--color-dark);
  color: var(--color-white);
}
.pricing-card .badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  background: var(--color-darker);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.pricing-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.pricing-card .price { font-size: 30px; font-weight: 700; margin-bottom: 4px; }
.pricing-card.featured .price { color: rgba(255,255,255,.9); }
.pricing-card .price-note { font-size: 12px; color: var(--color-muted); margin-bottom: 18px; }
.pricing-card.featured .price-note { color: rgba(255,255,255,.5); }
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 26px; }
.pricing-card ul li { font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--color-border); }
.pricing-card.featured ul li { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.8); }
.pricing-card ul li::before { content: '— '; color: var(--color-muted); }
.pricing-card.featured ul li::before { color: rgba(255,255,255,.4); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 32px 28px;
  transition: var(--transition);
}
.service-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.07); }
.service-card .icon { font-size: 26px; margin-bottom: 16px; }
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 13px; color: var(--color-muted); line-height: 1.8; }
.service-card .card-link { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--color-dark); }
.service-card .card-link::after { content: ' →'; }

.flow-steps { display: flex; flex-direction: column; }
.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-border);
}
.flow-step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-dark);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}
.step-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.step-body p { font-size: 13px; color: var(--color-muted); }

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--color-darker);
  color: white;
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,.6); margin-bottom: 30px; font-size: 14px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.6);
  padding: 56px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 34px; filter: brightness(0) invert(1); opacity: .75; margin-bottom: 14px; }
.footer-brand p { font-size: 12px; line-height: 1.9; }
.footer-col h4 { font-size: 12px; font-weight: 600; color: white; margin-bottom: 14px; letter-spacing: .08em; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  font-size: 11px;
  text-align: center;
  color: rgba(255,255,255,.3);
  letter-spacing: .04em;
}

/* ===== Mobile Nav ===== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: 999;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-dark);
  padding: 8px;
  margin-bottom: 20px;
}
.mobile-nav a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
}
.mobile-nav .sub-title {
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--color-muted);
  text-transform: uppercase;
  padding: 18px 0 6px;
  border-bottom: none;
}
.mobile-nav .indent { padding-left: 14px; font-size: 14px; color: var(--color-muted); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 72px 0 64px; }
  .spot-intro-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .company-table th { width: 110px; }
  .hero-actions .btn { flex: 1; text-align: center; }
}
