/* =========================================================
   めろしおり — 水彩テーマ
   ========================================================= */

/* ===== 配色・基本設定 ===== */
:root {
  --bg: #fbf7f2;              /* 水彩紙 */
  --surface: rgba(255, 253, 250, .78);
  --surface-solid: #fffdfa;
  --text: #3b2f33;
  --muted: #7d6c71;
  --line: rgba(154, 92, 106, .16);
  --accent: #9a5c6a;          /* くすみローズ */
  --accent-dark: #7e4655;
  --accent-soft: #f6e9ea;

  /* 水彩の絵の具 */
  --rose: 214, 150, 160;
  --lavender: 176, 160, 210;
  --peach: 240, 196, 170;
  --sage: 178, 200, 186;

  --thumb: #d9d4d2;           /* 画像なしの灰色 */
  --radius: 18px;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  /* 水彩紙のざらつき */
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .34 0 0 0 0 .33 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* 色だまりのまだら（背景の水彩のマスク） */
  --blot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.011' numOctaves='4' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.6 0 0 0 -.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
  /* にじみのムラ */
  --bloom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .84 0 0 0 0 .6 0 0 0 0 .64 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--paper), var(--bloom);
  background-size: 260px 260px, 900px 900px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); }

.container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== 背景の水彩（ゆっくり動く） ===== */
.wash {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  transform: translate3d(0, calc(var(--sy, 0) * -0.06px), 0);
}
.wash span {
  position: absolute;
  display: block;
  width: var(--s);
  height: var(--s);
  left: var(--x);
  top: var(--y);
  /* いくつかの色だまりを重ねて、形をいびつに */
  background:
    radial-gradient(42% 38% at 38% 40%, rgba(var(--c), .34), rgba(var(--c), .16) 65%, transparent 100%),
    radial-gradient(36% 42% at 64% 58%, rgba(var(--c), .26), rgba(var(--c), .1) 70%, transparent 100%),
    radial-gradient(30% 26% at 30% 70%, rgba(var(--c), .22), transparent 100%),
    radial-gradient(26% 30% at 72% 30%, rgba(var(--c), .2), transparent 100%);
  /* にじみのムラ（紙に染みこんだようなまだら） */
  -webkit-mask-image: var(--blot);
  mask-image: var(--blot);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  border-radius: 58% 42% 55% 45% / 47% 58% 42% 53%;
  filter: blur(3px);
  mix-blend-mode: multiply;
  animation: drift var(--d, 28s) ease-in-out infinite alternate;
}
.wash span:nth-child(1) { --c: var(--rose);     --s: 62vmax; --x: -18vmax; --y: -16vmax; --d: 32s; }
.wash span:nth-child(2) { --c: var(--lavender); --s: 48vmax; --x: 62vw;    --y: -10vmax; --d: 26s; animation-delay: -8s; }
.wash span:nth-child(3) { --c: var(--peach);    --s: 40vmax; --x: 55vw;    --y: 58vh;    --d: 30s; animation-delay: -14s; }
.wash span:nth-child(4) { --c: var(--sage);     --s: 30vmax; --x: -8vmax;  --y: 70vh;    --d: 24s; animation-delay: -4s; }

@keyframes drift {
  0%   { border-radius: 58% 42% 55% 45% / 47% 58% 42% 53%; transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { border-radius: 42% 58% 46% 54% / 58% 44% 56% 42%; transform: translate(3vmax, 2vmax) rotate(14deg) scale(1.06); }
  100% { border-radius: 52% 48% 38% 62% / 44% 52% 48% 56%; transform: translate(-2vmax, 4vmax) rotate(-8deg) scale(.97); }
}

/* ===== PR表記 ===== */
.pr-bar {
  position: relative;
  background: rgba(239, 231, 228, .85);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: .02em;
}

/* ===== 読み進みバー（レビューページ） ===== */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, rgb(var(--peach)), rgb(var(--rose)), rgb(var(--lavender)));
  border-radius: 0 3px 3px 0;
  opacity: .9;
}

