:root {
  /* Gemini */
  /* 画像のトーンに合わせたカラーパレット */
  --text: #333333;
  --muted: #666666;
  --bg: #f8fbff; /* ほんのり青みのある、目に優しい白 */
  --card: #ffffff;
  --border: #edf2f7;
  --shadow: 0 12px 24px rgba(0, 0, 0, 0.04);

  /* 画像の各カテゴリ色を再現 */
  --blue: #5da9e9;   /* 視覚思考者 */
  --green: #6bc7a6;  /* 言語思考者 */
  --orange: #f3a447; /* 身体感覚思考者 */
  --purple: #a78bfa; /* 非記号的思考者 */
  --accent: var(--blue);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  /* 日本語でも丸みを帯びた印象になるフォント指定 */
  font-family: 
    "Hiragino Maru Gothic ProN", 
    "Yu Gothic UI", 
    "Noto Sans JP", 
    sans-serif;
  color: var(--text);
  background-color: var(--bg);
  /* 画像の背景にある柔らかい装飾をイメージした背景 */
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(93, 169, 233, 0.03) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(107, 199, 166, 0.03) 0%, transparent 20%);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

header,
main,
footer {
  max-width: 960px; /* 少し狭めて情報を中央に凝縮 */
  margin: 0 auto;
  padding: 40px 24px;
}

.hero {
  text-align: center; /* 中央寄せで「見る」サイトの印象を強める */
  padding-top: 80px;
  padding-bottom: 60px;
}

/* 英語のサブタイトルなどに使うラベル */
.label {
  display: inline-block;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin: 10px 0 24px;
  font-weight: 800;
  color: var(--text);
}

h2 {
  font-size: 1.8rem;
  line-height: 1.4;
  margin: 0 0 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 説明文を読みやすく */
p {
  margin: 0.8em 0;
  font-size: 1.05rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 auto;
  max-width: 600px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

/* カードのデザインを画像のような「浮き出たパネル」風に */
.card,
.section {
  position: relative;
  background: var(--card);
  border: 3px solid transparent; /* デフォルトは透明 */
  border-radius: 32px; /* 大きめの角丸 */
  padding: 60px 48px; /* 上下を60px、左右を48pxに広げる */
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

   /* セクション同士の間に隙間を作るために追加 */
  margin-bottom: 40px; 
}

/* ホバー時の動きを優しく */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* 画像のようにカテゴリごとに色分け */
.card:nth-child(1), .section:nth-of-type(1) { 
  border-color: rgba(93, 169, 233, 0.15); 
}
.card:nth-child(1) h2 { color: var(--blue); }

.card:nth-child(2), .section:nth-of-type(2) { 
  border-color: rgba(107, 199, 166, 0.15); 
}
.card:nth-child(2) h2 { color: var(--green); }

.card:nth-child(3), .section:nth-of-type(3) { 
  border-color: rgba(243, 164, 71, 0.15); 
}
.card:nth-child(3) h2 { color: var(--orange); }

/* 装飾用のバー（画像のアイコン横の線をイメージ） */
.card::before,
.section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 45px;
  width: 6px;
  height: 40px;
  border-radius: 0 10px 10px 0;
  background: currentColor;
  opacity: 0.8;
}

/* ボタン（CTA）のデザイン */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 16px 36px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(93, 169, 233, 0.3);
  transition: all 0.2s ease;
}

.cta:hover {
  filter: brightness(1.05);
  transform: scale(1.02);
}


/* 全てのリンクから下線を消し、色は親要素に合わせる */
a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
  display: inline-block; /* 念のため */
}

/* ホバー時も下線を出さない */
a:hover, a:focus, a:active {
  text-decoration: none;
  outline: none;
}

/* カード要素としてのaタグを確実に制御 */
.card {
  text-decoration: none;
  display: block; /* カード全体をリンクにするため */
}


/* さらに見栄えを良くするためのヒント */

.stack {
  display: flex;
  flex-direction: column;
  gap: 48px; /* これだけでセクション間の隙間が一律で設定できます */
}


footer {
  text-align: center;
  margin-top: 80px;
  color: #a0aec0;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}

/* --- CSSの末尾などに追記 --- */

/* main直下のsectionに間隔を持たせる */
main > .section:last-of-type {
  margin-bottom: 60px; /* 最後のセクションの下だけ少し広めに */
}

/* 「戻る」ボタンのデザイン調整 */
.back {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  color: var(--muted);
  text-decoration: none;
  font-weight: bold;
}

.back:hover {
  color: var(--text);
  text-decoration: underline;
}

