:root {
  /* ロゴから抽出したカラーパレット */
  --pastel-blue: #a8d8e8;
  --pastel-purple: #b4a7d6;
  --pastel-pink: #f9b6d0;
  --pastel-peach: #ffcba4;
  --pastel-yellow: #ffd89b;
  --pastel-green: #a8d5ba;
  --pastel-mint: #c4e8e8;
  
  /* ベースカラー */
  --bg: #ffffff;
  --ink: #2d3748;
  --muted: #718096;
  --surface: #fafbfd;
  --line: #e8f0f8;
  
  /* ブランドカラー（グラデーション用） */
  --brand-gradient: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-purple) 50%, var(--pastel-pink) 100%);
  --brand-soft: #e6f3ff;
  
  /* その他 */
  --ok: #68d391;
  --radius: 16px;
  --shadow: 0 4px 16px rgba(168, 216, 232, 0.15);
  --shadow-hover: 0 8px 24px rgba(168, 216, 232, 0.25);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', Roboto, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  color: var(--ink);
}

a {
  color: var(--pastel-purple);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--pastel-pink);
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== ヘッダー ========== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  box-shadow: 0 2px 8px rgba(168, 216, 232, 0.08);
}

.site-header .hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  transition: transform 0.2s ease;
}

.brand:hover {
  text-decoration: none;
  transform: scale(1.02);
}

.brand img {
  filter: drop-shadow(0 2px 4px rgba(168, 216, 232, 0.2));
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* ========== ボタン ========== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn.primary {
  background: var(--brand-gradient);
  color: #fff;
  border: none;
}

.btn.primary:hover {
  filter: brightness(1.1);
}

.btn.ghost {
  background: #fff;
  border-color: var(--pastel-blue);
  color: var(--pastel-purple);
}

.btn.ghost:hover {
  background: var(--pastel-blue);
  color: #fff;
}

/* ========== ヒーローセクション ========== */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(180deg, 
    rgba(168, 216, 232, 0.15) 0%, 
    rgba(249, 182, 208, 0.08) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 182, 208, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 216, 232, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.3;
  margin: 0 0 20px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.hero p {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  margin: 0 0 32px;
  max-width: 720px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== セクション ========== */
.section {
  padding: 72px 0;
  position: relative;
}

.section.alt {
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 1) 0%,
    rgba(168, 213, 186, 0.08) 50%,
    rgba(255, 255, 255, 1) 100%
  );
}

.section h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 40px;
  text-align: center;
  font-weight: 700;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--brand-gradient);
  border-radius: 999px;
}

/* ========== カード ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:nth-child(1)::before {
  background: linear-gradient(90deg, var(--pastel-blue) 0%, var(--pastel-purple) 100%);
}

.card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--pastel-pink) 0%, var(--pastel-peach) 100%);
}

.card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--pastel-green) 0%, var(--pastel-mint) 100%);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--line);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* ========== お知らせ ========== */
.news {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.news li {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 18px 24px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.news li:hover {
  border-color: var(--pastel-blue);
  transform: translateX(4px);
  box-shadow: var(--shadow-hover);
}

.news time {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  min-width: 10ch;
  font-weight: 600;
  font-size: 14px;
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: 8px;
}

.news span {
  color: var(--ink);
  font-weight: 500;
}

.note {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  margin-top: 24px;
  font-style: italic;
}

/* ========== 2カラムレイアウト ========== */
.twocol {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.twocol h2 {
  text-align: left;
  transform: none;
  left: 0;
  margin-bottom: 24px;
}

.twocol h2::after {
  left: 0;
  transform: none;
}

.twocol p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.9;
}

.list {
  margin: 24px 0 0;
  padding-left: 0;
  list-style: none;
}

.list li {
  margin: 0 0 12px;
  padding-left: 28px;
  position: relative;
  color: var(--ink);
  font-weight: 500;
}

.list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--pastel-green);
  font-weight: 700;
  font-size: 18px;
}

/* ========== サイドバー ========== */
.aside {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 1) 0%,
    rgba(168, 216, 232, 0.05) 100%
  );
  box-shadow: var(--shadow);
  position: sticky;
  top: 92px;
}

.aside h3 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.aside dl {
  margin: 0;
}

.aside dt {
  font-weight: 700;
  color: var(--pastel-purple);
  margin: 16px 0 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.aside dt:first-of-type {
  margin-top: 0;
}

.aside dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.6;
}

.aside dd a {
  word-break: break-all;
}

/* ========== フッター ========== */
.site-footer {
  border-top: 2px solid var(--line);
  padding: 32px 0;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 1) 0%,
    rgba(168, 216, 232, 0.05) 100%
  );
}

.site-footer .ftr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer small {
  color: var(--muted);
  font-size: 14px;
}

.foot-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-nav a {
  font-size: 14px;
  font-weight: 600;
}

/* ========== レスポンシブ ========== */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
  
  .twocol {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .aside {
    position: static;
  }
  
  .hero {
    padding: 56px 0 48px;
  }
  
  .section {
    padding: 56px 0;
  }
  
  .nav {
    gap: 16px;
  }
  
  .news li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .news time {
    min-width: auto;
  }
}

@media (max-width: 640px) {
  .site-header .hdr {
    height: auto;
    padding: 16px 0;
    flex-direction: column;
    gap: 16px;
  }
  
  .nav {
    width: 100%;
    justify-content: center;
  }
  
  .cta-row {
    width: 100%;
  }
  
  .cta-row .btn {
    flex: 1;
    text-align: center;
  }
}

/* ========== アニメーション ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1,
.hero p,
.cta-row {
  animation: fadeInUp 0.6s ease-out backwards;
}

.hero p {
  animation-delay: 0.1s;
}

.cta-row {
  animation-delay: 0.2s;
}