/* ===== ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 242, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}
.site-logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: .08em;
}
.site-header__nav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

/* ===== トップ：ヒーロー ===== */
.hero {
  position: relative;
  text-align: center;
  padding: 64px 16px 36px;
}
/* 背景の水彩イラスト（images/hero-bg.jpg がなければ何も出ない） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("images/hero-bg.jpg") center / cover no-repeat;
  mix-blend-mode: multiply;          /* 白い紙の部分を背景になじませる */
  opacity: .9;
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
  animation: fade 2s ease-out both;
}
/* スマホでは左右の花が切れないよう、横幅に合わせて上に置く */
@media (max-width: 719px) {
  .hero::before {
    background-size: 100% auto;
    background-position: center top;
  }
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.hero__text { position: relative; padding: 8px 12px; }
/* 文字の後ろだけ紙を白くして読みやすく */
.hero__text::before {
  content: "";
  position: absolute;
  inset: -10% -14%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(251, 247, 242, .85), rgba(251, 247, 242, .55) 60%, transparent);
}

/* 看板の女の子 */
.hero__girl {
  margin: -24px 0 4px;
  width: min(230px, 60vw);
  mix-blend-mode: multiply;          /* 白い紙の部分を背景になじませる */
  animation: float 7s ease-in-out infinite, fade 1.6s ease-out both;
}
.hero__girl img {
  width: 100%;
  height: auto;
  /* 絵の端を紙に溶かす */
  -webkit-mask-image: radial-gradient(ellipse 72% 74% at 50% 50%, #000 68%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 74% at 50% 50%, #000 68%, transparent 100%);
}
@media (min-width: 720px) {
  .hero__inner {
    flex-direction: row-reverse;
    justify-content: center;
    gap: 24px;
  }
  .hero__girl { width: 320px; margin: -32px 0 -28px; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50%      { transform: translateY(-10px) rotate(.6deg); }
}

.hero__title {
  position: relative;
  display: inline-block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 8vw, 44px);
  letter-spacing: .14em;
  margin: 0;
  animation: ink-in 1.6s ease-out both;
}
.hero__brush {
  display: block;
  width: min(280px, 70vw);
  height: 28px;
  margin: 2px auto 0;
  overflow: visible;
}
.hero__brush path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: brush 1.4s .7s cubic-bezier(.6, .1, .3, 1) forwards;
}
.hero__lead {
  color: var(--muted);
  margin: 10px 0 0;
  font-size: clamp(13px, 3.6vw, 15px);
  letter-spacing: .04em;
  animation: ink-in 1.4s .5s ease-out both;
}

@keyframes ink-in {
  from { opacity: 0; filter: blur(8px); letter-spacing: .3em; }
  to   { opacity: 1; filter: blur(0); }
}
@keyframes brush {
  to { stroke-dashoffset: 0; }
}

/* ===== ジャンル絞り込み ===== */
.filter { margin: 0 0 8px; }
.filter__label {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
}
.filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  appearance: none;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .4s, border-color .4s, color .4s, transform .2s;
}
.chip:hover { border-color: rgba(var(--rose), .8); transform: translateY(-1px); }
.chip[aria-pressed="true"] {
  background: radial-gradient(120% 140% at 30% 20%, #b77583 0%, var(--accent) 55%, #8a5070 100%);
  border-color: transparent;
  color: #fff;
}
.filter__group { margin-top: 14px; }
.chip--pick {border-color: rgba(201, 150, 90, .55); color: #8a6232; }
.chip--pick[aria-pressed="true"] {
  background: radial-gradient(120% 140% at 30% 20%, #e3bd84 0%, #c4935a 55%, #a0703f 100%);
}

/* めろしおりのイチオシ（金色の水彩ラベル） */
.pick-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-block;
  padding: 6px 12px 6px 10px;
  font-size: 12px;
  letter-spacing: .06em;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  background: radial-gradient(130% 160% at 25% 20%, #e8c58e 0%, #c99a5e 55%, #a5743f 100%);
  border-radius: 999px 999px 999px 4px;
  box-shadow: 0 3px 10px rgba(140, 95, 45, .25);
  pointer-events: none;
}
.pick-badge--inline {
  position: static;
  margin: 0 0 10px;
  pointer-events: auto;
}
.chip:focus-visible, .btn:focus-visible, .btn-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.result-count {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 12px;
}

/* ===== 作品カード ===== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 64px;
}
@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 14px rgba(154, 92, 106, .06);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(154, 92, 106, .14);
}
.card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}
.card__price {
  font-size: 15px;
  margin: 0;
}
.card__body .btn { margin-top: auto; }

/* サムネイル（画像がないときは灰色の水彩の枠） */
.thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--thumb);
  background-image:
    var(--paper),
    radial-gradient(60% 70% at 25% 30%, rgba(255, 255, 255, .35), transparent 70%),
    radial-gradient(50% 60% at 80% 75%, rgba(120, 110, 112, .18), transparent 70%);
  background-size: 260px 260px, auto, auto;
}
.thumb__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8f8885;
  font-size: 13px;
  letter-spacing: .14em;
  font-family: var(--serif);
}
.thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2, .8, .2, 1), opacity .8s;
}
.card:hover .thumb img { transform: scale(1.04); }
/* 下端を水彩のにじみでぼかす */
.thumb::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -18px;
  height: 36px;
  background: var(--surface-solid);
  border-radius: 48% 52% 0 0 / 100% 100% 0 0;
  filter: blur(8px);
  opacity: .9;
}
.work-head .thumb::after { display: none; }

