/* page-lp-watanagashi-contest */
.page-lp-watanagashi-contest {
  --background: hsl(20, 10%, 0%);
  --foreground: hsl(30, 20%, 97%);
  --card: hsl(30, 15%,10%);
  --card-foreground: hsl(20, 10%, 98%);
  --primary: hsl(10, 70%, 45%);
  --primary-foreground: hsl(30, 30%, 96%);
  --secondary: hsl(30, 30%, 92%);
  --secondary-foreground: hsl(20, 15%, 20%);
  --muted: hsl(11, 13%, 25%);
  --muted-foreground: hsl(20, 8%, 94%);
  --accent: hsl(40, 80%, 55%);
  --border: hsl(20, 15%, 85%);
  --border-shadow: hsl(20, 9%, 40%);

  font-family: 'Noto Sans JP', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.page-lp-watanagashi-contest *,
.page-lp-watanagashi-contest *::before,
.page-lp-watanagashi-contest *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.page-lp-watanagashi-contest .font-serif-jp { font-family: 'Noto Serif JP', serif; }
.page-lp-watanagashi-contest .text-primary { color: var(--primary); }
.page-lp-watanagashi-contest .imgbox img{
  display: block;
  width: 100%; height: auto;
}
/* Fixed background */
.page-lp-watanagashi-contest .fixed-bg {
  position: fixed; inset: 0; z-index: 0;
  background: top/cover no-repeat;
  background-image: url(../images/page-lp-watanagashi-contest/bg_sp.jpg);
}
.page-lp-watanagashi-contest .hero .copyright {
  position: absolute; bottom: 1rem; right: 1rem;
  font-size: 0.75rem;
  color: #fff;
  mix-blend-mode: difference;
}
.page-lp-watanagashi-contest .fixed-bg-overlay {
  position: absolute; inset: 0;
  background: var(--background); opacity: 0.8;
}
@media (min-width: 768px) {
  .page-lp-watanagashi-contest .fixed-bg {
    background: center/cover no-repeat;
    background-image: url(../images/page-lp-watanagashi-contest/bg.jpg);
  }
}

/* Hero */
.page-lp-watanagashi-contest .hero {
  position: relative; width: 100%; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; overflow: hidden;
  padding-bottom: 6.5rem;
}
@media (min-width: 768px) {
  .page-lp-watanagashi-contest .hero {
  justify-content: center;
  }
}
.page-lp-watanagashi-contest .hero-image-wrapper {
  position: absolute; inset: 0; width: 100%; height: 100%;
  will-change: transform;
}
.page-lp-watanagashi-contest .hero-image {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.1);
}
.page-lp-watanagashi-contest .hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,10,10,0.7), rgba(20,10,10,0.2), transparent);
}
.page-lp-watanagashi-contest .hero-content {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 0 1rem;
}
.page-lp-watanagashi-contest .hero-title {
  width: 100%; max-width: 48rem;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.25));
}
.page-lp-watanagashi-contest .hero-buttons {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; padding-top: 1rem;
}
.page-lp-watanagashi-contest .btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: min(100%, 18rem); min-height: 2.7rem;
  padding: 1.25rem 2rem; border-radius: 0.125rem;
  border: 1px solid hsl(30, 10%, 74%);
  background: linear-gradient(180deg, hsl(30, 14%, 90%) 0%, hsl(30, 8%, 82%) 100%);
  color: hsl(20, 10%, 12%);
  font-family: 'Noto Serif JP', serif;
  font-weight: 500; font-size: 1rem; letter-spacing: 0.05em; line-height: 1;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), inset 0 -1px 0 rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.35);
  transition: filter 0.2s, transform 0.2s;
}
.page-lp-watanagashi-contest .btn-primary:hover {
  filter: brightness(1.02);
  transform: translateY(-1px);
}
.page-lp-watanagashi-contest .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: min(100%, 18rem); min-height: 2.7rem;
  padding: 1.25rem 2rem; border-radius: 0.125rem;
  border: 1px solid hsl(40, 8%, 26%);
  background: linear-gradient(180deg, hsl(40, 8%, 28%) 0%, hsl(40, 10%, 20%) 100%);
  color: hsl(30, 20%, 96%);
  font-family: 'Noto Serif JP', serif;
  font-weight: 500; font-size: 1rem; letter-spacing: 0.05em; line-height: 1;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -1px 0 rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.35);
  transition: filter 0.2s, transform 0.2s;
}
.page-lp-watanagashi-contest .btn-secondary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.page-lp-watanagashi-contest .btn-secondary.is-disabled,
.page-lp-watanagashi-contest .btn-secondary[aria-disabled='true'] {
  opacity: 0.65;
  cursor: default;
  pointer-events: none;
}
.page-lp-watanagashi-contest .btn-secondary.is-disabled:hover,
.page-lp-watanagashi-contest .btn-secondary[aria-disabled='true']:hover {
  filter: none;
  transform: none;
}
.page-lp-watanagashi-contest .btn-primary,
.page-lp-watanagashi-contest .btn-secondary {
  width: 100%;
  max-width: 24rem;
}

