@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Shippori+Mincho:wght@500;600&display=swap');

:root {
  --rose: #b76e79;
  --rose-dark: #8f4f5a;
  --rose-pale: #f7ecee;
  --ink: #383336;
  --muted: #73696d;
  --line: #eadde0;
  --paper: #fffdfd;
  --shadow: 0 14px 40px rgba(88, 55, 62, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; max-width: 100%; }

.demo-bar {
  padding: 7px 16px;
  color: #fff;
  background: var(--rose-dark);
  text-align: center;
  font-size: 0.875rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 253, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: "Shippori Mincho", serif; font-size: 1.35rem; letter-spacing: 0.12em; }
.brand-role { margin-top: 5px; color: var(--rose-dark); font-size: 0.72rem; letter-spacing: 0.16em; }

.nav-list { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav-list a { position: relative; font-weight: 500; }
.nav-list a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--rose);
  content: ";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-list a[aria-current]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--rose);
  content: "";
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: 0.2s; }

main { overflow: hidden; }
.section { padding: 88px 0; }
.section-tint { background: #fbf5f6; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.eyebrow { margin: 0 0 8px; color: var(--rose-dark); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: "Shippori Mincho", serif; line-height: 1.45; }
h1 { font-size: clamp(2.15rem, 5vw, 4rem); }
h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { margin-bottom: 8px; font-size: 1.25rem; }
p { margin-top: 0; }
.lead { max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.text-link { color: var(--rose-dark); font-weight: 700; }
.text-link::after { content: "  →"; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 24px;
  color: #fff;
  background: var(--rose-dark);
  border: 1px solid var(--rose-dark);
  border-radius: 999px;
  font-weight: 600;
}
.button-secondary { color: var(--rose-dark); background: transparent; }

.hero { padding: 70px 0 88px; background: linear-gradient(135deg, #fffdfd 45%, #f7e8eb); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: clamp(40px, 7vw, 90px); }
.hero-copy { container-type: inline-size; }
.hero-copy h1 { margin-bottom: 22px; font-size: clamp(2rem, 9cqw, 3.4rem); letter-spacing: 0.05em; }
.hero-line { display: block; white-space: nowrap; }
.hero-copy .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.portrait-placeholder {
  min-height: 500px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f4dfe3, #f9f5f1 55%, #ead5da);
  border-radius: 46% 46% 20px 20px;
  box-shadow: var(--shadow);
}
.portrait-placeholder::before,
.portrait-placeholder::after { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.45); content: ""; }
.portrait-placeholder::before { width: 210px; height: 210px; top: -60px; right: -45px; }
.portrait-placeholder::after { width: 160px; height: 160px; bottom: 40px; left: -65px; }
.portrait-placeholder svg { width: 62%; color: rgba(143, 79, 90, 0.48); }
.placeholder-label { position: absolute; right: 20px; bottom: 18px; left: 20px; padding: 8px; background: rgba(255,255,255,0.84); border-radius: 4px; text-align: center; font-size: 0.9rem; }

.notice-list { border-top: 1px solid var(--line); }
.notice-item { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.notice-item time { color: var(--rose-dark); font-weight: 600; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: clamp(36px, 7vw, 88px); }
.abstract-card { min-height: 360px; padding: 38px; display: flex; align-items: end; background: linear-gradient(150deg, #ead4d8, #f9f3ef 62%, #e3c5cb); border-radius: 8px 100px 8px 8px; }
.abstract-card span { color: var(--rose-dark); font-family: "Shippori Mincho", serif; font-size: clamp(1.7rem, 4vw, 2.8rem); letter-spacing: 0.08em; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.card .tag, .tag { color: var(--rose-dark); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.08em; }
.card p:last-child { margin-bottom: 0; color: var(--muted); }

.instagram-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.instagram-tile { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, var(--tile-a), var(--tile-b)); }
.instagram-tile svg { width: 31%; color: rgba(255,255,255,0.85); }
.note { margin: 16px 0 0; color: var(--muted); font-size: 0.92rem; }

.page-hero { padding: 72px 0 64px; background: linear-gradient(120deg, #fff, #f7e9eb); text-align: center; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero .lead { margin-inline: auto; }

.timeline { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 32px 34px; }
.timeline li::before { position: absolute; top: 8px; left: -8px; width: 14px; height: 14px; background: var(--rose); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--rose); content: ""; }
.timeline time { color: var(--rose-dark); font-weight: 700; }

.pill-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pill-list li { padding: 10px 18px; background: var(--rose-pale); border-radius: 999px; }
.simple-list { margin: 0; padding-left: 1.25em; }
.simple-list li + li { margin-top: 8px; }

.works-category + .works-category { margin-top: 52px; }
.works-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; margin: 0; padding: 0; list-style: none; }
.works-list li { padding: 16px 0 16px 24px; border-bottom: 1px solid var(--line); position: relative; }
.works-list li::before { position: absolute; top: 26px; left: 2px; width: 7px; height: 7px; background: var(--rose); border-radius: 50%; content: ""; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 26px 22px; background: #fff; border-top: 3px solid var(--rose); box-shadow: var(--shadow); counter-increment: step; }
.step::before { content: "0" counter(step); display: block; margin-bottom: 14px; color: var(--rose); font-family: "Shippori Mincho", serif; font-size: 1.45rem; }

.price-box { padding: 42px; border: 1px solid var(--rose); background: #fff; text-align: center; }
.price-box strong { display: block; margin-bottom: 12px; color: var(--rose-dark); font-family: "Shippori Mincho", serif; font-size: 1.65rem; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; background: transparent; border: 0; border-radius: 2px; }
.blog-thumb { aspect-ratio: 1; display: grid; place-items: center; color: rgba(143,79,90,0.75); background: linear-gradient(135deg, #f2dce0, #f8f1ed); }
.blog-thumb svg { width: 23%; }
.blog-thumb span { font-family: "Shippori Mincho", serif; font-size: clamp(1.05rem, 2vw, 1.45rem); letter-spacing: 0.2em; }
.blog-body { padding: 18px 2px 8px; }
.blog-body time { color: var(--muted); font-size: 0.9rem; }
.blog-body h2, .blog-body h3 { margin: 8px 0 10px; font-size: 1.25rem; }

.index-blog { padding-top: 72px; }
.news-compact { padding: 54px 0; }
.news-compact .container { width: min(860px, calc(100% - 48px)); }
.credit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credit-item { padding: 28px 26px; }
.credit-item + .credit-item { border-left: 1px solid var(--line); }
.credit-item h3 { margin: 8px 0 0; }
.works-ledger .works-category { padding-bottom: 10px; }
.consultation-note { max-width: 760px; text-align: center; }
.consultation-note .lead { margin-inline: auto; }

.article { width: min(760px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 90px; }
.article-header { margin-bottom: 42px; text-align: center; }
.article-header h1 { margin: 14px 0 20px; font-size: clamp(2rem, 5vw, 3.2rem); }
.article-meta { color: var(--muted); }
.article h2 { margin-top: 48px; font-size: 1.65rem; }
.article-callout { margin: 32px 0; padding: 24px 28px; background: var(--rose-pale); border-left: 4px solid var(--rose); }
.article-nav { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }

.site-footer { padding: 54px 0 24px; color: #f9f4f5; background: #43393d; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 36px; }
.site-footer .brand-role { color: #efbcc4; }
.footer-title { margin-bottom: 12px; font-weight: 700; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 7px; }
.disclaimer { margin: 38px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.17); color: #ded4d7; font-size: 0.88rem; text-align: center; }

/* v2 accent motion */
.letter-reveal .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.24em);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: calc(var(--letter-index) * 0.04s);
}
.letter-reveal.is-ready .letter { opacity: 1; transform: translateY(0); }

.voice-wave {
  width: 54px;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0 0 18px;
}
.voice-wave span {
  width: 5px;
  height: 8px;
  background: rgba(183, 110, 121, 0.62);
  border-radius: 999px;
  animation: voice-wave 2.4s ease-in-out infinite;
}
.voice-wave span:nth-child(2), .voice-wave span:nth-child(6) { animation-delay: -0.35s; }
.voice-wave span:nth-child(3), .voice-wave span:nth-child(5) { animation-delay: -0.7s; }
.voice-wave span:nth-child(4) { animation-delay: -1.05s; }

@keyframes voice-wave {
  0%, 100% { height: 7px; opacity: 0.55; }
  50% { height: 22px; opacity: 0.9; }
}

.reveal-target {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-target.is-visible { opacity: 1; transform: translateY(0); }
.card-grid .reveal-target:nth-child(2),
.blog-grid .reveal-target:nth-child(2),
.credit-grid .reveal-target:nth-child(2),
.steps .reveal-target:nth-child(2) { transition-delay: 0.08s; }
.card-grid .reveal-target:nth-child(3),
.blog-grid .reveal-target:nth-child(3),
.credit-grid .reveal-target:nth-child(3),
.steps .reveal-target:nth-child(3) { transition-delay: 0.16s; }
.blog-grid .reveal-target:nth-child(4),
.steps .reveal-target:nth-child(4) { transition-delay: 0.24s; }
.blog-grid .reveal-target:nth-child(5) { transition-delay: 0.08s; }
.blog-grid .reveal-target:nth-child(6) { transition-delay: 0.16s; }
.blog-grid .reveal-target:nth-child(7) { transition-delay: 0.24s; }
.blog-grid .reveal-target:nth-child(8) { transition-delay: 0.32s; }
.card.reveal-target, .blog-card.reveal-target, .credit-item.reveal-target, .step.reveal-target {
  transition-property: opacity, transform, box-shadow;
  transition-duration: 0.6s, 0.45s, 0.35s;
  transition-timing-function: ease;
}

.heading-draw {
  display: inline-block;
  position: relative;
  padding-bottom: 7px;
}
.heading-draw::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--rose);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.65s ease;
}
.heading-draw.is-visible::after { transform: scaleX(1); }

.mask-reveal { position: relative; }
.mask-reveal::after {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--rose);
  border-radius: inherit;
  content: '';
  pointer-events: none;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.75s cubic-bezier(0.76, 0, 0.24, 1);
}
.mask-reveal.is-visible::after { transform: scaleX(0); }

.reading-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: rgba(183, 110, 121, 0.16);
  pointer-events: none;
}
.reading-progress__fill {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

@media (hover: hover) {
  a:hover { color: var(--rose-dark); }
  .button:hover { color: #fff; background: #77404a; }
  .button-secondary:hover { color: #fff; background: var(--rose-dark); }
  .nav-list a:hover::after { transform: scaleX(1); }
  .card:hover, .blog-card:hover, .step:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(88, 55, 62, 0.16);
  }
  .site-footer a:hover { color: #efbcc4; }
}

@media (hover: none) {
  .button:active, .text-link:active, .card:active, .blog-card:active { transform: scale(0.97); }
}

@media (max-width: 800px) {
  .header-inner, .container { width: min(100% - 32px, 680px); }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 12px 16px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .nav-list { display: block; }
  .nav-list a { display: block; padding: 12px; }
  .nav-list a[aria-current="page"]::after { right: auto; bottom: 7px; left: 12px; width: 28px; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  .portrait-placeholder { min-height: 390px; }
  .card-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .credit-grid { grid-template-columns: 1fr; }
  .credit-item + .credit-item { border-top: 1px solid var(--line); border-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .section { padding: 64px 0; }
  .page-hero { padding: 56px 0 50px; }
  .section-head { display: block; }
  .section-head .text-link { display: inline-block; margin-top: 10px; }
  .hero-copy h1 { font-size: 2.1rem; }
  .hero-actions { display: grid; }
  .portrait-placeholder { min-height: 330px; }
  .notice-item { grid-template-columns: 1fr; gap: 2px; }
  .card-grid, .blog-grid, .works-list, .steps { grid-template-columns: 1fr; }
  .news-compact .container { width: min(100% - 32px, 680px); }
  .instagram-grid { gap: 6px; }
  .card, .blog-body { padding: 22px; }
  .price-box { padding: 30px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .article { width: min(100% - 32px, 760px); padding-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .letter-reveal .letter,
  .reveal-target { opacity: 1; transform: none; }
  .heading-draw::after { transform: scaleX(1); }
  .mask-reveal::after { transform: scaleX(0); }
  .voice-wave span { height: 12px; opacity: 0.72; }
  .reading-progress__fill { transform: scaleX(1) !important; }
}