/* ジャンルタグ */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  padding: 6px 11px;
  border-radius: 46% 54% 50% 50% / 60% 55% 45% 40%;
  background: rgba(var(--rose), .18);
  color: var(--accent-dark);
  text-decoration: none;
  transition: background .3s;
}
.tags li:nth-child(3n+2) .tag, .tags .tag:nth-child(3n+2) { background: rgba(var(--lavender), .22); }
.tags li:nth-child(3n+3) .tag, .tags .tag:nth-child(3n+3) { background: rgba(var(--peach), .32); }
a.tag:hover { background: rgba(var(--rose), .32); }

/* ===== ボタン ===== */
.btn {
  appearance: none;
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-align: center;
  font: inherit;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition: background .3s, color .3s, border-color .3s;
}
.btn--primary {
  background: radial-gradient(120% 160% at 30% 20%, #b77583 0%, var(--accent) 55%, #8a5070 100%);
  border-color: transparent;
  color: #fff;
}
.btn--primary:hover { background: var(--accent-dark); }
.btn--outline { background: rgba(255, 255, 255, .5); color: var(--accent); }
.btn--outline:hover { background: var(--accent-soft); }
.btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: rgba(125, 108, 113, .3);
}
.btn--ghost:hover { border-color: var(--muted); }

/* タップしたところから絵の具がにじむ */
.ink {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--c, var(--rose)), .45), rgba(var(--c, var(--rose)), .25) 70%, transparent);
  pointer-events: none;
  animation: ink-spread .9s ease-out forwards;
}
.btn--primary .ink, .chip[aria-pressed="true"] .ink, .btn-cta .ink { --c: 255, 240, 244; }
@keyframes ink-spread {
  from { transform: scale(0); opacity: 1; }
  to   { transform: scale(22); opacity: 0; }
}

/* ===== スクロールで浮かび上がる ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition:
    opacity .9s ease-out,
    transform .9s cubic-bezier(.2, .8, .2, 1),
    filter .9s ease-out;
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ===== レビューページ ===== */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin: 20px 0 16px;
}
.breadcrumb a { color: var(--muted); }

.work-head {
  background: var(--surface);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 720px) {
  .work-head {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
  }
  .work-head .thumb { aspect-ratio: auto; min-height: 280px; }
}
.work-head__info { padding: 22px 20px; }
.work-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 5.5vw, 28px);
  line-height: 1.5;
  margin: 0 0 16px;
}
.spec {
  margin: 0;
  display: grid;
  grid-template-columns: 4.5em 1fr;
  gap: 10px 12px;
  font-size: 15px;
}
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
.spec--wide { grid-template-columns: 7em 1fr; gap: 14px 12px; }
.spec--wide dt { padding-top: 3px; }
@media (max-width: 479px) {
  .spec--wide { grid-template-columns: 1fr; gap: 6px; }
  .spec--wide dd { margin-bottom: 10px; }
}

