/* =========================================================================
   6D 戦略マップ / 診断シート — 静的ページ用プレミアムスタイル
   - 豊かな質感、美しいタイポグラフィ、洗練された影とグラデーションを統合
   ========================================================================= */

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

:root {
  --color-honey-light: #f5ecd0;
  --color-honey: #f4d785;
  --color-honey-dark: #e8c264;

  --color-forest-light: #4a6a4a;
  --color-forest: #2C5F3F; /* Enwit Green / 書籍統一カラー */
  --color-forest-dark: #1b3d27;

  --color-earth-light: #b8923c;
  --color-earth: #6b4f1f;
  --color-earth-dark: #4a3812;

  --color-text: #2c2c2c;          /* 柔らかい炭色 */
  --color-text-muted: #444444;
  --color-text-soft: #555555;
  --color-text-faint: #888888;
  --color-border: #e0dace;        /* 温かみのある線 */
  --color-divider: #eae3d5;

  --color-error: #ef4444;
  --color-error-bg: #fef2f2;
  --color-error-border: #fecaca;
  --color-error-text: #b91c1c;

  --font-serif: 'Noto Serif JP', "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: 'Noto Sans JP', "Hiragino Sans", "Yu Gothic", sans-serif;

  --radius: 6px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(44, 95, 63, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(44, 95, 63, 0.08),
               0 20px 40px -15px rgba(0, 0, 0, 0.03);
}

/* ---- Reset / Base ------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html, body { 
  margin: 0; 
  padding: 0; 
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: linear-gradient(180deg, #FAF8F5 0%, #F5EFE0 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.03em;
}

p { margin: 0; }
ul { margin: 0; padding: 0; }
a { 
  color: inherit; 
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}
a:hover { opacity: 0.85; }

/* ---- Layout ------------------------------------------------------------- */

.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.page--thanks {
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-tagline {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-earth-light);
  letter-spacing: 0.25em;
  margin-bottom: 0.75rem;
}

.page-title {
  font-size: 2.25rem;
  line-height: 1.3;
  color: var(--color-forest);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .page-title { font-size: 2.75rem; }
}

.page-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-earth-dark);
}

/* ---- Card --------------------------------------------------------------- */

.card {
  background-color: #fff;
  border: 1px solid rgba(44, 95, 63, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.5rem 3rem;
  margin: 2.5rem 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -8px rgba(44, 95, 63, 0.12),
              0 25px 50px -10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
  .card {
    padding: 1.5rem 1.25rem;
  }

  .download-cta {
    padding: 1.5rem 1rem;
  }

  .btn--large {
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
  }

  .book-card {
    padding: 1.5rem 1.25rem;
  }

  .book-cover-img {
    width: 90px;
    max-width: 90px;
  }

  .book-card__title {
    font-size: 1.1rem;
  }

  .book-card__desc {
    font-size: 0.85rem;
  }
}

.card--thanks {
  padding: 4rem 3rem;
}

.card-title {
  font-size: 1.6rem;
  color: var(--color-forest);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-earth-light);
  border-radius: 2px;
}

.card-subtitle {
  font-size: 1.5rem;
  color: var(--color-forest);
  margin-bottom: 1.5rem;
}

.card-section-title {
  font-size: 1.25rem;
  color: var(--color-forest);
  margin-bottom: 1rem;
}

/* ---- Text helpers ------------------------------------------------------- */

.text {
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: var(--color-text);
}

.text--highlight-label {
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 1rem;
}

.text--muted   { color: var(--color-text-muted); }
.text--soft    { color: var(--color-text-soft); }
.text--small   { font-size: 0.875rem; color: var(--color-text-soft); }
.text--xsmall  { font-size: 0.75rem;  color: var(--color-text-faint); }
.text--center  { text-align: center; }

.text--mt-3 { margin-top: 0.75rem; }
.text--mt-4 { margin-top: 1.25rem; }
.text--mb-6 { margin-bottom: 1.5rem; }
.text--mb-8 { margin-bottom: 2rem; }

