/*
Theme Name: けものった
Description: 森の妖精けものった LP テーマ
Version: 1.0
Author: KEMOTTA
Text Domain: kemonotta
*/

/* ============================================
   森の妖精けもった LP — style.css
   フォント : Zen Maru Gothic
   メイン   : #A8D63D  サブ: #5A371A
============================================ */

:root {
  --green-main:   #A8D63D;
  --green-dark:   #5a8a1f;
  --green-forest: #2d5a1b;
  --green-deep:   #1a3a0a;
  --brown:        #5A371A;
  --brown-dark:   #3d2210;
  --brown-btn:    #6b4a1e;
  --cream:        #fdf6e8;
  --cream-dark:   #f0e8d0;
  --font:         'Zen Maru Gothic', sans-serif;
  --shadow-sm:    0 3px 10px rgba(90,55,26,.14);
  --shadow-md:    0 6px 20px rgba(90,55,26,.18);
  --radius-card:  18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
#hero, #character, #diary, #gallery, #shop, #contact { scroll-margin-top: 70px; }
body {
  font-family: var(--font);
  color: var(--brown);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; }
ul  { list-style: none; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* HEADER */
#site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 300;
  background: rgba(22, 52, 8, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .3s;
}
#site-header.scrolled { background: rgba(22, 52, 8, .98); box-shadow: 0 2px 12px rgba(0,0,0,.3); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 18px;
  gap: 10px;
}
.header-logo img { height: 46px; width: auto; }
.header-nav      { display: none; }
.header-nav ul   { display: flex; gap: 18px; }
.header-nav a    { color: rgba(255,255,255,.9); font-size: .86rem; font-weight: 700; transition: color .2s; }
.header-nav a:hover { color: var(--green-main); }
.header-cart img { height: 42px; width: auto; transition: transform .2s; }
.header-cart:hover img { transform: scale(1.08); }

.hamburger {
  background: none;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px 9px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  background: rgba(20,50,6,.97);
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.mobile-nav.open { max-height: 380px; }
.mobile-nav ul li { border-bottom: 1px solid rgba(255,255,255,.07); }
.mnl {
  display: block;
  padding: 13px 26px;
  color: rgba(255,255,255,.88);
  font-size: .93rem;
  font-weight: 700;
  transition: color .2s, padding-left .2s;
}
.mnl:hover { color: var(--green-main); padding-left: 34px; }

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 60px;
  background:
    radial-gradient(ellipse at 70% 15%, rgba(168,214,61,.12) 0%, transparent 50%),
    linear-gradient(180deg,
      rgba(5,15,2,.80)  0%,
      rgba(12,30,5,.70) 30%,
      rgba(20,50,8,.58) 62%,
      rgba(34,70,10,.45) 100%
    ),
    url("images/名称未設定のデザイン (30).png") center / cover no-repeat;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
@media (min-width: 700px) {
  .hero-video { display: none; }
}
.hero-char-desktop { display: none; }
.hero-text-desktop { display: none; }
@media (min-width: 700px) {
  .hero-char-desktop { display: block; }
  .hero-text-desktop { display: block; }
}

.floating-leaves { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.fl { position: absolute; }
.fl-4  { width:50px; top:13%; left:56%;  animation: leafF 13s ease-in-out infinite -5s; }
.fl-5  { width:38px; top:65%; left:38%;  animation: leafF  8s ease-in-out infinite -2s;   transform:rotate(-30deg); }
.fl-6  { width:30px; top:35%; left:88%;  animation: leafF 10s ease-in-out infinite -4s; }
.fl-7  { width:46px; top:75%; left: 7%;  animation: leafF  9s ease-in-out infinite -6s; }
.fl-8  { width:36px; top:55%; left:70%;  animation: leafF 12s ease-in-out infinite -7s; }
.fl-9  { width:28px; top:25%; left:30%;  animation: leafF  8s ease-in-out infinite -0.5s; transform:rotate(15deg); }

@keyframes leafF {
  0%,100% { transform: translateY(0)    rotate(0deg);  }
  25%     { transform: translateY(-14px) rotate(8deg);  }
  50%     { transform: translateY(-4px)  rotate(-4deg); }
  75%     { transform: translateY(10px)  rotate(6deg);  }
}

.komorebi { position:absolute; inset:0; pointer-events:none; z-index:0; }
.komorebi span {
  position:absolute;
  border-radius:50%;
  background: radial-gradient(circle, rgba(255,255,160,.18) 0%, transparent 70%);
  animation: komo linear infinite;
}
.komorebi span:nth-child(1){ width:180px;height:180px;top:12%;left:22%;animation-duration:13s;animation-delay:0s; }
.komorebi span:nth-child(2){ width:120px;height:120px;top:42%;left:62%;animation-duration:17s;animation-delay:-4s; }
.komorebi span:nth-child(3){ width:200px;height:200px;top:62%;left:32%;animation-duration:11s;animation-delay:-8s; }
.komorebi span:nth-child(4){ width: 90px;height: 90px;top:20%;left:82%;animation-duration:19s;animation-delay:-2s; }

@keyframes komo {
  0%,100%{ opacity:.35; transform:scale(1);    }
  50%    { opacity:.85; transform:scale(1.18); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px 110px;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.hero-logo  { width: 210px; filter: drop-shadow(0 4px 16px rgba(0,0,0,.5)); }
.hero-catch {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
  text-shadow: 2px 4px 10px rgba(0,0,0,.6), 0 0 30px rgba(168,214,61,.35);
}
.hero-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.88);
  line-height: 1.85;
  text-shadow: 1px 1px 6px rgba(0,0,0,.55);
}
.hero-right { position: relative; }
.hero-kemotta {
  width: 230px;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.5));
  animation: kemoBob 3.5s ease-in-out infinite;
}
@keyframes kemoBob {
  0%,100% { transform: translateY(0);     }
  50%     { transform: translateY(-12px); }
}

.hero-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
  pointer-events: none;
}
.bush    { width: 150px; }
.bush.br { transform: scaleX(-1); }

