/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', sans-serif;
  color: #2D3748;
  background: #FFFAF0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== Variables ===== */
:root {
  --blue: #2B6CB0;
  --blue-dark: #2C5282;
  --orange: #F6AD55;
  --orange-dark: #ED8936;
  --beige: #FFFAF0;
  --ink: #2D3748;
  --gray: #718096;
  --light: #F7FAFC;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.10);
  --radius: 12px;
  --radius-lg: 20px;
}

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

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}
.logo-icon { width: 36px; height: 36px; }
.main-nav ul { display: flex; gap: 36px; }
.main-nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  transition: color .2s;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .25s;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after { width: 100%; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .25s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(246,173,85,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(43,108,176,0.10) 0%, transparent 50%),
    var(--beige);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(43,108,176,0.10);
  color: var(--blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero-lead {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 36px;
  line-height: 1.9;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; }

.hero-visual {
  position: relative;
  height: 400px;
}
.hero-card {
  position: absolute;
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.card-1 { top: 10%; left: 15%; animation-delay: 0s; }
.card-2 { top: 5%; right: 10%; animation-delay: 1.5s; }
.card-3 { bottom: 15%; left: 5%; animation-delay: 3s; }
.card-4 { bottom: 10%; right: 20%; animation-delay: 4.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 80px 24px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}
.feature {
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 44px; margin-bottom: 16px; }
.feature h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--ink);
}
.feature p { font-size: 14px; color: var(--gray); }

/* ===== Section Common ===== */
.section { padding: 80px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 3.5vw, 36px);
  color: var(--ink);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin: 14px auto 0;
  border-radius: 2px;
}
.section-lead { color: var(--gray); font-size: 15px; }

/* ===== Area Grid ===== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.area-card {
  background: var(--bg, #fff);
  padding: 32px 16px;
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .25s, box-shadow .25s;
  border: 1px solid var(--border);
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.area-emoji { font-size: 40px; }
.area-name { font-weight: 700; color: var(--ink); }

/* ===== Post Grid ===== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.post-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
  border: 1px solid var(--border);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.post-body { padding: 24px; }
.post-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(246,173,85,0.18);
  color: var(--orange-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.post-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 10px;
}
.post-card p { font-size: 14px; color: var(--gray); }

/* ===== About ===== */
.about {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--beige) 0%, #fff 100%);
}
.about-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-text p { color: var(--gray); margin-bottom: 16px; line-height: 1.9; }
.about-text .section-title { display: inline-block; }

.sns-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.sns-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: all .2s;
}
.sns-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.about-card {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--orange);
}
.about-card h3 { font-size: 18px; margin-bottom: 8px; }
.about-card p { font-size: 14px; color: var(--gray); margin-bottom: 20px; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-form input {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-family: inherit;
}
.newsletter-form input:focus { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #CBD5E0;
  padding-top: 56px;
}
.site-footer .logo { color: #fff; }
.site-footer .logo-icon path[fill="#2B6CB0"] { fill: #63B3ED; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-tagline { font-family: 'Noto Serif JP', serif; font-size: 15px; margin-top: 12px; color: #A0AEC0; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer-links h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #CBD5E0; font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom small { color: #718096; font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { padding: 56px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 280px; }
  .hero-card { width: 88px; height: 88px; font-size: 44px; }
  .features { grid-template-columns: 1fr; padding: 48px 24px; margin-top: -40px; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
  }
  .main-nav.is-open ul { flex-direction: column; gap: 18px; }
}
@media (max-width: 600px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .section { padding: 56px 0; }
  .area-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .area-card { padding: 20px 8px; }
  .area-emoji { font-size: 28px; }
  .area-name { font-size: 13px; }
}
