* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #242424;
  background: #f5f5f5;
  font-size: 13px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic",
    Meiryo, sans-serif;
  line-height: 1.75;
}
.site-header {
  height: 68px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  padding: 0 max(24px, calc((100% - 1120px) / 2));
  gap: 42px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #222;
  text-decoration: none;
}
.site-header nav {
  display: flex;
  gap: 28px;
  flex: 1;
}
.site-header nav a {
  color: #666;
  text-decoration: none;
  font-size: 11px;
}
.header-btn,
.follow-btn {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  padding: 7px 18px;
  cursor: pointer;
}
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 95px 24px 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  color: #8b8b8b;
  font-weight: 700;
  margin: 0 0 8px;
}
.hero h1 {
  font-size: 48px;
  line-height: 1.25;
  letter-spacing: -2px;
  margin: 0 0 22px;
}
.hero-copy {
  color: #666;
  margin-bottom: 28px;
}
.primary-btn {
  display: inline-block;
  background: #222;
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 11px 24px;
  cursor: pointer;
}
.hero-art {
  width: 330px;
  height: 250px;
  position: relative;
  background: #f4f0e9;
  border-radius: 18px;
  overflow: hidden;
}
.hero-art span {
  position: absolute;
  font-size: 100px;
}
.hero-art span:nth-child(1) {
  top: 20px;
  left: 50px;
}
.hero-art span:nth-child(2) {
  right: 30px;
  top: 80px;
  font-size: 140px;
}
.hero-art span:nth-child(3) {
  bottom: -15px;
  left: 125px;
  font-size: 100px;
}
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 55px 24px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: 20px;
  margin: 0;
}
.section-head > a {
  font-size: 13px;
  color: #666;
  text-decoration: none;
}
.article-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}
.article-card {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.thumb,
.product-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  letter-spacing: 1px;
}
.thumb {
  height: 190px;
  font-size: 22px;
}
.thumb-a {
  background: #e8dfd0;
}
.card-body {
  padding: 20px;
}
.meta {
  font-size: 10px;
  color: #999;
  margin: 0 0 7px;
}
.card-body h3 {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 9px;
}
.card-body h3 a {
  color: #222;
  text-decoration: none;
}
.card-body > p {
  font-size: 12px;
  color: #777;
}
.author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-top: 18px;
}
.avatar {
  width: 30px;
  height: 30px;
  background: #222;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex: none;
}
.large {
  width: 64px;
  height: 64px;
  font-size: 22px;
}
.huge {
  width: 100px;
  height: 100px;
  font-size: 34px;
}
.creator-section {
  border-top: 1px solid #eee;
}
.creator-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.creator-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  padding: 30px 20px;
}
.creator-card .title_img {
  width: calc(100% + 40px);
  max-width: none;
  height: 180px;
  display: block;
  object-fit: cover;
  margin: -30px -20px 0;
  border-radius: 12px 12px 0 0;
}
.creator-card h3 {
  margin: 12px 0 2px;
}
.creator-card p {
  font-size: 12px;
  color: #777;
  margin: 0 0 15px;
}
.creator-card a {
  margin-top: auto;
}
.creator-card a,
.author-box a {
  font-size: 12px;
  color: #444;
}
.article-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 55px 20px;
}
.article-detail .article-cover {
  height: 340px;
  border-radius: 14px;
  font-size: 28px;
  margin-bottom: 28px;
}
.article-detail h1 {
  font-size: 30px;
  line-height: 1.45;
  letter-spacing: -1px;
  margin: 12px 0 25px;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 25px;
}
.article-author small {
  display: block;
  color: #999;
  font-size: 11px;
}
.article-author .follow-btn {
  margin-left: auto;
}
.article-body {
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 15px;
  line-height: 2.1;
  padding: 35px 0;
}
.article-body h2 {
  font-family: inherit;
  font-size: 20px;
  margin-top: 42px;
}
.article-body blockquote {
  border-left: 3px solid #bbb;
  margin: 35px 0;
  padding: 15px 20px;
  color: #666;
}
.article-actions {
  border-top: 1px solid #eee;
  padding-top: 20px;
  display: flex;
  gap: 10px;
}
.article-actions button {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
}
.author-box {
  display: flex;
  gap: 18px;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 25px;
  margin: 10px 0 60px;
}
.author-box h3 {
  margin: 0;
}
.author-box p {
  font-size: 12px;
  color: #777;
}
.creator-hero {
  max-width: 1120px;
  margin: auto;
  padding: 70px 24px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  border-bottom: 1px solid #eee;
}
.creator-hero .title_img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  border-radius: 12px;
}
.creator-hero > div {
  min-width: 0;
}
.creator-hero h1 {
  margin: 0;
  font-size: 24px;
}
.creator-hero p {
  color: #666;
}
.creator-hero .primary-btn {
  margin-left: auto;
}
.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}
.tabs button {
  border: 0;
  background: none;
  padding: 10px 18px;
  color: #888;
  cursor: pointer;
}
.tabs button.active {
  color: #222;
  border-bottom: 2px solid #222;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.product-card {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.product-card.no-thumb {
  background: #fff;
}
.product-thumb {
  height: 230px;
  font-size: 25px;
}
.product-thumb.is-image {
  padding: 0;
  overflow: hidden;
  background: #111;
}
.product-thumb-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.product-body {
  padding: 22px;
}
.product-card.no-thumb .product-body {
  padding: 28px 22px 24px;
}
.product-card.no-thumb .tag {
  background: #ececec;
}
.tag {
  font-size: 11px;
  background: #f1f1f1;
  border-radius: 5px;
  padding: 3px 8px;
  color: #666;
}
.product-tag {
  background: #eee5d8;
}
.product-body h3 {
  font-size: 13px;
  margin: 12px 0 5px;
}
.product-body p {
  font-size: 10px;
  color: #777;
}
.product-body strong {
  display: block;
  font-size: 17px;
  margin-top: 15px;
}
.buy-btn {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  padding: 7px 16px;
  float: right;
  margin-top: -32px;
  cursor: pointer;
}
footer {
  border-top: 1px solid #eee;
  padding: 35px max(24px, calc((100% - 1120px) / 2));
  display: flex;
  justify-content: space-between;
  color: #999;
  font-size: 9px;
  margin-top: 30px;
}
.back-to-top {
  display: none;
  position: fixed;
  right: 14px;
  bottom: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  z-index: 40;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.back-to-top:active {
  transform: translateY(1px);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 760px) {
  .site-header {
    gap: 12px;
    height: auto;
    min-height: 64px;
    padding: 0 16px;
  }
  .site-header nav {
    gap: 10px;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .site-header nav a {
    font-size: 11px;
    white-space: nowrap;
  }
  .logo {
    font-size: 18px;
  }
  .hero {
    padding: 60px 20px;
    display: block;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-art {
    width: 100%;
    height: 180px;
    margin-top: 40px;
  }
  .article-grid,
  .creator-row,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .article-grid .featured {
    grid-column: auto;
  }
  .section {
    padding: 32px 16px;
  }
  .article-detail h1 {
    font-size: 24px;
  }
  .article-detail .article-cover {
    height: 230px;
  }
  .creator-hero {
    padding: 32px 16px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .creator-hero .title_img {
    width: 100%;
    max-width: none;
  }
  .creator-hero h1 {
    font-size: 21px;
  }
  .creator-hero p {
    font-size: 12px;
    line-height: 1.8;
  }
  .product-grid {
    gap: 14px;
  }
  .product-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: stretch;
  }
  .product-card.no-thumb {
    display: block;
  }
  .product-thumb {
    height: 100%;
    min-height: 132px;
  }
  .product-body {
    padding: 16px;
  }
  .product-card.no-thumb .product-body {
    padding: 20px 16px 18px;
  }
  .product-body h3 {
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 8px;
  }
  .product-body p {
    font-size: 10px;
    line-height: 1.7;
  }
  .creator-hero .primary-btn {
    grid-column: 1/-1;
    margin: 0;
  }
  .header-btn {
    display: none;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 24px 16px;
  }
  .back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
