/* アドラー心理学 — 温かく手書き風のデザインシステム
   ─────────────────────────────────────────────── */

:root {
  --bg: #F5EFE6;
  --bg-soft: #FBF7F0;
  --bg-deep: #EDE3D2;
  --paper: #FFFCF6;
  --ink: #3D3530;
  --ink-muted: #7A6B5D;
  --ink-faint: rgba(61, 53, 48, 0.55);
  --line: rgba(61, 53, 48, 0.14);
  --line-strong: rgba(61, 53, 48, 0.28);
  --terracotta: #B8825C;
  --terracotta-deep: #9A6B49;
  --sage: #8FA889;
  --sage-deep: #6E8A6A;
  --gold: #C9A04B;

  --font-hand: "Klee One", "Yu Mincho", "游明朝", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "ヒラギノ角ゴシック", sans-serif;
  --font-serif: "Shippori Mincho", "Yu Mincho", "游明朝", serif;

  --maxw: 1200px;
  --gutter: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.85;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* subtle paper grain */
  background-image:
    radial-gradient(rgba(184, 130, 92, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(61, 53, 48, 0.03) 1px, transparent 1px);
  background-size: 24px 24px, 32px 32px;
  background-position: 0 0, 12px 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ─── レイアウト ─────────────────────────── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wrap-wide {
  max-width: 1360px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ─── ナビゲーション ───────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 230, 0.85);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-hand);
  font-size: 18px;
  box-shadow: 0 2px 0 rgba(154, 107, 73, 0.4);
}
.brand-sub { font-size: 11px; color: var(--ink-muted); letter-spacing: 0.18em; font-family: var(--font-body); font-weight: 500; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-muted);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-cta {
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  border: 0;
  transition: transform .2s, background .2s;
}
.nav-cta:hover { background: var(--terracotta); transform: translateY(-1px); }

/* ─── ヒーロー ─────────────────────────── */
.hero {
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--terracotta-deep);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: "";
  width: 28px; height: 1.5px;
  background: var(--terracotta);
}
.hero h1 {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin: 0 0 28px;
  color: var(--ink);
}
.hero h1 .accent {
  position: relative;
  display: inline-block;
  color: var(--terracotta-deep);
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -2px; right: -4px; bottom: 0.05em;
  height: 0.34em;
  background: rgba(184, 130, 92, 0.22);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-0.4deg);
}
.hero-lede {
  font-size: 18px;
  line-height: 2;
  color: var(--ink-muted);
  margin: 0 0 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 0;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--paper);
  box-shadow: 0 2px 0 var(--terracotta-deep), 0 12px 32px -8px rgba(184, 130, 92, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--terracotta-deep), 0 18px 40px -8px rgba(184, 130, 92, 0.55);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--ink);
}
.btn .arrow {
  display: inline-block;
  transition: transform .2s;
}
.btn:hover .arrow { transform: translateX(3px); }

.hero-image {
  position: relative;
}
.hero-image .photo {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-deep);
  box-shadow: 0 30px 60px -20px rgba(61, 53, 48, 0.35);
  transform: rotate(1.5deg);
}
.hero-image .photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s ease;
}
.hero-image:hover .photo img { transform: scale(1.04); }
.hero-tape {
  position: absolute;
  top: -14px; left: 40%;
  width: 110px; height: 28px;
  background: rgba(201, 160, 75, 0.4);
  transform: rotate(-4deg);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.hero-quote-card {
  position: absolute;
  left: -40px;
  bottom: 36px;
  background: var(--paper);
  padding: 18px 22px;
  border-radius: 12px;
  font-family: var(--font-hand);
  font-size: 15px;
  line-height: 1.7;
  max-width: 230px;
  box-shadow: 0 14px 30px -10px rgba(61, 53, 48, 0.25);
  transform: rotate(-2deg);
  border: 1px solid var(--line);
}
.hero-quote-card small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 10px;
  letter-spacing: 0.08em;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px dashed var(--line-strong);
}
.hero-stats .stat-num {
  font-family: var(--font-hand);
  font-size: 36px;
  color: var(--terracotta-deep);
  line-height: 1;
}
.hero-stats .stat-label {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

/* ─── セクション共通 ─────────────────── */
section { padding: 120px 0; position: relative; }
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--terracotta-deep);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: "";
  width: 32px; height: 1.5px; background: var(--terracotta);
}
.section-title {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.25;
  margin: 0 0 24px;
  letter-spacing: 0.01em;
}
.section-lede {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 2;
  max-width: 640px;
}