.page-lp-watanagashi-contest .scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10;
  animation: watanagashi-bounce 1s infinite;
}
.page-lp-watanagashi-contest .scroll-dot {
  width: 1.5rem; height: 2.5rem; border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.6);
  display: flex; justify-content: center; padding-top: 0.5rem;
}
.page-lp-watanagashi-contest .scroll-dot-inner {
  width: 0.375rem; height: 0.75rem; background: rgba(255,255,255,0.6); border-radius: 9999px;
}
@keyframes watanagashi-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* Content area */
.page-lp-watanagashi-contest .content-area { position: relative; z-index: 10; }
.page-lp-watanagashi-contest .content-bg { background: var(--background); backdrop-filter: blur(4px); }

/* Sections */
.page-lp-watanagashi-contest .section { padding: 3rem 0; }
.page-lp-watanagashi-contest .section#introduction { 
  background-image: url(../images/page-lp-watanagashi-contest/section-bg_02.png);
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
 }
 .page-lp-watanagashi-contest .section#doujinshi { 
  background-image: url(../images/page-lp-watanagashi-contest/section-bg.png);
  background-position: center top;
  background-attachment: fixed;
  background-size: contain;
  background-repeat: no-repeat;
 }
.page-lp-watanagashi-contest .section-muted { 
  background: var(--muted); 
  background-image:linear-gradient(var(--muted),hsl(9, 78%, 24%));
}
.page-lp-watanagashi-contest .container { max-width: 56rem; margin: 0 auto; padding: 0 1rem; }

/* h2 */
.page-lp-watanagashi-contest .section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem; font-weight: 700;
  text-align: center; padding-bottom: 0.75rem; margin-bottom: 2rem;
  display: flex; flex-wrap: wrap; justify-content: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.page-lp-watanagashi-contest .section-title .char {
  display: inline-block;
  opacity: 0; transform: translateY(-50px); filter: blur(10px);
}
.page-lp-watanagashi-contest .section-title .char.animate {
  animation: watanagashi-blurIn 0.7s forwards;
}
@keyframes watanagashi-blurIn {
  0% { opacity: 0; transform: translateY(-50px); filter: blur(10px); }
  50% { opacity: 0.5; transform: translateY(5px); filter: blur(5px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* h3 */
.page-lp-watanagashi-contest h3 {
  font-family: 'Noto Serif JP', serif;text-align: center;
  font-size: 1.25rem; font-weight: 600; color: var(--foreground); margin-bottom: 1rem;
}

/* Cards */
.page-lp-watanagashi-contest .card {
  background: rgba(20,10,10,0.7); border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05); padding: 1.25rem;
  border-right-color: var(--border-shadow); border-bottom-color: var(--border-shadow);
}
.page-lp-watanagashi-contest .card-lg { padding: 1.5rem; }
.page-lp-watanagashi-contest .text-sm { font-size: 0.875rem; }
.page-lp-watanagashi-contest .text-muted { color: var(--muted-foreground); }
.page-lp-watanagashi-contest .text-fg { color: var(--foreground); }
.page-lp-watanagashi-contest .font-medium { font-weight: 500; }
.page-lp-watanagashi-contest .font-semibold { font-weight: 600; }
.page-lp-watanagashi-contest .mt-1 { margin-top: 0.25rem; }
.page-lp-watanagashi-contest .mb-4 { margin-bottom: 1rem; }
.page-lp-watanagashi-contest .mb-8 { margin-bottom: 2rem; }
.page-lp-watanagashi-contest .mb-10 { margin-bottom: 2.5rem; }
.page-lp-watanagashi-contest .space-y-1 > * + * { margin-top: 0.25rem; }
.page-lp-watanagashi-contest .space-y-2 > * + * { margin-top: 0.5rem; }
.page-lp-watanagashi-contest .space-y-5 > * + * { margin-top: 1.5rem; }
.page-lp-watanagashi-contest .grid-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.page-lp-watanagashi-contest .grid-2-md { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.page-lp-watanagashi-contest .flex-gap { display: flex; gap: 1.5rem; }
.page-lp-watanagashi-contest .emoji { font-size: 1.5rem; }
.page-lp-watanagashi-contest .btn-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; border-radius: 0.5rem;
  background: var(--primary); color: var(--primary-foreground);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); transition: opacity 0.2s;
}
.page-lp-watanagashi-contest .btn-cta:hover { opacity: 0.9; }
.page-lp-watanagashi-contest .btn-dark {
  background: var(--secondary-foreground); color: var(--primary-foreground);
}
.page-lp-watanagashi-contest .cta-row {
  display: flex; flex-direction: column; gap: 1rem; align-items: center;
}
.page-lp-watanagashi-contest .placeholder-box {
  width: 100%; height: auto; background: var(--muted);
  border: 2px dashed var(--border); border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
}
.page-lp-watanagashi-contest .placeholder-bar {
  background: var(--muted); border-radius: 0.375rem; height: 2.5rem;
  border: 1px dashed var(--border);
}
.page-lp-watanagashi-contest .rounded-md {
  background: var(--muted); padding: 1rem;
}

/* dl schedule */
.page-lp-watanagashi-contest .schedule{
  display: grid; grid-template-columns: auto 1fr; gap: 0.75rem;
  justify-content: center;
}

.page-lp-watanagashi-contest #contest .container{
  max-width: 600px;
  margin: 0 auto;
}
.page-lp-watanagashi-contest #contest .container .card .flex-gap{
  justify-content: center;
}
.page-lp-watanagashi-contest #contest .container .card h4{
  position: relative;
  border-bottom:1px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}
