/* ============================================
   鶴田敦彦 Official Website — Refined Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

:root {
  /* テキスト（黒〜グレー） */
  --ink:        #1A1A1A;
  --ink-2:      #444444;
  --ink-3:      #888888;

  /* 背景（白基調） */
  --bg:         #FFFFFF;
  --bg-2:       #F5F5F5;
  --white:      #FFFFFF;

  /* ネイビー（構造色：地・枠・帯・図） */
  --navy:       #1C3357;
  --navy-2:     #2A4A7A;
  --accent:     #1C3357; /* = --navy（統一） */
  --accent-2:   #2A4A7A;
  --dark:       #141E2E; /* 反転ブロック（footer・page-hero） */
  --border:     #DCD7CB;
  --border-2:   #ECE7DC;

  /* CTA（マリーゴールド） */
  --cta:        #EFAF3A;
  --cta-2:      #E29F25;
  --cta-ink:    #3A2A05;

  /* 補助 */
  --coral:      #D86E45; /* 危機感・注意 */
  --tint:       #E8EFEC; /* 淡いティール背景 */
  --mark:       #F5D78F; /* マーカー */

  /* Nav */
  --nav-h: 68px;

  /* Typography */
  --font-serif: 'Noto Serif JP', 'Georgia', serif;
  --font-sans:  'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  font-size: 16px;
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
}
.nav-logo a {
  display: inline-flex; flex-direction: column; line-height: 1.05;
  font-family: var(--font-serif);
  font-size: 1rem; font-weight: 600;
  color: var(--ink); letter-spacing: 0.04em;
}
.nav-logo .brand-mark {
  font-family: var(--font-serif);
  font-size: 1.04rem; font-weight: 700; letter-spacing: 0.16em;
  color: var(--ink);
}
.nav-logo .brand-sub {
  font-family: var(--font-sans);
  font-size: 0.56rem; font-weight: 700; letter-spacing: 0.18em;
  color: var(--ink-3); margin-top: 3px;
}
.nav-menu {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-menu li a {
  display: block; padding: 6px 14px;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink-2);
  position: relative; transition: color 0.2s;
}
.nav-menu li a::after {
  content: ''; position: absolute; bottom: 0; left: 14px; right: 14px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-menu li a:hover,
.nav-menu li a.active { color: var(--accent); }
.nav-menu li a:hover::after,
.nav-menu li a.active::after { transform: scaleX(1); }
.nav-cta a {
  background: var(--cta) !important; color: var(--cta-ink) !important;
  padding: 9px 22px !important; border-radius: 3px !important;
  font-size: 0.8rem !important; font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  transition: background 0.2s !important;
}
.nav-cta a::after { display: none !important; }
.nav-cta a:hover { background: var(--cta-2) !important; }

/* ===== PAGE WRAPPER ===== */
.page-wrapper { padding-top: var(--nav-h); min-height: 100vh; }

/* ===== LAYOUT ===== */
section { padding: 96px 48px; }
.container    { max-width: 960px;  margin: 0 auto; }
.container-sm { max-width: 700px;  margin: 0 auto; }
.container-lg { max-width: 1140px; margin: 0 auto; }

/* ===== TYPOGRAPHY ===== */
.overline {
  display: block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
h1, h2 { font-family: var(--font-serif); font-weight: 700; line-height: 1.35; }
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--ink); margin-bottom: 20px;
}
h3 {
  font-family: var(--font-sans);
  font-size: 1rem; font-weight: 700; line-height: 1.5;
}
.display {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink);
}
.display em { color: var(--accent); font-style: normal; }
.lead {
  font-size: 1rem; color: var(--ink-2);
  line-height: 2; margin-bottom: 52px;
}
p { color: var(--ink-2); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--dark);
  padding: 80px 48px 72px;
}
.page-hero .container-sm { text-align: left; }
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.72rem; color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: white; }
h1.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.3;
  color: white; margin-bottom: 16px;
}
.page-hero .sub {
  font-size: 0.95rem; color: rgba(255,255,255,0.55);
  line-height: 1.9; max-width: 520px;
}

/* ===== RULE DIVIDER ===== */
.rule { height: 1px; background: var(--border); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.03em;
  cursor: pointer; border: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-primary  { background: var(--cta);    color: var(--cta-ink); }
.btn-primary:hover  { background: var(--cta-2); transform: translateY(-1px); }
.btn-outline  { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover  { background: var(--ink); color: var(--bg); }
.btn-ghost    { background: transparent; color: var(--ink-2); border: 1px solid var(--border); }
.btn-ghost:hover    { border-color: var(--ink-2); color: var(--ink); }
.btn-light    { background: var(--white); color: var(--ink); }
.btn-light:hover    { background: var(--bg-2); }
.btn-accent   { background: var(--cta); color: var(--cta-ink); }
.btn-accent:hover   { background: var(--cta-2); transform: translateY(-1px); }
.btn-lg { padding: 18px 40px; font-size: clamp(1rem, 2.4vw, 1.12rem); }
.btn-sm { padding: 9px 20px; font-size: 0.8rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ===== CARDS ===== */
.card {
  background: var(--white); border: 1px solid var(--border-2);
  border-radius: 12px; padding: 36px 32px;
  box-shadow: 0 1px 2px rgba(28,51,87,0.03), 0 10px 24px rgba(28,51,87,0.045);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: 0 1px 2px rgba(28,51,87,0.04), 0 16px 36px rgba(28,51,87,0.08);
  transform: translateY(-3px);
}

/* ===== LINE LIST (numbered/bulleted sections) ===== */
.line-list { list-style: none; display: grid; gap: 0; }
.line-list li {
  display: grid; grid-template-columns: 2px 1fr;
  gap: 0 24px; padding: 28px 0;
  border-bottom: 1px solid var(--border-2);
}
.line-list li:first-child { border-top: 1px solid var(--border-2); }
.line-list li::before {
  content: ''; background: var(--accent);
  width: 2px; margin-top: 6px; flex-shrink: 0;
}

/* ===== STAT ===== */
.stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem; font-weight: 700; color: var(--ink);
  line-height: 1; margin-bottom: 4px;
}
.stat-label { font-size: 0.78rem; color: var(--ink-3); }

/* ===== FORM ===== */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.04em; margin-bottom: 7px; color: var(--ink-2);
}
.form-group input, .form-group textarea {
  width: 100%; padding: 13px 16px;
  background: var(--white); border: 1px solid var(--border);
  font-family: var(--font-sans); font-size: 0.95rem; color: var(--ink);
  border-radius: 3px; outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--ink);
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.45);
  padding: 64px 48px 36px;
}
.footer-inner {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px; margin-bottom: 56px;
}
.footer-brand .name {
  font-family: var(--font-serif);
  color: white; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px;
}
.footer-brand .title { font-size: 0.78rem; line-height: 1.7; }
.footer-col h4 {
  color: rgba(255,255,255,0.6); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col ul a { font-size: 0.83rem; transition: color 0.2s; }
.footer-col ul a:hover { color: white; }
.footer-bottom {
  max-width: 960px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px; font-size: 0.72rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}

/* ===== SCROLL REVEAL ===== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--ink); transition: all 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav    { padding: 0 24px; }
  section { padding: 64px 24px; }
  .page-hero { padding: 56px 24px 48px; }
  .hamburger { display: flex; }
  .nav-menu {
    display: none; position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 16px 20px; gap: 2px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a { padding: 12px 8px; font-size: 0.95rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