.bullet-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.bullet-icon {
  width: 1.35rem;
  height: 1.35rem;
  max-width: 1.35rem;
  max-height: 1.35rem;
  min-width: 1.35rem;
  min-height: 1.35rem;
  color: var(--color-forest);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.bullet-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.divider {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid var(--color-divider);
}

/* ---- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-forest) 0%, #1e452c 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(44, 95, 63, 0.15);
}
.btn--primary:hover { 
  background: linear-gradient(135deg, #376f4c 0%, var(--color-forest) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(44, 95, 63, 0.25);
}
.btn--primary:active {
  transform: translateY(0);
}
.btn--primary:disabled { 
  opacity: 0.5; 
  cursor: not-allowed; 
  transform: none !important;
  box-shadow: none !important;
}

.btn--secondary {
  background: linear-gradient(135deg, var(--color-honey) 0%, #ebd07d 100%);
  color: var(--color-earth-dark);
  box-shadow: 0 4px 12px rgba(107, 79, 31, 0.1);
}
.btn--secondary:hover { 
  background: linear-gradient(135deg, #fce08a 0%, var(--color-honey) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(107, 79, 31, 0.18);
}
.btn--secondary:active {
  transform: translateY(0);
}

.btn--large {
  font-size: 1.125rem;
  padding: 1.1rem 2.25rem;
  border-radius: 8px;
}

.btn--block {
  display: flex;
  width: 100%;
  padding: 0.9rem 1rem;
}

/* ---- Download CTA ------------------------------------------------------- */

.download-cta {
  text-align: center;
  background-color: #FAF8F5;
  border: 1px solid rgba(107, 79, 31, 0.08);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  margin: 2.5rem 0;
}

.btn--download {
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(44, 95, 63, 0.2);
}
.btn--download:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(44, 95, 63, 0.3);
}
.icon-download {
  width: 1.4rem;
  height: 1.4rem;
  max-width: 1.4rem;
  max-height: 1.4rem;
  min-width: 1.4rem;
  min-height: 1.4rem;
  transition: transform 0.3s ease;
}
.btn--download:hover .icon-download {
  transform: translateY(2px);
}

.download-cta__info {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-soft);
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}

.download-cta__note {
  font-size: 0.75rem;
  color: var(--color-text-faint);
  margin-top: 0.35rem;
}

/* ---- Sheet preview ------------------------------------------------------ */

.sheet-preview {
  margin: 2rem 0 0.5rem;
  text-align: center;
}

.sheet-preview__frame {
  display: inline-block;
  padding: 0.75rem;
  background: linear-gradient(180deg, #FFFDF8 0%, #F8F1DF 100%);
  border: 1px solid rgba(184, 146, 60, 0.18);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(107, 79, 31, 0.08),
              0 2px 6px rgba(107, 79, 31, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sheet-preview__frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(107, 79, 31, 0.12),
              0 4px 10px rgba(107, 79, 31, 0.05);
}

.sheet-preview__image {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  border-radius: 4px;
}

.sheet-preview__caption {
  font-size: 0.8rem;
  color: var(--color-text-faint);
  margin-top: 0.85rem;
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .sheet-preview__frame { padding: 0.5rem; }
}

/* ---- Book CTA card ------------------------------------------------------ */

.book-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background-color: #FFFDFC;
  border: 1px solid rgba(184, 146, 60, 0.15);
  border-left: 5px solid var(--color-earth-light);
  border-radius: 12px;
  padding: 2.25rem 2.5rem;
  margin: 2.5rem 0;
  box-shadow: 0 8px 24px rgba(107, 79, 31, 0.04);
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(107, 79, 31, 0.07);
}

@media (min-width: 768px) {
  .book-card {
    grid-template-columns: 130px 1fr;
    gap: 2.5rem;
  }
}

.book-card__cover {
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-cover-img {
  width: 110px;
  max-width: 110px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12),
              0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.book-card:hover .book-cover-img {
  transform: scale(1.03) rotate(-1deg);
}

.book-card__title {
  color: var(--color-forest);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.book-card__subtitle {
  color: var(--color-earth);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.book-card__desc {
  color: var(--color-text-soft);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.btn--amazon {
  gap: 0.5rem;
}
.icon-amazon {
  width: 1.25rem;
  height: 1.25rem;
  max-width: 1.25rem;
  max-height: 1.25rem;
  min-width: 1.25rem;
  min-height: 1.25rem;
}

/* ---- Form --------------------------------------------------------------- */

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-required { color: var(--color-error); }

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  background-color: #fff;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px rgba(44, 95, 63, 0.15);
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.form-checkbox {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-forest);
  flex-shrink: 0;
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  cursor: pointer;
}

.form-error {
  color: var(--color-error);
  font-size: 0.875rem;
  margin-top: 0.35rem;
  display: none;
  font-weight: 500;
}
.form-error.is-visible { display: block; }

.form-submit-error {
  background-color: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  color: var(--color-error-text);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  display: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-submit-error.is-visible { display: block; }

/* ---- Links -------------------------------------------------------------- */

.link {
  color: var(--color-forest);
  text-decoration: underline;
  font-weight: 500;
}
.link:hover { color: var(--color-forest-dark); }

.link--inline { margin: 0 0.25rem; }

/* ---- Thanks page -------------------------------------------------------- */

.check-mark {
  font-size: 4rem;
  color: var(--color-forest);
  line-height: 1;
  margin-bottom: 2rem;
}

.thanks-actions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .thanks-actions { flex-direction: row; }
}