.scallop-bottom {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.scallop-bottom svg { display: block; width: 100%; }

/* CREAM SECTIONS */
.cream-sec {
  position: relative;
  background: var(--cream);
  padding: 56px 18px 48px;
  overflow: hidden;
}
.sec-center { text-align: center; margin-bottom: 28px; }
.sec-sub    { font-size: .86rem; font-weight: 500; color: var(--brown); margin-top: 10px; }

.deco-leaf  { position: absolute; pointer-events: none; z-index: 0; }
.deco-tl    { top: 14px; left: 8px;  width: 68px; opacity: .6; transform: rotate(-15deg); }
.deco-tr    { top: 14px; right: 8px; width: 68px; opacity: .6; transform: rotate(15deg) scaleX(-1); }

.wreath-wrap { position: relative; display: inline-block; }
.wreath-img  { width: 250px; }
.wreath-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: var(--brown);
  text-align: center;
  line-height: 1.4;
  pointer-events: none;
}

.wooden-title-wrap { position: relative; display: inline-block; }
.wooden-sign       { width: 260px; display: block; }
.ws-green          { width: 280px; }
.wooden-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  color: var(--brown);
}
.wt-white { color: #fff; text-shadow: 1px 2px 5px rgba(0,0,0,.4); }
.wt-light { color: #fff; text-shadow: 1px 2px 4px rgba(0,0,0,.3); }

.btn-center { text-align: center; margin-top: 28px; }
.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brown-btn);
  color: #fff;
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(0,0,0,.2);
  transition: transform .2s, background .2s;
}
.more-btn:hover { transform: scale(1.05); background: var(--brown-dark); }
.leaf-icon { width: 18px; height: auto; }

.vine-sep {
  display: block;
  width: 85%;
  max-width: 520px;
  margin: 28px auto 32px;
  opacity: .6;
}