.page-lp-watanagashi-contest #contest .container .card h4 span{
  font-size: 1.1rem;
  font-family: 'Noto Serif JP', serif;
}
.page-lp-watanagashi-contest #contest .container .card .rounded-md{
  margin-top: 2rem;
  border: 1px solid var(--border-shadow);
}
.page-lp-watanagashi-contest #contest .container .card .rounded-md h4{
  border:none;
  padding-bottom: 0;
}

/* Page text links */
.page-lp-watanagashi-contest a:not(.btn-primary):not(.btn-secondary):not(.btn-cta):not(.btn-dark) {
  color: var(--primary);
  text-decoration: underline;
}
.page-lp-watanagashi-contest a:not(.btn-primary):not(.btn-secondary):not(.btn-cta):not(.btn-dark):hover {
  text-decoration: none;
}

/* FAQ styles */
.page-lp-watanagashi-contest #guidelines .faq-list {
  list-style: none;
  padding-left: 0;
  counter-reset: faq-item;
}
.page-lp-watanagashi-contest #guidelines .faq-list > li {
  padding: 1rem 0;
  counter-increment: faq-item;
}
.page-lp-watanagashi-contest #guidelines .faq-list > li:first-child {
  padding-top: 0;
}
.page-lp-watanagashi-contest #guidelines .faq-list > li + li {
  border-top: 1px solid var(--border-shadow);
}
.page-lp-watanagashi-contest #guidelines .faq-q::before,
.page-lp-watanagashi-contest #guidelines .faq-a::before {
  color: var(--foreground);
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.125rem;
  line-height: 1;
  flex: 0 0 2.2em;
  padding-top: 0.2em;
}
.page-lp-watanagashi-contest #guidelines .faq-q::before {
  content: 'Q' counter(faq-item) '.';
}
.page-lp-watanagashi-contest #guidelines .faq-a::before {
  content: 'A' counter(faq-item) '.';
}
.page-lp-watanagashi-contest #guidelines .faq-q,
.page-lp-watanagashi-contest #guidelines .faq-a {
  display: flex;
  align-items: flex-start;
  column-gap: 0.4em;
}

.page-lp-watanagashi-contest .lp-footer-copyright {
  position: relative;
  z-index: 10;
  padding: 1.5rem 0 2rem;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.page-lp-watanagashi-contest .lp-footer-copyright p {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 0, 0, 0.92);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

@media (min-width: 640px) {
  .page-lp-watanagashi-contest .grid-2 { grid-template-columns: 1fr 1fr; }
  .page-lp-watanagashi-contest .cta-row { flex-direction: row; justify-content: center; }
  .page-lp-watanagashi-contest .hero-buttons { flex-direction: column; }
}
@media (min-width: 768px) {
  .page-lp-watanagashi-contest .section { padding: 7.5rem 0; }
  .page-lp-watanagashi-contest .container { padding: 0 2rem; }
  .page-lp-watanagashi-contest .section-title { font-size: 2rem; }
  .page-lp-watanagashi-contest .grid-2-md { grid-template-columns: 1fr 1fr; }
  .page-lp-watanagashi-contest h3 { font-size: 1.5rem; }
}
