/* =============================
   リセット & 基本設定
============================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "メイリオ", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  background-color: #f7f4f0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* =============================
   ヘッダー
============================= */
.site-header {
  background-color: #5a3e2b;
  color: #fff;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  background-color: #e07b39;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -1px;
}

.logo-badge.small {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.logo-subtitle {
  font-size: 11px;
  color: #d4b896;
  letter-spacing: 0.1em;
}

.header-nav {
  display: flex;
  gap: 4px;
}

.header-nav a {
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.header-nav a:hover {
  background-color: rgba(255,255,255,0.15);
}

/* =============================
   ページレイアウト
============================= */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 24px;
  align-items: start;
}

/* =============================
   ヒーローセクション
============================= */
.hero-section {
  background: #fff;
  border: 3px solid #e07b39;
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: 26px;
  font-weight: 900;
  color: #5a3e2b;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
}

.hero-image {
  font-size: 72px;
  flex-shrink: 0;
  margin-left: 20px;
  opacity: 0.85;
  display: flex;
  align-items: center;
}

.hero-icon-img {
  width: 160px;
  height: auto;
  flex-shrink: 0;
  display: block;
  align-self: center;
}

/* =============================
   3カラムカード
============================= */
.cards-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.card {
  border-radius: 12px;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.card-orange  { background-color: #e07b39; }
.card-green   { background-color: #5a9e5a; }
.card-blue    { background-color: #4a7ab5; }
.card-purple  { background-color: #7b5ea7; }
.card-teal    { background-color: #3a9e8c; }
.card-coral   { background-color: #c8563b; }

.card-empty {
  border-radius: 12px;
  padding: 20px 18px 18px;
  background: rgba(255,255,255,0.4);
  border: 2px dashed #ccc;
}

.card-title {
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 6px;
}

.card-desc {
  font-size: 13px;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 14px;
  opacity: 0.95;
}

.card-img-placeholder {
  font-size: 56px;
  text-align: center;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.card-list-box {
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  flex: 1;
}

.list-label {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.card-list-box ul li {
  font-size: 13px;
  padding: 3px 0;
  padding-left: 16px;
  position: relative;
}

.card-list-box ul li::before {
  content: "●";
  position: absolute;
  left: 0;
  font-size: 8px;
  top: 5px;
  opacity: 0.8;
}

.card-btn {
  display: block;
  background: rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 30px;
  text-align: center;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: background 0.2s;
}

.card-btn:hover {
  background: rgba(255,255,255,0.4);
}

/* =============================
   共通セクションタイトル
============================= */
.section-title {
  font-size: 22px;
  font-weight: 900;
  color: #5a3e2b;
  border-left: 6px solid #e07b39;
  padding-left: 14px;
  margin-bottom: 20px;
}

.section-title.warning {
  border-left-color: #d9534f;
  color: #d9534f;
}

/* =============================
   プランナー果報セクション
============================= */
.benefits-section {
  background: #fff;
  border-radius: 12px;
  padding: 28px 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.benefit-item {
  background: #fff9f4;
  border: 1px solid #f0d5b8;
  border-radius: 10px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-icon {
  font-size: 32px;
}

.benefit-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #5a3e2b;
}

.benefit-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* =============================
   成功マインドセクション
============================= */
.mindset-section {
  background: #fff;
  border-radius: 12px;
  padding: 28px 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.mindset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mindset-item {
  background: linear-gradient(135deg, #4a7ab5 0%, #3a5f8a 100%);
  color: #fff;
  border-radius: 10px;
  padding: 20px 16px;
}

.mindset-num {
  font-size: 28px;
  font-weight: 900;
  opacity: 0.35;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.mindset-item h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.mindset-item p {
  font-size: 12px;
  opacity: 0.9;
  line-height: 1.6;
}

/* =============================
   注意事項セクション
============================= */
.notes-section {
  background: #fff;
  border-radius: 12px;
  padding: 28px 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.notes-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.note-item {
  background: #fff5f5;
  border: 1px solid #f5c6c6;
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.note-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.note-item h3 {
  font-size: 14px;
  font-weight: 700;
  color: #c0392b;
  margin-bottom: 5px;
}

.note-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* =============================
   サイドバー
============================= */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 80px;
}

.sidebar-block {
  border-radius: 8px;
  overflow: hidden;
}

.sidebar-block h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.sidebar-top h3 {
  background-color: #5a3e2b;
  border-radius: 8px;
}

.sidebar-orange h3 { background-color: #e07b39; }
.sidebar-green  h3 { background-color: #5a9e5a; }
.sidebar-blue   h3 { background-color: #4a7ab5; }
.sidebar-purple h3 { background-color: #7b5ea7; }
.sidebar-teal   h3 { background-color: #3a9e8c; }
.sidebar-coral  h3 { background-color: #c8563b; }

.sidebar-block ul {
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.sidebar-block ul li {
  border-bottom: 1px solid #eee;
}

.sidebar-block ul li:last-child {
  border-bottom: none;
}

.sidebar-block ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  font-size: 13px;
  color: #333;
  transition: background 0.15s;
}

.sidebar-block ul li a:hover {
  background: #f5f0eb;
}

.sidebar-block ul li a span {
  color: #999;
  font-size: 12px;
}

/* =============================
   フッター
============================= */
.site-footer {
  background-color: #5a3e2b;
  color: #d4b896;
  padding: 20px;
  margin-top: 16px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.footer-copy {
  font-size: 12px;
}

/* =============================
   レスポンシブ
============================= */
@media (max-width: 900px) {
  .page-wrapper {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .mindset-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cards-section {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .mindset-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    margin: 16px 0 0;
  }

  .header-nav {
    display: none;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }
}
