:root {
  --navy: #0f2a4a;
  --navy-deep: #08182c;
  --navy-light: #1f4377;
  --gold: #b89a5e;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #1c2a3a;
  --text-muted: #5a6675;
  --border: #e3e8ef;
  --max: 1120px;
  --radius: 4px;
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.7; }

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

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: "Noto Serif JP", serif; font-weight: 700; font-size: 18px; color: var(--navy); letter-spacing: 0.05em; }
.brand-en { font-size: 10px; letter-spacing: 0.2em; color: var(--text-muted); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--text); }
.nav-cta {
  background: var(--navy); color: #fff !important;
  padding: 10px 20px; border-radius: var(--radius);
  font-size: 13px;
}
.nav-cta:hover { background: var(--navy-light); opacity: 1; }
.nav-cta.is-active { background: var(--navy-deep); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; padding: 0;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--navy);
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: #fff;
  padding: 96px 0 112px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -100px; bottom: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(184,154,94,0.15) 0%, transparent 70%);
}
.hero-eyebrow {
  font-size: 12px; letter-spacing: 0.3em; color: var(--gold);
  margin: 0 0 20px;
}
.hero-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700; line-height: 1.5;
  margin: 0 0 28px;
}
.hero-lead {
  font-size: 16px; line-height: 2;
  color: rgba(255,255,255,0.85);
  margin: 0 0 40px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px; font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 1px solid transparent;
  letter-spacing: 0.05em;
}
.btn-primary { background: var(--gold); color: #fff !important; }
.btn-primary:hover { background: #a0844f; opacity: 1; }
.btn-outline { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); opacity: 1; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow {
  font-size: 12px; letter-spacing: 0.3em; color: var(--navy);
  font-weight: 500;
  margin: 0 0 12px;
}
.section-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700; color: var(--navy-deep);
  margin: 0 0 24px;
  position: relative; padding-bottom: 16px;
}
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 40px; height: 2px; background: var(--gold);
}
.section-lead { color: var(--text-muted); margin: 0 0 48px; }

/* ===== Message ===== */
.message-body p { margin: 0 0 1.6em; }
.signature {
  text-align: right; font-family: "Noto Serif JP", serif;
  font-size: 17px; color: var(--navy-deep);
  margin-top: 48px !important;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15,42,74,0.08);
}
.service-num {
  font-family: "Noto Serif JP", serif;
  font-size: 14px; color: var(--gold); letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.service-card h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 19px; color: var(--navy-deep);
  margin: 0 0 16px;
}
.service-card p { font-size: 14px; line-height: 1.9; color: var(--text-muted); margin: 0 0 16px; }
.service-card ul {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--border); padding-top: 16px;
}
.service-card li {
  font-size: 13px; color: var(--text); padding-left: 16px; position: relative;
  margin-bottom: 6px;
}
.service-card li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 6px; height: 1px; background: var(--gold);
}

/* ===== Profile ===== */
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
.profile-photo img {
  border-radius: var(--radius);
  filter: grayscale(8%);
}
.profile-name {
  font-family: "Noto Serif JP", serif;
  font-size: 22px; color: var(--navy-deep);
  margin: 0 0 4px;
}
.profile-name span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px; color: var(--text-muted); letter-spacing: 0.15em;
  margin-left: 12px;
}
.profile-title {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.15em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 12px;
  margin: 0 0 24px;
}
.profile-body p { margin: 0 0 1.4em; font-size: 15px; }

/* ===== About ===== */
.about-list { margin: 0 0 48px; }
.about-list > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.about-list dt {
  font-weight: 500; color: var(--navy); font-size: 14px;
}
.about-list dd { margin: 0; font-size: 15px; }

/* ===== CTA ===== */
.cta-section {
  background: var(--navy-deep);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 16px;
}
.cta-section p { color: rgba(255,255,255,0.8); margin: 0 0 32px; }

/* ===== Page head (contact) ===== */
.page-head {
  background: var(--bg-alt);
  padding: 80px 0 48px;
  text-align: center;
}
.page-head .section-title { display: inline-block; }

/* ===== Form ===== */
.form-embed {
  background: #fff; padding: 24px;
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 56px;
}
.form-embed iframe { display: block; width: 100%; }
.contact-fallback {
  padding: 32px;
  background: var(--bg-alt);
  border-left: 3px solid var(--gold);
}
.contact-fallback h2 { font-size: 17px; color: var(--navy-deep); margin: 0 0 12px; }
.contact-fallback ul { list-style: none; padding: 0; margin: 0; }
.contact-fallback li { padding: 6px 0; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 24px;
  font-size: 13px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}
.footer-name {
  font-family: "Noto Serif JP", serif;
  font-size: 16px; color: #fff;
  margin: 0 0 8px;
}
.footer-addr, .footer-tel { margin: 0 0 4px; line-height: 1.7; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: rgba(255,255,255,0.75); font-size: 13px; }
.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px; margin: 24px 0 0;
  text-align: center; font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 24px; gap: 20px;
  }
  .nav-toggle { display: flex; }
  .profile-layout { grid-template-columns: 1fr; gap: 32px; }
  .profile-photo { max-width: 240px; margin: 0 auto; }
  .about-list > div { grid-template-columns: 1fr; gap: 4px; }
  .about-list dt { font-size: 12px; color: var(--text-muted); }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 88px; }
}