.section {
  background: var(--surface);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  margin-top: 22px;
}
/* 見出しの下に水彩の筆あと */
.section__title {
  position: relative;
  display: inline-block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 18px;
  line-height: 1.4;
  z-index: 0;
}
.section__title::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8px;
  right: -12px;
  bottom: -2px;
  height: .62em;
  background: linear-gradient(95deg, rgba(var(--rose), .45), rgba(var(--lavender), .38) 70%, rgba(var(--lavender), .12));
  border-radius: 40% 60% 55% 45% / 70% 50% 60% 40%;
  filter: blur(1.5px);
  transform-origin: 0 50%;
  transform: scaleX(1);
}
.js .reveal .section__title::before {
  transform: scaleX(0);
  transition: transform 1.1s .35s cubic-bezier(.6, .1, .3, 1);
}
.js .reveal.is-in .section__title::before { transform: scaleX(1); }

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: point;
  display: grid;
  gap: 12px;
}
.points li {
  counter-increment: point;
  position: relative;
  padding: 14px 14px 14px 54px;
  background: rgba(var(--rose), .1);
  border-radius: 14px;
}
.points li:nth-child(2) { background: rgba(var(--lavender), .13); }
.points li:nth-child(3) { background: rgba(var(--peach), .2); }
.points li::before {
  content: counter(point);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 54% 46% 50% 50% / 48% 56% 44% 52%;
  background: var(--surface-solid);
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  line-height: 28px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(var(--rose), .4);
}

.review-text p { margin: 0 0 1.2em; }
.review-text p:last-child { margin-bottom: 0; }

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .45em;
  width: 16px;
  height: 16px;
  border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%;
  background: rgba(var(--rose), .32);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: .72em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.cta {
  text-align: center;
  margin: 36px 0 16px;
}
.btn-cta {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 18px 24px;
  border-radius: 999px;
  background: radial-gradient(120% 200% at 25% 20%, #bf7f8c 0%, var(--accent) 50%, #85507a 100%);
  background-size: 160% 160%;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(154, 92, 106, .25);
  animation: pigment 8s ease-in-out infinite alternate;
  transition: transform .3s, box-shadow .3s;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(154, 92, 106, .32);
}
@keyframes pigment {
  from { background-position: 0% 0%; }
  to   { background-position: 100% 100%; }
}
.btn-cta[aria-disabled="true"] {
  background: var(--thumb);
  box-shadow: none;
  animation: none;
  pointer-events: none;
}
.cta__note {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 0;
}

.back-link {
  text-align: center;
  margin: 24px 0 64px;
}

.not-found {
  text-align: center;
  padding: 64px 16px;
}

/* ===== フッター ===== */
.site-footer {
  position: relative;
  background: rgba(255, 253, 250, .6);
  padding: 40px 16px 32px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
/* フッター上端のにじみ */
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 28px;
  background: linear-gradient(90deg, rgba(var(--peach), .35), rgba(var(--rose), .3), rgba(var(--lavender), .35));
  border-radius: 50%;
  filter: blur(10px);
}
.footer-links {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.copyright { margin: 0; font-size: 12px; }

/* ===== 年齢確認 ===== */
.age-gate { display: none; }
.age-pending .age-gate {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(70, 55, 62, .45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: fade .6s ease-out both;
}
.age-pending body { overflow: hidden; }
.age-gate__box {
  position: relative;
  overflow: hidden;
  background-color: var(--surface-solid);
  background-image:
    var(--paper),
    radial-gradient(70% 50% at 0% 0%, rgba(var(--rose), .28), transparent 70%),
    radial-gradient(60% 50% at 100% 100%, rgba(var(--lavender), .28), transparent 70%);
  background-size: 260px 260px, auto, auto;
  width: 100%;
  max-width: 380px;
  border-radius: 22px;
  padding: 34px 24px 28px;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .2);
  animation: bloom .9s .1s cubic-bezier(.2, .8, .2, 1) both;
}
.age-gate__site {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--accent);
  margin: 0 0 12px;
}
.age-gate__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 12px;
}
.age-gate__note {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px;
}
.age-gate__actions {
  display: flex;
  gap: 12px;
}
.age-gate__actions .btn { flex: 1; }
.age-gate.is-leaving { animation: fade .5s ease-in reverse both; }

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bloom {
  from { opacity: 0; transform: scale(.94); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* ===== 動きを減らす設定の人には止める ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .wash { transform: none; }
  .hero__brush path { stroke-dashoffset: 0; }
}

/* ===== 見本画像ギャラリー ===== */
.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (min-width: 600px) {
  .gallery { grid-template-columns: repeat(5, 1fr); gap: 10px; }
}
.gallery__item {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--thumb);
  aspect-ratio: 3 / 4;
  cursor: zoom-in;
  box-shadow: 0 2px 10px rgba(154, 92, 106, .08);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
}
.gallery__item:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(154, 92, 106, .18); }
.gallery__item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.gallery__note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* 拡大表示 */
.lightbox-open body { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 8px;
  background: rgba(40, 30, 36, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade .3s ease-out both;
}
.lightbox[hidden] { display: none; }
.lightbox__figure {
  margin: 0;
  max-width: min(92vw, 900px);
  text-align: center;
}
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  margin: 0 auto;
  border-radius: 8px;
  opacity: 0;
  transform: scale(.98);
  transition: opacity .3s, transform .3s;
}
.lightbox__figure img.is-shown { opacity: 1; transform: none; }
.lightbox__count {
  margin-top: 10px;
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
  letter-spacing: .1em;
}
.lightbox__close, .lightbox__nav {
  appearance: none;
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .26); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav { top: 50%; margin-top: -22px; }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }

/* =========================================================
   トップの新しいレイアウト（看板・新着・カテゴリ・読みものなど）
   ========================================================= */

/* ===== サイトの見出し（ロゴとメニュー） ===== */
.masthead {
  position: relative;
  text-align: center;
  padding: 22px 0 6px;
}
.masthead__logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: .14em;
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
}
.masthead__tag {
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--accent);
  border: 1px solid rgba(var(--rose), .7);
  border-radius: 999px;
  padding: 1px 10px;
}
.masthead__nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 12px auto 0;
  padding: 0 16px 4px;
}
.masthead__nav a {
  flex: none;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  transition: border-color .3s, color .3s, background .3s;
}
.masthead__nav a:hover { border-color: rgba(var(--rose), .8); color: var(--accent); }
.masthead__nav a[aria-current="page"] { background: var(--accent); border-color: transparent; color: #fff; }
/* スマホではメニューを横にすべらせる */
@media (max-width: 719px) {
  .masthead__nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .masthead__nav::-webkit-scrollbar { display: none; }
}

/* ===== 看板（大きな角丸のバナー） ===== */
.hero-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  min-height: 300px;
  padding: 28px 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background-color: var(--surface-solid);
  box-shadow: 0 10px 40px rgba(154, 92, 106, .12);
  isolation: isolate;
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("images/hero-bg.jpg") center / cover no-repeat;
  opacity: .95;
  animation: fade 2s ease-out both;
}
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 80% at 30% 50%, rgba(255, 253, 250, .7), transparent 75%);
}
.hero-banner__text { text-align: center; flex: 0 1 auto; }
.hero-banner__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 7vw, 54px);
  letter-spacing: .14em;
  margin: 0;
  line-height: 1.3;
  animation: ink-in 1.6s ease-out both;
}
.hero-banner__sub {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: clamp(14px, 2.6vw, 18px);
  letter-spacing: .12em;
  color: var(--accent-dark);
  animation: ink-in 1.4s .5s ease-out both;
}
.hero-banner__girl {
  margin: 0;
  width: 300px;
  flex: none;
  mix-blend-mode: multiply;
  animation: float 7s ease-in-out infinite, fade 1.6s ease-out both;
}
.hero-banner__girl img {
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 72% 74% at 50% 50%, #000 68%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 74% at 50% 50%, #000 68%, transparent 100%);
}
@media (min-width: 720px) {
  .hero-banner { gap: 40px; padding: 16px 48px; }
  .hero-banner__girl { margin: -20px 0 -40px; }
}
@media (max-width: 719px) {
  .hero-banner { flex-direction: column-reverse; min-height: 0; padding: 4px 16px 26px; gap: 0; }
  .hero-banner__girl { width: min(220px, 58vw); margin: 0 0 -10px; }
  .hero-banner::before { background-size: 160% auto; background-position: center top; }
}

/* ===== 看板の下のあいさつ ===== */
.intro { text-align: center; padding: 34px 0 8px; }
.intro__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(19px, 4.6vw, 26px);
  letter-spacing: .06em;
  line-height: 1.7;
  margin: 0 0 14px;
}
.intro__lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 2;
  color: var(--muted);
}
br.sp { display: none; }
@media (max-width: 599px) { br.sp { display: inline; } .intro__lead { text-align: left; } }

