@charset "UTF-8";
:root {
  color-scheme: light;
  --bg: #f4f0ea;
  --surface: #fffdf8;
  --surface-strong: #fff;
  --border: rgba(68, 56, 35, 0.12);
  --text: #2c2a28;
  --muted: #6f695f;
  --accent: #8c6b3e;
}
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

/* ===== header ===== */
.header {
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 18px 42px rgba(38, 30, 20, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

nav {
  background: transparent;
}

.logo {
  padding: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  position: relative;
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav a:hover,
.nav a:focus {
  color: var(--accent);
}

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

/* ===== layout ===== */
.container {
  width: min(1160px, calc(100% - 40px));
  margin: 40px auto;
  display: flex;
  gap: 36px;
  justify-content: space-between;
  align-items: stretch;
}

/* 左 */
.content {
  width: min(720px, 100%);
  display: flex;
  flex-direction: column;
}

/* ===== 上3つ ===== */
/* ===== トップエリア ===== */
.top-area {
  width: min(1160px, calc(100% - 40px));
  margin: 40px auto;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* ===== カード3つ ===== */
.top-cards {
  width: min(720px, 100%);
  display: flex;
  gap: 24px;
}

/* 1枚のカード */
.card {
  width: calc((100% - 48px) / 3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(52, 38, 21, 0.08);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 52px rgba(52, 38, 21, 0.12);
}

/* 画像 */
.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.card h2 {
  font-size: 1rem;
  line-height: 1.6;
  margin: 18px 20px 8px;
  font-weight: 700;
  color: var(--text);
}

.card p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 20px 16px;
}

.card a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  text-decoration: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  width: 130px;
  margin: 0 0 20px 20px;
  padding: 12px 0;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.card a:hover {
  background: rgba(140, 107, 62, 0.12);
  color: #3f2e12;
}

/* ===== プロフィール ===== */
.top-profile {
  width: min(320px, 100%);
  margin-top: 40px;
}

.profile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 18px 36px rgba(52, 38, 21, 0.08);
}

.profile img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 18px;
  box-shadow: 0 16px 30px rgba(52, 38, 21, 0.1);
}

.profile h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.profile p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

/* ===== 記事 ===== */
.post {
  margin-bottom: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 22px 44px rgba(52, 38, 21, 0.07);
  overflow: hidden;
}

.post h2 {
  font-size: 1.55rem;
  margin: 24px 24px 12px;
  color: var(--text);
}

.post .date {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 24px 18px;
}

.post img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.post p {
  font-size: 1rem;
  line-height: 1.8;
  margin: 18px 24px 24px;
  color: var(--text);
}

.post a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 24px 24px;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--accent);
  border-bottom: 1px solid rgba(140, 107, 62, 0.35);
}

.post a:hover {
  color: #3f2e12;
}

.rank-post {
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-post:hover {
  transform: translateX(4px);
  box-shadow: 0 20px 40px rgba(52, 38, 21, 0.08);
}

.rank-post img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.rank-post p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
  padding: 14px 18px 18px;
  margin: 0;
}

/* ===== sidebar ===== */
.sidebar {
  width: 300px;
  margin-top: 0;
}

.widget {
  background: var(--surface);
  padding: 28px;
  margin-bottom: 30px;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(52, 38, 21, 0.06);
}

/* プロフィール */
.profile {
  margin-top: 0;
}

.profile h3 {
  margin: 10px 0 5px;
}

.profile p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
}

.profile img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* ===== footer ===== */
.footer {
  text-align: center;
  padding: 28px 0;
  background: transparent;
  color: var(--muted);
  margin-top: 60px;
}

.footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .inner,
  .top-area,
  .container {
    width: min(100% - 28px, 1160px);
  }

  .top-area,
  .container {
    flex-direction: column;
  }

  .top-cards,
  .top-profile,
  .content,
  .sidebar {
    width: 100%;
  }

  .top-profile {
    margin-top: 0;
  }

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

@media (max-width: 768px) {
  .inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    gap: 10px 18px;
  }

  .top-cards {
    flex-direction: column;
  }

  .card {
    width: 100%;
  }

  .card img {
    height: 220px;
  }

  .post h2 {
    font-size: 1.25rem;
  }

  .post img {
    height: 260px;
  }

  .widget {
    padding: 22px;
  }
}
/*# sourceMappingURL=style.css.map */