/* ─── アドラー紹介 ───────────────────── */
.intro {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.intro-portrait {
  position: relative;
}
.intro-portrait .frame {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-deep);
  box-shadow: 0 20px 40px -12px rgba(61, 53, 48, 0.3);
  transform: rotate(-1.5deg);
}
.intro-portrait .frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(0.18) contrast(0.96);
}
.intro-portrait .caption {
  position: absolute;
  right: -16px; bottom: -28px;
  background: var(--terracotta);
  color: var(--paper);
  padding: 14px 20px;
  border-radius: 10px;
  font-family: var(--font-hand);
  font-size: 14px;
  line-height: 1.5;
  transform: rotate(2deg);
  max-width: 200px;
}
.intro-portrait .caption b {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}
.intro-bio {
  font-size: 17px;
  line-height: 2.1;
  color: var(--ink);
  text-wrap: pretty;
}
.intro-bio p { margin: 0 0 22px; }
.intro-bio p:last-child { margin-bottom: 0; }
.intro-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px dashed var(--line-strong);
}
.intro-meta-item .k {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.intro-meta-item .v {
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.4;
}

/* ─── 三本柱 ─────────────────────────── */
.pillars-head {
  text-align: center;
  margin-bottom: 64px;
}
.pillars-head .section-eyebrow { justify-content: center; }
.pillars-head .section-eyebrow::before,
.pillars-head .section-eyebrow::after {
  content: "";
  width: 32px; height: 1.5px; background: var(--terracotta);
}
.pillars-head .section-lede { margin: 0 auto; }

.pillars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}
.pillar:nth-child(1),
.pillar:nth-child(2),
.pillar:nth-child(3) { grid-column: span 2; }
.pillar:nth-child(4),
.pillar:nth-child(5) { grid-column: span 3; }
.pillar {
  background: var(--paper);
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px -20px rgba(61, 53, 48, 0.25);
}
.pillar-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-deep);
  position: relative;
}
.pillar-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.pillar:hover .pillar-media img { transform: scale(1.06); }
.pillar-num {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--paper);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-hand);
  font-size: 13px;
  color: var(--terracotta-deep);
  letter-spacing: 0.06em;
}
.pillar-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pillar-en {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pillar h3 {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.3;
  margin: 0 0 14px;
}
.pillar-desc {
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-muted);
  flex: 1;
  margin: 0 0 20px;
}
.pillar-more {
  font-size: 13px;
  color: var(--terracotta-deep);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pillar-more .arrow { transition: transform .25s; }
.pillar:hover .pillar-more .arrow { transform: translateX(4px); }

/* ─── 詳細セクション ──────────────────── */
.deep {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 96px;
}
.deep:last-child { margin-bottom: 0; }
.deep.reverse .deep-text { order: 2; }
.deep.reverse .deep-media { order: 1; }
.deep-media {
  position: relative;
}
.deep-media .photo {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 24px 50px -16px rgba(61, 53, 48, 0.32);
}
.deep-media .photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.deep-media .badge {
  position: absolute;
  top: 24px; left: -20px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-hand);
  font-size: 14px;
  transform: rotate(-3deg);
}
.deep.reverse .deep-media .badge { left: auto; right: -20px; transform: rotate(3deg); }

.deep-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--terracotta-deep);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.deep h2 {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.3;
  margin: 0 0 22px;
}
.deep-body p {
  font-size: 16.5px;
  line-height: 2.05;
  color: var(--ink);
  margin: 0 0 18px;
}
.deep-pull {
  border-left: 3px solid var(--terracotta);
  padding: 6px 0 6px 20px;
  margin: 24px 0;
  font-family: var(--font-hand);
  font-size: 21px;
  line-height: 1.65;
  color: var(--ink);
}
.deep-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.deep-list li {
  display: flex;
  gap: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: 10px;
  border: 1px solid var(--line);
}
.deep-list li::before {
  content: attr(data-num);
  font-family: var(--font-hand);
  font-size: 18px;
  color: var(--terracotta-deep);
  flex-shrink: 0;
  font-weight: 600;
}

