@charset "utf-8";

:root {
  --brown:       #3e2213;
  --brown-mid:   #6b3a1f;
  --brown-light: #9c5c2e;
  --peach:       #f4c49a;
  --peach-light: #fae0c8;
  --cream:       #fdf4ec;
  --cream-dark:  #f5e9da;
  --text:        #2e1a0d;
  --text-mid:    #5c3820;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Zen Maru Gothic', sans-serif;
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(253,244,236,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(62,34,19,0.08);
  transition: box-shadow 0.3s;
}

nav.scrolled { box-shadow: 0 2px 20px rgba(62,34,19,0.08); }

.nav-site-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brown);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--brown);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--brown-light);
  transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

/* ─── HERO ────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
  background: var(--cream-dark);
}

/* Subtle warm radial background */
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, #fdf0e4 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 720px;
  width: 100%;
}

/* Hero image – the uploaded キャラクター画像 */
.hero-img-wrap {
  width: 50%;
  max-width: 760px;
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn 0.9s 0.2s ease forwards;
}

.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Title */
.hero-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  letter-spacing: 0.2em;
  color: var(--brown);
  text-align: center;
  margin-top: -8px;
  line-height: 1.4;
  opacity: 0;
  animation: riseIn 0.9s 0.5s ease forwards;
}

/* Sub tagline */
.hero-sub {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.28em;
  color: var(--brown-mid);
  text-align: center;
  margin-top: 14px;
  opacity: 0;
  animation: riseIn 0.9s 0.75s ease forwards;
}

/* Buttons */
.hero-btns {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: riseIn 0.9s 1s ease forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--brown);
  color: var(--cream);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--cream-dark);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 36px;
  background: transparent;
  color: var(--brown);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  border: 1.5px solid var(--brown);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}

.btn-outline:hover {
  background: var(--brown);
  color: var(--cream);
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--brown-light);
  font-family: 'Caveat', cursive;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  opacity: 0.7;
  animation: bounce 2.5s infinite;
}

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}

/* ─── SECTIONS COMMON ─────────────────── */
.section-wrap {
  padding: 100px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 150px;
}

.sec-en {
  font-family: 'Caveat', cursive;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--brown-light);
  text-transform: uppercase;
  margin-bottom: 4px;
  text-align: center;
}

.sec-ja {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--brown);
  font-weight: 700;
  display: block;
  text-align: center;
  letter-spacing: 0.12em;
  position: relative;
  display: inline-block;
}

.sec-ja::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(to right, var(--peach), transparent);
  margin-top: 8px;
  width: 80%;
}

/* ─── ABOUT ───────────────────────────── */
#about {
  background: var(--cream-dark);
  padding: 100px 0 8% 0;
}

#about .section-wrap { padding: 0 24px; max-width: 1000px; margin: 0 auto; padding-top: 100px; padding-bottom: 0; }

.about-layout {
  display: flex;
  align-items: flex-start;
  gap: 120px;
  max-width: 860px;
  margin: 0 auto;
}

.about-img-wrap {
  flex: 0 0 300px;
  border-radius: 4px;
  overflow: visible;
  box-shadow: 15px 15px 0 #643922;
  width: 100%;
  height: auto;
}
.about-img-wrap img{
  width: 100%;
}

/* .about-img-wrap imgs {
  display: block;
  border-radius: 4px;
  transition: transform 0.5s ease;
} */

.about-img:hover {
  transform: scale(1.03);
}

.about-body {
  flex: 1;
  text-align: left;
  font-family: 'Zen Maru Gothic', sans-serif;
  color: var(--text-mid);
  line-height: 2.1;
}

@media (max-width: 640px) {
  .about-layout {
    flex-direction: column;
    gap: 28px;
  }
  .about-img-wrap {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .about-body {
    text-align: center;
  }
}

.about-body p {
  font-size: 1rem;
  margin-bottom: 1.6em;
}

.about-passion {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.35rem !important;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 0.08em;
  margin-bottom: 1.8em !important;
  position: relative;
  display: inline-block;
}

.about-passion::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--peach);
  margin: 10px auto 0;
}

/* ─── WORK ────────────────────────────── */
#like {
  background: var(--brown);
}

#like .sec-en {
  color: var(--peach);
  opacity: 0.7;
}

#like .sec-ja {
  color: #fff;
}

#like .sec-ja::after {
  background: linear-gradient(to right, var(--brown-light), transparent);
}

.work-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 12px;
}

