/* Oracle監査相談サービス — 共通スタイル */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #f0ebe3;   /* ウォームクリーム */
  --surface:     #faf6f0;   /* カード・ヘッダー */
  --primary:     #5c2433;   /* バーガンディ */
  --primary-dk:  #471929;   /* バーガンディ暗 */
  --accent:      #5c2433;
  --accent-dk:   #471929;
  --text:        #1a1616;
  --muted:       #5c5550;
  --border:      #d8d0c8;
  --footer-bg:   #1a1616;
  --footer-text: #9a908a;
}

body {
  font-family: 'Inter', 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic UI', Meiryo, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: 'Playfair Display', 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
  text-decoration: none;
}
nav { display: flex; gap: 1.5rem; align-items: center; }
nav a { font-size: 0.82rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
nav a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--accent);
  color: var(--surface) !important;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--accent-dk) !important; text-decoration: none; }

/* Container */
.container { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }

/* Sections */
section { padding: 3.5rem 0; }
section + section { border-top: 1px solid var(--border); }

/* Typography */
.label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
h1 {
  font-family: 'Playfair Display', 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
h2 {
  font-family: 'Playfair Display', 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  color: var(--text);
}
h3 {
  font-family: 'Playfair Display', 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.lead {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Callout */
.callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  background: var(--surface);
}
.callout p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 0; }
.callout strong { color: var(--text); }
.callout-title { display: block; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; font-size: 0.9rem; }

/* Shared list components */
.cta-block { text-align: center; }
.cta-block p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; margin-bottom: 2rem; }
.divider-list { list-style: none; margin-top: 1.5rem; }
.divider-list li { border-bottom: 1px solid var(--border); padding: 1.1rem 0; font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
.divider-list li:first-child { border-top: 1px solid var(--border); }
.divider-list li strong { display: block; color: var(--text); margin-bottom: 0.3rem; font-size: 0.88rem; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--surface);
  padding: 0.75rem 1.75rem;
  font-size: 0.87rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.btn:hover { background: var(--accent-dk); text-decoration: none; color: var(--surface); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-ghost:hover { background: #ebe0d8; }

/* Form */
.form-group { margin-bottom: 1.25rem; }
label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--muted); margin-bottom: 0.4rem; }
.req { color: var(--accent); margin-left: 2px; }
input, select, textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.6rem 0.8rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.75rem; }

/* Success / Error */
.success-msg, .error-msg { display: none; padding: 1rem 1.25rem; margin-top: 1rem; font-size: 0.9rem; }
.success-msg { background: #eaf3ea; border: 1px solid #b8d8b8; color: #2a5a2a; }
.error-msg { background: #fdf0f0; border: 1px solid #e8b8b8; color: #7a2a2a; }

/* Case card */
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.75rem;
  margin-bottom: 1rem;
}
.case-card h3 { margin-bottom: 0.6rem; line-height: 1.4; }
.case-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.7; }
.result-badge {
  display: inline-block;
  background: #ede0e3;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { font-family: 'Playfair Display', 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; line-height: 1.45; }
.faq-a { font-size: 0.88rem; color: var(--muted); line-height: 1.75; }

/* Footer */
footer {
  background: var(--footer-bg);
  padding: 2rem 1.5rem;
}
.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo { font-family: 'Playfair Display', 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif; font-size: 0.95rem; font-weight: 700; color: #ffffff; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8rem; color: var(--footer-text); }
.footer-links a:hover { color: #ffffff; text-decoration: none; }
.copyright { font-size: 0.75rem; color: var(--footer-text); }

/* Hamburger nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--muted);
  padding: 0.2rem 0.4rem;
  line-height: 1;
}
.nav-mobile {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 0.5rem 1.5rem 1rem;
}
.nav-mobile a {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.nav-cta {
  margin-top: 0.5rem;
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1rem;
  text-align: center;
}
.nav-mobile.open { display: block; }

/* Responsive */
@media (max-width: 620px) {
  h1 { font-size: 1.9rem; }
  .header-inner nav a:not(.nav-cta) { display: none; }
  .nav-toggle { display: block; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

.footer-address {
  max-width: 760px;
  margin: 1rem auto 0;
  padding: 1rem 1.5rem 0;
  border-top: 1px solid #2e2020;
  font-size: 0.72rem;
  color: var(--footer-text);
  line-height: 1.6;
}