.inter-scallop {
  background: var(--cream);
  padding: 0 0 16px;
  text-align: center;
  line-height: 0;
  overflow: hidden;
}
.inter-vine {
  width: 80%;
  max-width: 500px;
  display: inline-block;
  opacity: .55;
  margin: 8px auto 0;
}

/* CHARACTER */
.character-sec { padding-top: 72px; }

.chara-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
  margin: 0 auto 24px;
}
.bubble-col { display: none; }

.chara-center {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.chara-inner {
  position: relative;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.chara-img   { width: 180px; z-index: 1; filter: drop-shadow(0 4px 12px rgba(0,0,0,.2)); animation: kemoBob 3.5s ease-in-out infinite; }
.chara-stump { width: 180px; margin-top: -20px; z-index: 0; }

.sparkle     { position: absolute; pointer-events: none; }
.sp1 { width:28px; top:12%; right:0;  animation: spk 2s   ease-in-out infinite; }
.sp2 { width:20px; top:38%; left:-4%; animation: spk 2.6s ease-in-out infinite .8s; }
@keyframes spk {
  0%,100%{ transform:scale(1)   rotate(0deg);  opacity:.9; }
  50%    { transform:scale(1.3) rotate(20deg); opacity:1;  }
}

.bubble-mobile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto 20px;
}

.speech-bubble {
  background: #fff;
  border: 2.5px solid rgba(168,214,61,.4);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--brown);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.sb-r::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-left: 10px solid #fff;
}
.sb-l::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-right: 10px solid #fff;
}

