/* ===== Ohtsubo Consulting Office ===== */
:root {
  --navy: #0d2a52;
  --navy-deep: #081c3a;
  --navy-light: #16407c;
  --gold: #c9a24b;
  --gold-light: #e0c37e;
  --ink: #1c2430;
  --gray: #5b6572;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-tint: #f4f7fa;
  --font-sans: "Noto Sans JP", -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --font-serif: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --font-en: "Montserrat", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--font-sans); color: var(--ink); background: var(--bg); line-height: 1.9; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--navy-light); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.section { padding: 96px 0; }
.pc-only { display: inline; }

/* ---- Section headings ---- */
.section-eyebrow {
  font-family: var(--font-en); font-size: 13px; letter-spacing: .22em;
  color: var(--gold); font-weight: 600; margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif); font-size: clamp(26px, 4vw, 38px);
  line-height: 1.5; font-weight: 700; margin-bottom: 40px; color: var(--navy);
}
.section-dark .section-title { color: #fff; }
.section-dark { background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 70%, var(--navy-light) 100%); color: #e8edf4; }
.section-tint { background: var(--bg-tint); }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 14px 36px; border-radius: 4px;
  font-weight: 700; text-decoration: none; font-size: 15px; letter-spacing: .06em;
  transition: opacity .25s, transform .25s; border: none; cursor: pointer;
}
.btn:hover { opacity: .85; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); color: var(--navy-deep); }
.btn-ghost { border: 1px solid rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-wide { width: 100%; font-size: 16px; padding: 16px; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(8, 28, 58, .92); backdrop-filter: blur(8px); box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 42px; height: 42px; border-radius: 6px; padding: 1px; background: #fff; box-sizing: border-box; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-ja { color: #fff; font-weight: 700; font-size: 15px; }
.brand-en { color: rgba(255,255,255,.65); font-family: var(--font-en); font-size: 10px; letter-spacing: .18em; }
.global-nav { display: flex; align-items: center; gap: 28px; }
.global-nav a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; }
.global-nav a:hover { color: var(--gold-light); }
.global-nav .nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-deep); padding: 9px 22px; border-radius: 4px; font-weight: 700;
}
.global-nav .nav-cta:hover { color: var(--navy-deep); opacity: .85; }
.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("hero.jpg") center 35% / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,28,58,.88) 0%, rgba(8,28,58,.62) 45%, rgba(8,28,58,.30) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 140px 24px 80px; width: 100%; }
.hero-eyebrow { font-family: var(--font-en); font-size: 13px; letter-spacing: .28em; color: var(--gold-light); font-weight: 600; margin-bottom: 20px; }
.hero-title {
  font-family: var(--font-serif); font-size: clamp(36px, 6.5vw, 64px);
  line-height: 1.4; font-weight: 700; margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.hero-lead { font-size: clamp(14px, 1.6vw, 17px); line-height: 2.1; margin-bottom: 40px; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-en); font-size: 10px; letter-spacing: .3em; color: rgba(255,255,255,.75);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span { width: 1px; height: 44px; background: rgba(255,255,255,.6); display: block; animation: scrollLine 2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollLine { 0% {transform: scaleY(0)} 50% {transform: scaleY(1)} 100% {transform: scaleY(0); transform-origin: bottom} }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.about-copy p { margin-bottom: 18px; color: var(--gray); }
.about-copy strong { color: var(--navy); }
.about-stats { display: grid; gap: 16px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 8px; padding: 20px 24px; display: flex; flex-direction: column;
  box-shadow: 0 4px 16px rgba(13,42,82,.06);
}
.stat-num { font-family: var(--font-en); font-size: 30px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.stat-num small { font-size: 15px; font-family: var(--font-sans); margin-left: 2px; }
.stat-label { font-size: 13px; color: var(--gray); }

/* ===== Services ===== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 36px 28px; backdrop-filter: blur(2px);
  transition: opacity .7s ease, transform .7s ease, border-color .3s;
}
.service-card:hover { border-color: var(--gold); }
.service-icon {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-deep); display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 19px; margin-bottom: 14px; color: #fff; font-weight: 700; }
.service-card p { font-size: 14px; line-height: 1.95; color: #c6d2e2; margin-bottom: 18px; }
.service-card strong { color: var(--gold-light); font-weight: 600; }
.service-card ul { list-style: none; border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; }
.service-card li { font-size: 13px; color: #dbe4f0; padding: 4px 0 4px 18px; position: relative; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 1.5px; background: var(--gold); }

/* ===== Strengths ===== */
.strength-list { display: grid; gap: 24px; }
.strength-item {
  display: flex; gap: 28px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 30px 34px; box-shadow: 0 4px 16px rgba(13,42,82,.05);
}
.strength-num { font-family: var(--font-en); font-size: 34px; font-weight: 600; color: var(--gold); line-height: 1; min-width: 58px; }
.strength-item h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.strength-item p { font-size: 14.5px; color: var(--gray); }

/* ===== Profile ===== */
.profile-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.profile-card {
  background: #fff; border-radius: 10px; padding: 36px;
  border-top: 4px solid var(--navy); box-shadow: 0 6px 24px rgba(13,42,82,.08);
}
.profile-name { font-family: var(--font-serif); font-size: 26px; color: var(--navy); }
.profile-name span { font-family: var(--font-en); font-size: 13px; color: var(--gray); font-weight: 500; margin-left: 10px; letter-spacing: .08em; }
.profile-role { font-size: 13px; color: var(--gold); font-weight: 700; margin: 4px 0 24px; }
.profile-meta div { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.profile-meta dt { min-width: 90px; font-weight: 700; color: var(--navy); }
.profile-meta dd { color: var(--gray); }
.cma-logo { height: 40px; vertical-align: middle; margin-left: 4px; }
.profile-links { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.profile-links a { font-size: 13.5px; color: var(--navy-light); }
.history-title { font-size: 16px; letter-spacing: .2em; color: var(--navy); margin-bottom: 20px; padding-left: 14px; border-left: 4px solid var(--gold); }
.timeline { list-style: none; position: relative; padding-left: 8px; }
.timeline li { display: flex; gap: 20px; padding: 0 0 26px 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.timeline li::after { content: ""; position: absolute; left: 4.5px; top: 22px; bottom: -4px; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.tl-year { font-family: var(--font-en); font-weight: 600; color: var(--navy); min-width: 92px; font-size: 14px; padding-top: 2px; }
.tl-body { font-size: 14.5px; color: var(--ink); }
.tl-body small { color: var(--gray); font-size: 12.5px; }

/* ===== Contact ===== */
.contact-lead { text-align: center; color: #c6d2e2; margin: -16px 0 40px; font-size: 15px; }
.contact .section-eyebrow, .contact .section-title { text-align: center; }
.contact-form {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 40px;
}
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.req, .opt { font-size: 11px; font-weight: 700; border-radius: 3px; padding: 2px 8px; margin-left: 8px; vertical-align: 1px; }
.req { background: var(--gold); color: var(--navy-deep); }
.opt { background: rgba(255,255,255,.2); color: #fff; }
.form-row input, .form-row textarea {
  width: 100%; padding: 13px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.95); font-size: 15px; font-family: var(--font-sans); color: var(--ink);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form-note { font-size: 12.5px; color: #aab8cc; margin-bottom: 20px; text-align: center; }
.form-note a { color: var(--gold-light); }

/* ===== Footer ===== */
.site-footer { background: var(--navy-deep); color: #aab8cc; padding: 48px 0 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-name { color: #fff; font-weight: 700; font-size: 15px; }
.footer-addr { font-size: 12.5px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: #aab8cc; text-decoration: none; font-size: 13px; }
.footer-nav a:hover { color: var(--gold-light); }
.copyright { text-align: center; font-size: 11.5px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); color: #7185a0; }

/* ===== Privacy page ===== */
.page-hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff; padding: 150px 0 64px; text-align: center;
}
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(24px, 4vw, 34px); }
.page-hero p { font-family: var(--font-en); letter-spacing: .24em; font-size: 12px; color: var(--gold-light); margin-top: 8px; }
.policy-body { max-width: 800px; margin: 0 auto; padding: 72px 24px 96px; }
.policy-body h2 { font-size: 19px; color: var(--navy); margin: 44px 0 14px; padding-left: 14px; border-left: 4px solid var(--gold); }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p, .policy-body li { font-size: 14.5px; color: var(--gray); margin-bottom: 12px; }
.policy-body ul { padding-left: 24px; margin-bottom: 12px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid, .profile-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .pc-only { display: none; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .brand-ja { font-size: 13px; }
  .nav-toggle {
    display: block; background: none; border: none; width: 40px; height: 40px;
    position: relative; cursor: pointer; z-index: 110;
  }
  .nav-toggle span {
    position: absolute; left: 9px; width: 22px; height: 2px; background: #fff;
    transition: transform .3s, opacity .3s, top .3s;
  }
  .nav-toggle span:nth-child(1) { top: 13px; }
  .nav-toggle span:nth-child(2) { top: 19px; }
  .nav-toggle span:nth-child(3) { top: 25px; }
  .nav-toggle.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }
  .global-nav {
    position: fixed; inset: 0; background: rgba(8,28,58,.97);
    flex-direction: column; justify-content: center; gap: 32px;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .global-nav.open { opacity: 1; pointer-events: auto; }
  .global-nav a { font-size: 17px; }
  .hero { min-height: 100svh; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .strength-item { flex-direction: column; gap: 12px; padding: 26px 24px; }
  .contact-form { padding: 28px 20px; }
  .footer-inner { flex-direction: column; }
}