/* ─── 名言セクション ─────────────────── */
.quote-section {
  background: var(--ink);
  color: var(--paper);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--quote-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: grayscale(0.3);
}
.quote-inner {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.quote-mark {
  font-family: var(--font-hand);
  font-size: 88px;
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.7;
  margin-bottom: -8px;
}
.quote-body {
  font-family: var(--font-hand);
  font-weight: 500;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.65;
  margin: 0 0 32px;
  letter-spacing: 0.01em;
}
.quote-attrib {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 247, 240, 0.7);
}
.quote-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 56px;
}
.quote-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(251, 247, 240, 0.25);
  border: 0;
  padding: 0;
  transition: background .2s, transform .2s;
}
.quote-dot.active {
  background: var(--terracotta);
  transform: scale(1.4);
}

/* ─── 学びへの一歩 ───────────────────── */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.learn-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.learn-card:hover {
  transform: translateY(-4px);
  border-color: var(--terracotta);
  box-shadow: 0 18px 40px -14px rgba(61, 53, 48, 0.2);
}
.learn-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--bg-deep);
  display: grid; place-items: center;
  margin-bottom: 22px;
  font-family: var(--font-hand);
  font-size: 24px;
  color: var(--terracotta-deep);
}
.learn-card h4 {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 10px;
}
.learn-card p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-muted);
  margin: 0 0 18px;
}
.learn-meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed var(--line-strong);
  padding-top: 14px;
}

/* ─── ニュースレター CTA ───────────── */
.cta {
  margin: 80px auto 0;
  max-width: 880px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 56px 64px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px -20px rgba(61, 53, 48, 0.18);
}
.cta::before {
  content: "✿";
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  color: var(--terracotta);
  font-size: 18px;
}
.cta h3 {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 32px;
  margin: 16px 0 12px;
}
.cta p {
  color: var(--ink-muted);
  font-size: 15px;
  margin: 0 0 26px;
}
.cta-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.cta-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--bg-soft);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.cta-form input:focus { border-color: var(--terracotta); }
.cta-form button {
  padding: 14px 28px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 999px;
  font-size: 14px;
}

/* ─── フッター ────────────────────────── */
.foot {
  padding: 80px 0 48px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.foot-col h5 {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 18px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a { font-size: 14px; color: var(--ink-muted); }
.foot-col a:hover { color: var(--terracotta); }
.foot-tag {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.85;
  margin: 14px 0 0;
  max-width: 320px;
}
.foot-bottom {
  border-top: 1px dashed var(--line-strong);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

/* ─── モーダル ──────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(61, 53, 48, 0.55);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  z-index: 100;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--paper);
  border-radius: 22px;
  width: min(720px, 100%);
  max-height: 88vh;
  overflow: auto;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.4);
  transform: translateY(20px) scale(0.98);
  transition: transform .3s;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-media {
  aspect-ratio: 16/7;
  background: var(--bg-deep);
  overflow: hidden;
}
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 36px 44px 44px; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 252, 246, 0.9);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  z-index: 2;
  color: var(--ink);
  font-size: 16px;
  transition: background .2s;
}
.modal-close:hover { background: var(--terracotta); color: var(--paper); }
.modal h3 {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 36px;
  margin: 0 0 8px;
}
.modal-en {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--terracotta-deep);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.modal-body p {
  font-size: 15.5px;
  line-height: 2;
  color: var(--ink);
  margin: 0 0 16px;
}
.modal-pull {
  background: var(--bg-soft);
  border-left: 3px solid var(--terracotta);
  padding: 18px 22px;
  margin: 22px 0;
  font-family: var(--font-hand);
  font-size: 18px;
  line-height: 1.7;
}

/* ─── アニメーション ─────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-up.in {
  opacity: 1;
  transform: none;
}

/* ─── レスポンシブ ───────────────────── */
@media (max-width: 980px) {
  .hero-grid, .intro-grid, .deep, .pillars, .learn-grid, .foot-grid {
    grid-template-columns: 1fr !important;
    gap: 48px;
  }
  .deep.reverse .deep-text { order: 0; }
  .deep.reverse .deep-media { order: 0; }
  .nav-links { display: none; }
  .cta { padding: 40px 28px; }
  section { padding: 80px 0; }
  .hero { padding: 56px 0 80px; }
}