/* ===== 各ブロックと見出し ===== */
.block { padding: 52px 16px 0; }
.block:last-of-type { padding-bottom: 64px; }
.sec-head { text-align: center; margin: 0 0 24px; }
.sec-head__en {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgb(var(--rose));
}
.sec-head__title {
  position: relative;
  margin: 2px 0 0;
  padding-bottom: 14px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 4.4vw, 25px);
  letter-spacing: .14em;
}
.sec-head__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 32px;
  height: 2px;
  margin-left: -16px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgb(var(--peach)), rgb(var(--rose)));
}
.sec-head--left { text-align: left; margin-top: 10px; }
.sec-head--left .sec-head__title::after { left: 0; margin-left: 0; }
.block__more { text-align: center; margin: 26px 0 0; }

/* ===== 表紙が主役の新着一覧 ===== */
.cover-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 14px;
}
@media (min-width: 600px) { .cover-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cover-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cover a { position: relative; display: block; color: var(--text); text-decoration: none; }
.cover .thumb {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(154, 92, 106, .1);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
}
.cover .thumb::after { display: none; }
.cover a:hover .thumb { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(154, 92, 106, .18); }
.cover a:hover .thumb img { transform: scale(1.04); }
.cover__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}
.cover__meta, .cover__price { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.pick-badge--sm { top: 8px; left: 8px; padding: 4px 9px 4px 8px; font-size: 11px; }

/* ===== 準備中のお知らせ ===== */
.soon {
  text-align: center;
  padding: 30px 22px;
  border-radius: var(--radius);
  border: 1px dashed rgba(var(--lavender), .9);
  background:
    radial-gradient(60% 90% at 20% 20%, rgba(var(--lavender), .18), transparent 70%),
    radial-gradient(50% 80% at 85% 80%, rgba(var(--rose), .14), transparent 70%),
    var(--surface);
}
.soon__title { margin: 0 0 6px; font-family: var(--serif); font-weight: 600; font-size: 16px; }
.soon__text { margin: 0 auto; max-width: 520px; font-size: 13px; color: var(--muted); }
.soon-tag {
  display: inline-block;
  vertical-align: 2px;
  margin-left: 6px;
  padding: 1px 8px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
}

/* ===== グッズの案内（絵と文の横並び） ===== */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
@media (min-width: 720px) { .feature { grid-template-columns: 1fr 1fr; } }
.feature__art {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  background:
    radial-gradient(45% 60% at 30% 40%, rgba(var(--peach), .85), transparent 70%),
    radial-gradient(40% 55% at 70% 65%, rgba(var(--rose), .75), transparent 70%),
    radial-gradient(35% 45% at 60% 20%, rgba(var(--lavender), .55), transparent 70%),
    var(--surface-solid);
}
.feature__blot {
  position: absolute;
  inset: -10%;
  background: var(--paper);
  background-size: 260px 260px;
  -webkit-mask-image: var(--blot);
  mask-image: var(--blot);
  opacity: .8;
}
.feature__word, .cat__word {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(38px, 8vw, 56px);
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 18px rgba(126, 70, 85, .35);
  white-space: nowrap;
}
.feature__body { padding: 24px 22px; display: flex; flex-direction: column; justify-content: center; }
.feature__body p { margin: 0 0 18px; font-size: 15px; line-height: 1.95; }
.feature__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* グッズを横にすべらせて見る */
.goods-row { margin-top: 20px; }
.goods-row__note { margin: 0 0 10px; font-size: 12px; color: var(--muted); }
.goods-row__list {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 150px;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.goods-row__list li { scroll-snap-align: start; }
.goods-row__list a { display: block; color: var(--text); text-decoration: none; }
.goods-row__list .thumb { aspect-ratio: 1; border-radius: 12px; background-color: #fff; }
.goods-row__list .thumb img { object-fit: contain; }
.goods-row__list .thumb::after { display: none; }

/* ===== 探し方を選ぶ（カテゴリのカード） ===== */
.cat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat--wide { grid-column: 1 / -1; }
}
.cat a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
}
.cat a:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(154, 92, 106, .14); }
.cat__art {
  position: relative;
  display: block;
  height: 150px;
  overflow: hidden;
  background-color: var(--surface-solid);
}
.cat--wide .cat__art { height: 210px; }
.cat__art::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: var(--paper), var(--tint);
  background-size: 260px 260px, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat;
  transition: transform 1.4s cubic-bezier(.2, .8, .2, 1);
}
.cat a:hover .cat__art::before { transform: scale(1.06) rotate(-1deg); }
.cat__art--rose     { --tint: radial-gradient(50% 70% at 30% 40%, rgba(var(--rose), .95), transparent 70%), radial-gradient(45% 60% at 75% 60%, rgba(var(--peach), .8), transparent 70%); }
.cat__art--lavender { --tint: radial-gradient(50% 70% at 35% 45%, rgba(var(--lavender), .95), transparent 70%), radial-gradient(40% 60% at 75% 55%, rgba(var(--rose), .55), transparent 70%); }
.cat__art--peach    { --tint: radial-gradient(50% 70% at 40% 40%, rgba(var(--peach), .95), transparent 70%), radial-gradient(40% 55% at 75% 65%, rgba(var(--rose), .6), transparent 70%); }
.cat__art--sage     { --tint: radial-gradient(50% 70% at 35% 50%, rgba(var(--sage), .95), transparent 70%), radial-gradient(40% 55% at 75% 40%, rgba(var(--lavender), .5), transparent 70%); }
.cat__art--mix      { --tint: radial-gradient(45% 65% at 30% 45%, rgba(var(--rose), .8), transparent 70%), radial-gradient(45% 65% at 70% 55%, rgba(var(--lavender), .8), transparent 70%); }
.cat__art--gold     { --tint: radial-gradient(50% 70% at 35% 45%, rgba(232, 197, 142, .95), transparent 70%), radial-gradient(40% 55% at 75% 60%, rgba(var(--peach), .7), transparent 70%); }
.cat__body { display: block; padding: 16px 18px 18px; }
.cat__title { display: block; font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .06em; }
.cat__arrow { color: rgb(var(--rose)); transition: margin .3s; }
.cat a:hover .cat__arrow { margin-left: 4px; }
.cat__text { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

/* ===== 番号つきの読みもの一覧 ===== */
.num-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.num-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 6px;
  border-bottom: 1px solid var(--line);
}
.num-list__n {
  flex: none;
  width: 2.2em;
  font-family: var(--serif);
  font-size: 26px;
  color: rgb(var(--rose));
}
.num-list__title { display: block; font-family: var(--serif); font-weight: 600; font-size: 15px; }
.num-list__text { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

/* ===== よくある質問 ===== */
.faq { display: grid; gap: 10px; }
.faq details {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0 18px;
}
.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 15px 28px 15px 0;
  font-weight: 700;
  font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; margin-right: 8px; font-family: var(--serif); color: rgb(var(--rose)); }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--muted);
  transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 16px; font-size: 14px; color: var(--muted); line-height: 1.95; }

