:root {
  --bg: #fff8ef;
  --paper: #ffffff;
  --ink: #3b2f3a;
  --sub: #8a7684;
  --accent: #e8734a;
  --accent-soft: #ffd9b8;
  --line: #f0e2d2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Maru Gothic ProN", "Zen Maru Gothic", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.9;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ヘッダー：夕焼けの空 */
.hero {
  background: linear-gradient(180deg, #4b4a8c 0%, #b0669a 38%, #f08a5d 72%, #ffd38a 100%);
  color: #fff;
  text-align: center;
  padding: 72px 20px 96px;
  position: relative;
  overflow: hidden;
}
.hero.small { padding: 36px 20px 60px; }

.hero::after {
  /* 校舎のシルエット */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 44px;
  background:
    linear-gradient(#3b2f3a, #3b2f3a) 8% 100% / 22% 26px no-repeat,
    linear-gradient(#3b2f3a, #3b2f3a) 17% 100% / 5% 44px no-repeat,
    linear-gradient(#3b2f3a, #3b2f3a) 62% 100% / 30% 20px no-repeat,
    linear-gradient(#3b2f3a, #3b2f3a) 0 100% / 100% 8px no-repeat;
  opacity: .85;
}

.hero .sun {
  position: absolute;
  left: 50%; bottom: -60px;
  width: 180px; height: 180px;
  margin-left: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff3c4 0%, #ffd38a 55%, rgba(255,211,138,0) 72%);
}

.hero h1 {
  position: relative;
  margin: 0;
  font-size: clamp(30px, 7vw, 52px);
  letter-spacing: .12em;
  text-shadow: 0 2px 12px rgba(59,47,58,.35);
}
.hero h1 a { color: inherit; text-decoration: none; }
.hero p {
  position: relative;
  margin: 10px 0 0;
  font-size: 15px;
  letter-spacing: .2em;
  opacity: .95;
}

nav {
  background: var(--ink);
  text-align: center;
  padding: 10px;
}
nav a {
  color: #fff;
  margin: 0 14px;
  font-size: 14px;
  letter-spacing: .1em;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.section-title {
  font-size: 15px;
  color: var(--sub);
  letter-spacing: .25em;
  border-bottom: 2px dashed var(--accent-soft);
  padding-bottom: 8px;
  margin: 0 0 24px;
}

.card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 18px;
  color: inherit;
  box-shadow: 0 3px 0 var(--line);
  transition: transform .15s, box-shadow .15s;
}
.card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--accent-soft);
}
.card time, .post time {
  font-size: 13px;
  color: var(--sub);
  letter-spacing: .08em;
}
.card h2 {
  margin: 4px 0 6px;
  font-size: 20px;
  color: var(--ink);
}
.card p { margin: 0; color: var(--sub); font-size: 14.5px; }

.tag {
  display: inline-block;
  background: var(--accent-soft);
  color: #a1461f;
  border-radius: 999px;
  font-size: 12px;
  padding: 0 10px;
  margin-left: 8px;
}

.post {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px;
}
.post h1 {
  font-size: clamp(22px, 5vw, 30px);
  margin: 6px 0 24px;
  line-height: 1.5;
}
.post p { margin: 0 0 1.4em; }
.post h2 {
  font-size: 19px;
  margin: 2em 0 .8em;
  padding-left: 12px;
  border-left: 5px solid var(--accent);
}

.back { display: inline-block; margin-top: 28px; font-size: 14px; }

footer {
  text-align: center;
  color: var(--sub);
  font-size: 13px;
  padding: 28px 20px 40px;
  border-top: 1px solid var(--line);
}