.friends-wrap { padding-top: 4px; }
.friends-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 380px;
  margin: 24px auto 0;
}
.friend-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 16px 10px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2.5px solid rgba(168,214,61,.55);
  transition: transform .25s;
}
.friend-card:hover { transform: scale(1.04); }
.friend-card img   { max-width: 110px; margin: 0 auto; }
.friend-name  { font-size: .85rem; font-weight: 900; margin-top: 8px; }
.fn-brown     { color: #8B5E3C; }
.fn-pink      { color: #e87fa0; }
.fn-dark      { color: #444;    }
.fn-pale      { color: #bbb;    }
.friend-desc  { font-size: .72rem; color: #888; margin-top: 3px; }
.mystery-face {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.mystery-dark  { background: linear-gradient(135deg,#5a5a5a,#2a2a2a); }
.mystery-pale  { background: linear-gradient(135deg,#f0f0f0,#d8d8d8); }
.mystery-face span { font-size: 2rem; font-weight: 900; color: #fff; }

/* DIARY */
.diary-sec { padding-top: 56px; }
.diary-paper { max-width: 500px; margin: 0 auto; padding: 0 4px; }
.diary-list { display: flex; flex-direction: column; gap: 0; }
.diary-entry {
  background: transparent;
  border-bottom: 1px dashed rgba(90,55,26,.25);
  padding: 14px 4px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: opacity .2s;
}
.diary-entry:last-child { border-bottom: none; }
.diary-entry:hover { opacity: .8; }
.diary-left  { flex-shrink: 0; min-width: 52px; text-align: center; }
.diary-date  { display: block; font-size: 1.05rem; font-weight: 900; color: var(--green-dark); }
.diary-new   {
  display: inline-block;
  margin-top: 4px;
  background: var(--green-main);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}
.diary-body  { flex: 1; font-size: .82rem; font-weight: 700; line-height: 1.6; }
.diary-body a { color: var(--brown); }
.diary-body a:hover { color: var(--green-dark); }
.diary-thumb {
  flex-shrink: 0;
  width: 68px; height: 68px;
  background: var(--cream-dark);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.diary-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* GALLERY */
.gallery-sec { padding-top: 56px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 460px;
  margin: 0 auto;
}
.gallery-item {
  transform: rotate(var(--rot, 0deg));
  transition: transform .3s, box-shadow .3s;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  cursor: pointer;
}
.gallery-item:hover {
  transform: rotate(0deg) scale(1.06) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  z-index: 2;
}
.polaroid { position: relative; width: 100%; }
.pol-photo { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 6px; }

/* SHOP */
.shop-sec { padding-top: 56px; padding-bottom: 60px; }
.shop-bush { position: absolute; bottom: 0; width: 100px; pointer-events: none; opacity: .75; z-index: 0; }
.shop-bush.bl { left: 0; }
.shop-bush.br { right: 0; transform: scaleX(-1); }
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.shop-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 14px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2.5px solid rgba(168,214,61,.45);
  transition: transform .25s, box-shadow .25s;
}
.shop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.shop-img-wrap { position: relative; margin-bottom: 10px; }
.shop-img-wrap img { width: 100%; max-height: 100px; object-fit: contain; margin: 0 auto; }
.badge { position: absolute; top: 2px; right: 2px; background: #e05520; color: #fff; font-size: .55rem; font-weight: 700; padding: 2px 7px; border-radius: 20px; }
.badge-new { background: var(--green-dark); }
.shop-name  { font-size: .8rem;  font-weight: 700; margin-bottom: 3px; }
.shop-price { font-size: .95rem; font-weight: 900; color: var(--green-dark); margin-bottom: 8px; }
.shop-price small { font-size: .7rem; font-weight: 500; }
.cart-btn {
  display: inline-block;
  background: var(--green-dark);
  color: #fff;
  font-family: var(--font);
  font-size: .7rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background .2s, transform .2s;
}
.cart-btn:hover { background: var(--green-forest); transform: scale(1.05); }
.shop-cta { text-align: center; margin-top: 32px; position: relative; z-index: 1; }
.shop-cta-msg { font-size: .88rem; font-weight: 700; margin-bottom: 16px; line-height: 1.7; }
.shop-cta-btn {
  display: inline-block;
  background: var(--brown);
  color: #fff;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 900;
  padding: 14px 36px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(90,55,26,.35);
  transition: transform .2s, background .2s;
}
.shop-cta-btn:hover { transform: scale(1.06); background: var(--brown-dark); }

/* FOOTER */
.footer-scallop { background: var(--cream); line-height: 0; margin-bottom: -1px; }
.footer-scallop svg { display: block; width: 100%; }
.site-footer { background: linear-gradient(180deg, #1a0f05 0%, #0f0805 100%); padding: 0; text-align: center; }
.footer-inner { padding: 28px 22px 28px; }
.footer-logo  { width: 140px; margin: 0 auto 22px; }
.footer-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 18px; }
.footer-nav a { color: rgba(255,255,255,.7); font-size: .8rem; font-weight: 500; transition: color .2s; }
.footer-nav a:hover { color: var(--green-main); }
.footer-sns { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; }
.sns-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: rgba(255,255,255,.75);
  font-size: .9rem; font-weight: 700;
  transition: border-color .2s, color .2s;
}
.sns-btn:hover { border-color: var(--green-main); color: var(--green-main); }
.footer-deco { width: 100px; margin: 8px auto 14px; opacity: .4; }
.footer-copy { font-size: .68rem; color: rgba(255,255,255,.3); }

.back-top {
  position: fixed; bottom: 22px; right: 18px;
  z-index: 200; width: 50px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s, transform .2s;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top img { width: 100%; filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)); transition: transform .2s; }
.back-top:hover img { transform: scale(1.12); }

/* SINGLE POST */
.single-diary {
  max-width: 680px;
  margin: 100px auto 60px;
  padding: 0 20px;
}
.single-diary .post-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--brown);
  margin-bottom: 8px;
}
.single-diary .post-date {
  font-size: .82rem;
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 24px;
  display: block;
}
.single-diary .post-thumb { border-radius: 16px; overflow: hidden; margin-bottom: 24px; }
.single-diary .post-thumb img { width: 100%; height: auto; }
.single-diary .post-content { font-size: .9rem; line-height: 1.9; }
.single-diary .post-content p { margin-bottom: 1em; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  color: var(--brown-btn);
  font-weight: 700;
  font-size: .88rem;
}
.back-link:hover { color: var(--green-dark); }

/* LINE STAMP */
.stamp-wrap { width: 100%; display: flex; justify-content: center; align-items: center; padding: 16px 20px 40px; }
.stamp-img { width: 240px; height: 240px; object-fit: contain; border-radius: 12px; display: block; }

/* CONTACT */
.contact-sec { padding-top: 56px; padding-bottom: 80px; }
.contact-wrap { max-width: 680px; margin: 32px auto 0; background: #fff; border-radius: 16px; padding: 40px 36px; box-shadow: 0 4px 20px rgba(0,0,0,.08); }

/* Contact Form 7 スタイル */
.contact-wrap .wpcf7 { width: 100%; }
.contact-wrap .wpcf7-form p { margin-bottom: 20px; }
.contact-wrap .wpcf7-form p:last-child { margin-bottom: 0; text-align: center; }
.contact-wrap .wpcf7-form label { display: block; font-weight: 700; font-size: .9rem; color: #5A371A; margin-bottom: 6px; }
.contact-wrap .wpcf7-form .required { color: #e00; font-size: .72rem; font-weight: 700; margin-left: 4px; vertical-align: middle; }
.contact-wrap .wpcf7-form .optional { color: #999; font-size: .72rem; margin-left: 4px; vertical-align: middle; }
.contact-wrap .wpcf7-form input[type="text"],
.contact-wrap .wpcf7-form input[type="email"],
.contact-wrap .wpcf7-form select,
.contact-wrap .wpcf7-form textarea { display: block; width: 100%; padding: 11px 14px; border: 2px solid #d9e8b0; border-radius: 8px; font-family: var(--font); font-size: .92rem; background: #fdf6e8; color: #333; transition: border-color .2s; box-sizing: border-box; }
.contact-wrap .wpcf7-form input[type="text"]:focus,
.contact-wrap .wpcf7-form input[type="email"]:focus,
.contact-wrap .wpcf7-form select:focus,
.contact-wrap .wpcf7-form textarea:focus { outline: none; border-color: #A8D63D; background: #fff; }
.contact-wrap .wpcf7-form textarea { min-height: 150px; resize: vertical; }
.contact-wrap .wpcf7-form .cf7-note { font-size: .8rem; color: #888; margin-bottom: 6px; line-height: 1.7; }
.contact-wrap .wpcf7-form .cf7-agree { font-size: .88rem; color: #555; text-align: center; }
.contact-wrap .wpcf7-form .cf7-agree a { color: #5a8a1f; text-decoration: underline; }
.contact-wrap .wpcf7-form input[type="submit"] { background: #A8D63D; color: #fff; border: none; border-radius: 999px; padding: 14px 56px; font-family: var(--font); font-size: 1rem; font-weight: 900; cursor: pointer; transition: background .2s, transform .2s; }
.contact-wrap .wpcf7-form input[type="submit"]:hover { background: #5a8a1f; transform: scale(1.04); }
.contact-wrap .wpcf7-not-valid-tip { color: #e00; font-size: .78rem; margin-top: 4px; display: block; }
.contact-wrap .wpcf7-response-output { border-radius: 8px; padding: 12px 16px; font-size: .88rem; margin-top: 12px; text-align: center; }
.contact-wrap .wpcf7-form span.wpcf7-form-control-wrap { display: block; }

/* CHARACTER PROFILE PAGE */
body.page-template-page-character { background: #fdf6e8 !important; }
.chara-profile-page { max-width: 720px; margin: 0 auto; padding: 100px 20px 60px; }
.profile-breadcrumb { font-size: .8rem; color: #888; margin-bottom: 32px; }
.profile-breadcrumb a { color: #5A371A; text-decoration: none; }
.profile-breadcrumb span { margin: 0 6px; }
.profile-wrap { display: flex !important; flex-direction: column; align-items: center; gap: 32px; background: #ffffff !important; border-radius: 20px; padding: 32px 24px !important; box-shadow: 0 4px 24px rgba(0,0,0,.12) !important; }
.profile-img-col { text-align: center; }
.profile-chara-img { width: 220px !important; height: auto !important; }
.profile-name { font-size: 2rem !important; font-weight: 900 !important; color: #5A371A !important; text-align: center; margin-bottom: 12px !important; }
.profile-intro { font-size: .92rem; line-height: 1.9; color: #555; text-align: center; margin-bottom: 24px; background: #fdf6e8; border-radius: 10px; padding: 14px 18px; }
.profile-table { width: 100% !important; border-collapse: collapse !important; font-size: .92rem; }
.profile-table th { background: #A8D63D !important; color: #fff !important; padding: 10px 14px !important; text-align: left !important; width: 36%; border-radius: 4px; font-weight: 700 !important; }
.profile-table td { padding: 10px 14px !important; border-bottom: 1px dashed rgba(90,55,26,.15) !important; color: #444; }
.profile-table tr:last-child td { border-bottom: none !important; }
@media (min-width: 700px) {
  .profile-wrap { flex-direction: row !important; align-items: flex-start !important; padding: 48px 40px !important; }
  .profile-img-col { flex-shrink: 0; }
  .profile-chara-img { width: 260px !important; }
  .profile-info-col { flex: 1; }
  .profile-name { text-align: left; }
  .profile-intro { text-align: left; }
}

/* TABLET+ */
@media (min-width: 700px) {
  .header-nav { display: flex; }
  .hamburger  { display: none; }
  .mobile-nav { display: none; }
  .hero-inner { flex-direction: row; align-items: center; justify-content: center; padding: 36px 60px 130px; gap: 48px; }
  .hero-left  { align-items: flex-start; text-align: left; flex: 1; max-width: 480px; }
  .hero-logo  { width: 270px; }
  .hero-catch { font-size: 2.7rem; }
  .hero-right { flex: 0 0 auto; }
  .hero-kemotta { width: 300px; }
  .bush { width: 200px; }
  .chara-layout { display: grid; grid-template-columns: 1fr 200px 1fr; gap: 20px; align-items: center; }
  .chara-center { margin-bottom: 0; }
  .bubble-col   { display: flex; flex-direction: column; gap: 16px; }
  .bubble-mobile { display: none; }
  .chara-img   { width: 200px; }
  .chara-stump { width: 200px; }
  .wreath-img  { width: 300px; }
  .wreath-text { font-size: 1.15rem; }
  .wooden-sign  { width: 310px; }
  .ws-green     { width: 340px; }
  .wooden-text  { font-size: 1.2rem; }
  .friends-grid { grid-template-columns: repeat(4, 1fr); max-width: 580px; }
  .diary-list { max-width: 660px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); max-width: 660px; }
  .shop-grid { grid-template-columns: repeat(4, 1fr); max-width: 660px; }
  .bubble-col-left  .speech-bubble { align-self: flex-end;   }
  .bubble-col-right .speech-bubble { align-self: flex-start; }
}

/* DESKTOP */
@media (min-width: 1024px) {
  .hero-catch   { font-size: 3.2rem; }
  .hero-logo    { width: 310px; }
  .hero-kemotta { width: 370px; }
  .bush { width: 250px; }
  .wreath-img { width: 340px; }
  .wreath-text { font-size: 1.25rem; }
  .wooden-sign { width: 340px; }
  .ws-green    { width: 380px; }
  .wooden-text { font-size: 1.3rem; }
  .chara-layout { max-width: 960px; grid-template-columns: 1fr 240px 1fr; }
  .chara-img   { width: 220px; }
  .chara-stump { width: 220px; }
  .friends-grid { max-width: 640px; }
  .diary-list   { max-width: 720px; }
  .gallery-grid { max-width: 720px; }
  .shop-grid    { max-width: 720px; }
}