/* ===== 掲載の基準 ===== */
.policy {
  max-width: 620px;
  margin: 0 auto;
  padding: 22px 24px 22px 44px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  line-height: 2;
}
.policy li::marker { color: rgb(var(--rose)); }

/* ===== 一覧ページ：種類の切り替え ===== */
.type-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 22px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
}
.type-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s, color .3s;
}
.type-tab[aria-selected="true"] { background: var(--accent); color: #fff; }
.type-tab__n { margin-left: 6px; font-size: 11px; opacity: .7; }
.filter__group:first-child { margin-top: 0; }
.card__type { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: rgb(var(--rose)); }
.empty-note { text-align: center; padding: 30px 0 70px; color: var(--muted); }

/* 下書きのプレビューのお知らせ */
.draft-note {
  margin: 16px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(201, 150, 90, .8);
  background: rgba(232, 197, 142, .18);
  color: #8a6232;
  font-size: 13px;
}

/* 運営者情報・お問い合わせ・プライバシーポリシー */
.doc { max-width: 760px; padding-bottom: 56px; }
.doc__section { margin-bottom: 18px; }
.doc__list { margin: 0; padding-left: 1.3em; line-height: 1.95; }
.doc__list li { margin-bottom: .5em; }
.doc__list li::marker { color: rgb(var(--rose)); }
.doc__cta { margin: 20px 0 6px; }
.doc__note, .doc__date { font-size: 13px; color: var(--muted); }
.doc .spec--wide dd { word-break: break-all; }
