@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

:root {
  --pink:    #FFB7C5;
  --yellow:  #FFF0A8;
  --blue:    #A8D8EA;
  --green:   #B8F0B8;
  --lavender:#D8B8F0;
  --accent:  #E8748A;
  --bg:      #FAFAF8;
  --text:    #1A1A1A;
  --gray:    #888;
  --border:  #E8E8E0;
  --white:   #fff;
}

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

body {
  font-family: 'Zen Maru Gothic', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

/* ==================
   サイトヘッダー
================== */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  padding: 12px 20px;
  text-align: center;
}

.site-header a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.site-header a span { color: var(--accent); }

/* ==================
   ヒーロー
================== */
.hero-wrap {
  background: var(--white);
  border-bottom: 2px solid var(--border);
}

.hero {
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 24px 0;
}

.hero-tag {
  display: block;
  text-align: center;
  border: 1.5px solid var(--border);
  color: var(--gray);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  letter-spacing: 0.12em;
}

.hero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
}

.hero-text { flex: 1; }

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-title span { color: var(--accent); }

.hero-desc {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--gray);
  line-height: 1.8;
  padding: 16px 0 20px;
}

.hero-image {
  width: 140px;
  height: 180px;
  flex-shrink: 0;
  align-self: flex-end;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ==================
   キャラ紹介
================== */
.chars-section {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  padding: 20px 16px;
}

.chars-section-inner {
  max-width: 640px;
  margin: 0 auto;
}

.chars-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  text-align: center;
}

.chars-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.char-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.char-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.char-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.char-item-info { flex: 1; }

.char-item-name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.char-item-desc {
  font-size: 11px;
  color: var(--gray);
  line-height: 1.5;
}

/* ==================
   記事一覧
================== */
.articles {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  background: var(--white);
  border-radius: 16px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 8px;
}

.card-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-meta { flex: 1; }

.card-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1px;
}

.card-date { font-size: 11px; color: var(--gray); }

.card-body { padding: 0 16px 14px; }

.card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
}

.card-product {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border-radius: 10px;
  padding: 10px 12px;
}

.card-product-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.card-product-info { flex: 1; }

.card-product-name {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.4;
}

.card-product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

.card-product-price span {
  font-size: 11px;
  color: var(--gray);
  font-weight: 400;
}

.card-snippet {
  margin-top: 10px;
  font-size: 12px;
  color: var(--gray);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

/* ==================
   記事ページ
================== */
.article-wrap { max-width: 640px; margin: 0 auto; }

.article-header {
  background: var(--white);
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.article-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.article-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.article-meta {
  font-size: 11px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-meta-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
}

.article-meta-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================
   マンガコマ風会話UI
================== */
.manga { background: var(--white); border-bottom: 1px solid var(--border); }

.manga-panel {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.manga-panel:last-child { border-bottom: none; }
.manga-panel.right { flex-direction: row-reverse; }

.manga-avatar {
  width: 48px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.manga-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
}

.manga-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manga-avatar-name {
  font-size: 9px;
  color: var(--gray);
  font-weight: 700;
  text-align: center;
}

.manga-text {
  flex: 1;
  background: var(--bg);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.7;
  position: relative;
  border: 1.5px solid var(--border);
  margin-top: 4px;
}

.manga-text::before {
  content: '';
  position: absolute;
  top: 14px;
  left: -9px;
  border: 8px solid transparent;
  border-right-color: var(--border);
}

.manga-text::after {
  content: '';
  position: absolute;
  top: 15px;
  left: -6px;
  border: 7px solid transparent;
  border-right-color: var(--bg);
}

.manga-panel.right .manga-text::before {
  left: auto;
  right: -9px;
  border-right-color: transparent;
  border-left-color: var(--border);
}

.manga-panel.right .manga-text::after {
  left: auto;
  right: -6px;
  border-right-color: transparent;
  border-left-color: var(--bg);
}

.manga-nyan {
  font-size: 11px;
  color: var(--gray);
  font-style: italic;
}

/* さくら登場演出 */
.sakura-enter {
  text-align: center;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--gray);
  font-style: italic;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.sakura-section {
  background: #FFF8F9;
  border-bottom: 2px solid var(--accent);
  border-top: 2px solid var(--accent);
}

.sakura-panel {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px 10px;
}

.sakura-shout {
  text-align: center;
  padding: 4px 16px 14px;
}

.sakura-shout-bubble {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--accent);
  color: white;
  border-radius: 24px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  gap: 12px;
}

/* ==================
   商品カード
================== */
.product-wrap {
  padding: 16px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.product-card {
  background: var(--white);
  border-radius: 16px;
  border: 2px solid var(--accent);
  overflow: hidden;
}

.product-card-inner {
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.product-img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-btn {
  display: block;
  background: var(--accent);
  color: white;
  text-align: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Zen Maru Gothic', sans-serif;
  text-decoration: none;
  border: none;
  cursor: pointer;
  flex: 1;
  border-radius: 12px;
  letter-spacing: 0.05em;
}

.product-info { flex: 1; }

.product-shop {
  font-size: 10px;
  color: var(--gray);
  margin-bottom: 3px;
}

.product-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.product-review {
  font-size: 11px;
  color: var(--gray);
  margin-top: 2px;
}

a.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.product-card:hover {
  opacity: 0.95;
}

.back-btn {
  display: block;
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

/* ==================
   フッター
================== */
footer {
  text-align: center;
  padding: 28px 20px;
  font-size: 11px;
  color: var(--gray);
  border-top: 1px solid var(--border);
  margin-top: 8px;
  line-height: 2;
}