.wk-card {
  background: var(--cream-dark);
  border-radius: 12px;
  padding: 36px 24px 32px;
  text-align: center;
  border: 1.5px solid rgba(244,196,154,0.25);
  box-shadow: 6px 6px 0 rgba(244,196,154,0.3);
  transition: transform 0.25s, box-shadow 0.25s;
}

.wk-card:hover {
  transform: translateY(-6px);
  box-shadow: 6px 12px 0 rgba(244,196,154,0.4);
}

.wk-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 50%;
  background-color: #bb8049;
  display: flex;
  align-items: center;
  border: 2px solid #bb8049;
}
.wk-icon img{
  width: 100%;
  height: auto;
  display: block;
}

.wk-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.wk-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 28px;
  border: 1.5px solid var(--brown);
  border-radius: 999px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brown);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}

.wk-btn:hover {
  background: var(--brown);
  color: #fff;
  transform: translateY(-2px);
}

.wk-desc {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.9;
  flex: 1;
}

@media (max-width: 640px) {
  .work-cards {
    grid-template-columns: 1fr;
  }
}

.like-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.like-bubble {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  padding: 12px 24px;
  background: var(--brown);
  color: var(--peach-light);
  border-radius: 999px;
  cursor: default;
  transition: background 0.22s, transform 0.22s;
}

.like-bubble:hover {
  background: var(--cream-dark);
  transform: scale(1.06) rotate(-1deg);
}

/* ─── WORK ────────────────────────────── */
#work {
  background: var(--brown);
  padding: 100px 0;
  color: var(--peach-light);
}

#work .section-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

#work .sec-en { color: var(--peach); opacity: 0.65; }
#work .sec-ja { color: var(--peach-light); }
#work .sec-ja::after { background: linear-gradient(to right, var(--brown-light), transparent); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.work-card {
  border: 1px solid rgba(156,92,46,0.35);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s;
}

.work-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.work-card:hover::before { transform: scaleX(1); }
.work-card:hover { border-color: var(--peach); }

.wc-inner { position: relative; z-index: 1; }

.wc-num {
  font-family: 'Caveat', cursive;
  font-size: 3.5rem;
  color: rgba(244,196,154,0.25);
  line-height: 1;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.work-card:hover .wc-num { color: rgba(244,196,154,0.6); }

.wc-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--peach-light);
}

.wc-sub {
  font-family: 'Caveat', cursive;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--peach);
  opacity: 0.55;
  margin-top: 6px;
}

/* ─── SNS ─────────────────────────────── */
.sns-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 0;
  width: 200px;
  border: 1.5px solid var(--brown);
  color: var(--brown);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.2s;
}

.sns-link:hover {
  background: var(--brown);
  color: var(--cream);
  transform: translate(-3px,-3px);
  box-shadow: 3px 3px 0 var(--brown-mid);
}

/* ─── NEWS ────────────────────────────── */
#news {
  background: var(--peach-light);
  padding: 100px 0;
}

#news .sec-ja {
  color: var(--brown);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
}

#news .sec-en {
  color: var(--brown-light);
}

#news .section-wrap {
  max-width: 1000px; margin: 0 auto;
  padding: 0 24px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.news-card {
  background: var(--cream);
  padding: 28px 24px;
  border-bottom: 3px solid var(--brown);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 36px rgba(62,34,19,0.12);
}

.news-type {
  font-family: 'Caveat', cursive;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 10px;
}

.news-text {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
}

.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.news-read {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.85rem;
  color: var(--brown-light);
  text-decoration: none;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--peach);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.news-read:hover {
  color: var(--brown);
  border-color: var(--brown);
}

.news-date {
  font-family: 'Caveat', cursive;
  font-size: 0.82rem;
  color: var(--brown-light);
  margin-top: 14px;
}

/* ─── FOOTER ──────────────────────────── */
footer {
  background: var(--brown);
  color: var(--peach-light);
  text-align: center;
  padding: 32px 24px;
}

.footer-title { font-family: 'Zen Maru Gothic', sans-serif; font-size: 1.1rem; letter-spacing: 0.2em; color: var(--peach-light); opacity: 0.75; margin-bottom: 10px; }

footer p {
  font-family: 'Caveat', cursive;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  opacity: 0.6;
}

/* ─── REVEAL ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ─── ANIMATION ───────────────────────── */
@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ──────────────────────── */
@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.95rem; }
  .about-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
}


  100% { left: 110%; }
}

  100% { left: 110%; }
}

@keyframes catWalkFwd {
  0%   { left: -80px; }
  100% { left: 110%; }
}
@keyframes catWalkRev {
  0%   { left: 110%; }
  100% { left: -80px; }
}