/*
Theme Name: 祝場 Renewal
Theme URI: https://shukuba.org/
Description: Colorful Theme Premium の機能を継承し、祝場の空間と音楽に合わせて再設計した子テーマ。
Author: hiiragi_ing
Template: colorful-theme-premium
Version: 1.0.0
Text Domain: shukuba-renewal
*/

:root {
  --shukuba-sage: #748773;
  --shukuba-sage-dark: #34493f;
  --shukuba-forest: #1c2a25;
  --shukuba-cream: #f2eadc;
  --shukuba-paper: #faf6ee;
  --shukuba-clay: #92583c;
  --shukuba-gold: #c4a55c;
  --shukuba-ink: #202722;
  --shukuba-muted: #6c746d;
  --shukuba-line: rgba(32, 39, 34, 0.2);
  --shukuba-serif: "Cormorant Garamond", "Shippori Mincho", "Yu Mincho", serif;
  --shukuba-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --shukuba-radius: 2rem;
  --shukuba-max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--shukuba-paper);
  color: var(--shukuba-ink);
  font-family: var(--shukuba-jp);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.035em;
  margin: 0;
  overflow-x: hidden;
}

body.menu-is-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

img {
  height: auto;
  max-width: 100%;
}

.screen-reader-text,
.shukuba-skip-link {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.shukuba-skip-link:focus {
  background: var(--shukuba-paper);
  clip: auto;
  clip-path: none;
  color: var(--shukuba-ink);
  height: auto;
  left: 1rem;
  padding: 0.7rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 10000;
}

.shukuba-site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 1.3rem clamp(1.2rem, 4vw, 4.5rem);
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 100;
}

.admin-bar .shukuba-site-header {
  top: 32px;
}

.shukuba-brand,
.shukuba-menu-toggle {
  pointer-events: auto;
}

.shukuba-brand {
  align-items: center;
  color: var(--shukuba-cream);
  display: inline-flex;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 600;
  gap: 0.65rem;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.shukuba-brand::before {
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  height: 0.7rem;
  width: 0.7rem;
}

.shukuba-menu-toggle {
  align-items: center;
  background: rgba(242, 234, 220, 0.06);
  border: 1px solid rgba(242, 234, 220, 0.78);
  border-radius: 50%;
  color: var(--shukuba-cream);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-family: var(--shukuba-serif);
  font-size: 0.7rem;
  height: 5.7rem;
  justify-content: center;
  letter-spacing: 0.14em;
  transition: background 250ms ease, color 250ms ease, transform 250ms ease;
  width: 5.7rem;
}

.shukuba-menu-toggle:hover,
.shukuba-menu-toggle:focus-visible {
  background: var(--shukuba-cream);
  color: var(--shukuba-sage-dark);
  transform: rotate(-5deg);
}

.shukuba-menu-lines {
  display: grid;
  gap: 5px;
  margin-bottom: 0.35rem;
}

.shukuba-menu-lines i {
  background: currentColor;
  display: block;
  height: 1px;
  transition: transform 250ms ease;
  width: 1.4rem;
}

.menu-is-open .shukuba-menu-lines i:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-is-open .shukuba-menu-lines i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.shukuba-menu-panel {
  align-items: center;
  background: rgba(28, 42, 37, 0.98);
  color: var(--shukuba-cream);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 7rem 2rem 3rem;
  pointer-events: none;
  position: fixed;
  transform: translateY(-1rem);
  transition: opacity 250ms ease, transform 250ms ease;
  visibility: hidden;
  z-index: 90;
}

.menu-is-open .shukuba-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  visibility: visible;
}

.shukuba-menu-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.shukuba-menu-panel li + li {
  margin-top: 0.55rem;
}

.shukuba-menu-panel a {
  color: inherit;
  display: inline-block;
  font-family: var(--shukuba-serif);
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.shukuba-menu-panel a:hover,
.shukuba-menu-panel a:focus-visible {
  color: var(--shukuba-gold);
  transform: translateX(0.15em);
}

.shukuba-hero {
  background: var(--shukuba-sage);
  color: var(--shukuba-cream);
  display: grid;
  min-height: min(940px, 100svh);
  overflow: hidden;
  padding: clamp(7.5rem, 11vw, 10rem) clamp(1.2rem, 5vw, 5rem) clamp(2rem, 5vw, 4.5rem);
  position: relative;
}

.shukuba-hero::after {
  background: radial-gradient(circle, rgba(242, 234, 220, 0.16) 0 1px, transparent 1.5px);
  background-size: 15px 15px;
  content: "";
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  position: absolute;
}

.shukuba-hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(1rem, 3vw, 3rem);
  grid-template-columns: minmax(260px, 0.7fr) minmax(420px, 1.25fr) minmax(210px, 0.45fr);
  margin: auto;
  max-width: 1440px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.shukuba-hero-copy {
  margin-right: -7rem;
  position: relative;
  z-index: 4;
}

.shukuba-kicker {
  align-items: center;
  display: flex;
  font-size: 0.75rem;
  font-weight: 500;
  gap: 0.65rem;
  letter-spacing: 0.19em;
  margin: 0 0 2rem;
  text-transform: uppercase;
}

.shukuba-kicker::before {
  background: var(--shukuba-gold);
  border-radius: 50%;
  content: "";
  height: 0.65rem;
  width: 0.65rem;
}

.shukuba-hero-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(5.8rem, 14vw, 13rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.76;
  margin: 0;
  white-space: nowrap;
}

.shukuba-hero-roman {
  color: rgba(242, 234, 220, 0.76);
  display: block;
  font-family: var(--shukuba-serif);
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin: 1.6rem 0 0 0.18em;
}

.shukuba-hero-description {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  line-height: 2;
  margin: clamp(3rem, 6vw, 6rem) 0 0;
  max-width: 25rem;
}

.shukuba-hero-image-wrap {
  align-self: stretch;
  border-radius: 48% 48% 2rem 2rem / 34% 34% 2rem 2rem;
  box-shadow: 0 2rem 6rem rgba(28, 42, 37, 0.28);
  min-height: 670px;
  overflow: hidden;
  position: relative;
}

.shukuba-hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 48% center;
  position: absolute;
  transform: scale(1.015);
  width: 100%;
}

.shukuba-hero-image-wrap::after {
  background: linear-gradient(180deg, rgba(28, 42, 37, 0.02), rgba(28, 42, 37, 0.2));
  content: "";
  inset: 0;
  position: absolute;
}

.shukuba-next-card {
  align-self: end;
  border-top: 1px solid rgba(242, 234, 220, 0.55);
  padding: 1.4rem 0 0;
  position: relative;
  z-index: 4;
}

.shukuba-next-label {
  color: var(--shukuba-gold);
  font-family: var(--shukuba-serif);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin: 0 0 1.1rem;
  text-transform: uppercase;
}

.shukuba-next-date {
  font-family: var(--shukuba-serif);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0;
}

.shukuba-next-date small {
  display: block;
  font-family: var(--shukuba-jp);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  line-height: 1.8;
  margin-top: 0.8rem;
}

.shukuba-next-meta {
  font-size: 0.82rem;
  line-height: 1.85;
  margin: 1.5rem 0;
}

.shukuba-circle-link {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  display: inline-flex;
  font-family: var(--shukuba-serif);
  font-size: 0.78rem;
  height: 6.2rem;
  justify-content: center;
  letter-spacing: 0.09em;
  text-align: center;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
  width: 6.2rem;
}

.shukuba-circle-link:hover,
.shukuba-circle-link:focus-visible {
  background: var(--shukuba-cream);
  color: var(--shukuba-sage-dark);
  transform: rotate(6deg);
}

.shukuba-intro {
  background: var(--shukuba-cream);
  padding: clamp(6rem, 12vw, 12rem) clamp(1.3rem, 5vw, 5rem);
  position: relative;
}

.shukuba-intro-inner {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(200px, 0.38fr) minmax(320px, 1fr);
  margin: auto;
  max-width: var(--shukuba-max);
}

.shukuba-section-no {
  color: var(--shukuba-clay);
  font-family: var(--shukuba-serif);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin: 0;
}

.shukuba-intro-title,
.shukuba-section-title {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.shukuba-intro-title {
  font-size: clamp(2.8rem, 6.7vw, 6.8rem);
  line-height: 1.25;
  margin: 0;
  max-width: 9em;
}

.shukuba-intro-text {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 2.3;
  margin: 3rem 0 0 auto;
  max-width: 40rem;
}

.shukuba-live {
  background: var(--shukuba-forest);
  color: var(--shukuba-cream);
  padding: clamp(5rem, 10vw, 10rem) clamp(1.3rem, 5vw, 5rem);
}

.shukuba-live-inner {
  margin: auto;
  max-width: var(--shukuba-max);
}

.shukuba-live-head {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.shukuba-section-title {
  font-size: clamp(3.1rem, 7vw, 7rem);
  line-height: 0.95;
  margin: 0.5rem 0 0;
}

.shukuba-live-title-ja {
  display: block;
  font-family: var(--shukuba-jp);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  margin-top: 1.2rem;
}

.shukuba-video-shell {
  background: #000;
  border-radius: 48% 48% 1.5rem 1.5rem / 16% 16% 1.5rem 1.5rem;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.24);
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}

.shukuba-video-shell iframe {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.shukuba-live-caption {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto;
  margin-top: 1.8rem;
}

.shukuba-live-caption h3 {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
}

.shukuba-live-caption p {
  color: rgba(242, 234, 220, 0.72);
  font-size: 0.8rem;
  margin: 0.3rem 0 0;
}

.shukuba-details-head {
  background: var(--shukuba-clay);
  color: var(--shukuba-cream);
  padding: clamp(5rem, 9vw, 9rem) clamp(1.3rem, 5vw, 5rem);
}

.shukuba-details-head-inner {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: auto;
  max-width: var(--shukuba-max);
}

.shukuba-details-head p {
  max-width: 28rem;
}

.shukuba-existing-content {
  background: var(--shukuba-paper);
}

.shukuba-existing-content > .onlyPC,
.shukuba-existing-content > .onlySP,
.shukuba-existing-content > .wp-block-cover:first-of-type {
  display: none !important;
}

.shukuba-existing-content .alignfull {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none;
  width: 100%;
}

.shukuba-existing-content .alignwide {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--shukuba-max);
}

.shukuba-existing-content > .wp-block-cover,
.shukuba-existing-content > .wp-block-group {
  border-radius: 0 !important;
}

.shukuba-existing-content .colorful_cover_inner {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--shukuba-max) !important;
  padding-left: clamp(1.3rem, 5vw, 5rem) !important;
  padding-right: clamp(1.3rem, 5vw, 5rem) !important;
}

.shukuba-existing-content .wp-block-cover {
  min-height: auto !important;
  padding-bottom: clamp(4rem, 8vw, 8rem);
  padding-top: clamp(4rem, 8vw, 8rem);
}

.shukuba-existing-content .wp-block-cover__background {
  opacity: 0.88 !important;
}

.shukuba-existing-content h2,
.shukuba-existing-content h3 {
  font-family: "Shippori Mincho", serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.shukuba-existing-content h2 {
  font-size: clamp(2.4rem, 5.5vw, 5rem) !important;
}

.shukuba-existing-content h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem) !important;
}

.shukuba-existing-content p,
.shukuba-existing-content li {
  font-family: var(--shukuba-jp) !important;
}

.shukuba-existing-content .wp-block-columns {
  gap: clamp(1.5rem, 4vw, 4rem);
}

.shukuba-existing-content .wp-block-column {
  border-radius: var(--shukuba-radius);
  overflow: hidden;
}

.shukuba-existing-content .wp-block-image img,
.shukuba-existing-content .wp-block-gallery img {
  border-radius: 1.4rem;
}

.shukuba-existing-content .wp-block-gallery {
  gap: 1rem !important;
}

.shukuba-existing-content .wp-block-social-links {
  flex-wrap: wrap !important;
  gap: 0.45rem !important;
  justify-content: center !important;
}

.shukuba-existing-content .wp-block-embed-youtube {
  background: var(--shukuba-forest);
  margin: 0;
  padding: clamp(1rem, 3vw, 3rem);
}

.shukuba-existing-content .wp-block-embed__wrapper {
  aspect-ratio: 16 / 9;
  border-radius: 1.4rem;
  overflow: hidden;
}

.shukuba-existing-content .wp-block-embed__wrapper iframe {
  height: 100%;
  width: 100%;
}

.shukuba-existing-content iframe {
  max-width: 100%;
}

.shukuba-existing-content .wp-block-button__link {
  background: var(--shukuba-clay) !important;
  background-image: none !important;
  border: 1px solid currentColor !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  padding: 0.9rem 2rem !important;
  transition: background 180ms ease, color 180ms ease;
}

.shukuba-existing-content .wp-block-button__link:hover,
.shukuba-existing-content .wp-block-button__link:focus-visible {
  background: var(--shukuba-forest) !important;
}

.shukuba-existing-content .flip-clock-wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 46rem;
}

.shukuba-site-footer {
  background: var(--shukuba-sage-dark);
  color: var(--shukuba-cream);
  padding: clamp(4rem, 8vw, 8rem) clamp(1.3rem, 5vw, 5rem) 2rem;
}

.shukuba-footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr auto;
  margin: auto;
  max-width: var(--shukuba-max);
}

.shukuba-footer-logo {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(3.8rem, 10vw, 9rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.9;
  margin: 0;
}

.shukuba-footer-copy {
  color: rgba(242, 234, 220, 0.7);
  font-size: 0.78rem;
  margin-top: 2rem;
  max-width: 32rem;
}

.shukuba-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shukuba-footer-nav li + li {
  margin-top: 0.8rem;
}

.shukuba-footer-nav a {
  color: inherit;
  font-family: var(--shukuba-serif);
  font-size: 1.2rem;
  text-decoration: none;
}

.shukuba-copyright {
  border-top: 1px solid rgba(242, 234, 220, 0.2);
  color: rgba(242, 234, 220, 0.6);
  font-size: 0.7rem;
  margin: 5rem auto 0;
  max-width: var(--shukuba-max);
  padding-top: 1.2rem;
}

body:not(.home) .shukuba-site-header {
  background: var(--shukuba-sage-dark);
  position: relative;
}

body:not(.home) .site-content,
body:not(.home) #main {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--shukuba-max);
  padding: clamp(4rem, 8vw, 8rem) clamp(1.3rem, 5vw, 5rem);
}

@media (max-width: 960px) {
  .shukuba-hero {
    min-height: auto;
  }

  .shukuba-hero-grid {
    grid-template-columns: minmax(160px, 0.55fr) minmax(340px, 1fr);
  }

  .shukuba-hero-copy {
    margin-right: -5rem;
  }

  .shukuba-next-card {
    grid-column: 1 / -1;
  }

  .shukuba-hero-image-wrap {
    min-height: 600px;
  }
}

@media (max-width: 720px) {
  .admin-bar .shukuba-site-header {
    top: 46px;
  }

  .shukuba-site-header {
    padding: 1rem 1.1rem;
  }

  .shukuba-menu-toggle {
    height: 4.5rem;
    width: 4.5rem;
  }

  .shukuba-hero {
    padding: 7rem 1rem 2rem;
  }

  .shukuba-hero-grid {
    display: flex;
    flex-direction: column;
  }

  .shukuba-hero-copy {
    margin: 0 0 -4.4rem;
    width: 100%;
  }

  .shukuba-kicker {
    font-size: 0.63rem;
    margin-bottom: 1.3rem;
  }

  .shukuba-hero-title {
    font-size: clamp(6.2rem, 31vw, 9rem);
    line-height: 0.83;
    white-space: normal;
  }

  .shukuba-hero-roman {
    font-size: clamp(2rem, 12vw, 3.6rem);
    margin-top: 0.8rem;
  }

  .shukuba-hero-description {
    display: none;
  }

  .shukuba-hero-image-wrap {
    border-radius: 48% 48% 1.3rem 1.3rem / 25% 25% 1.3rem 1.3rem;
    min-height: 64svh;
    width: 100%;
  }

  .shukuba-hero-image {
    object-position: 52% center;
  }

  .shukuba-next-card {
    width: 100%;
  }

  .shukuba-next-date {
    font-size: 3.1rem;
  }

  .shukuba-circle-link {
    height: 5.3rem;
    width: 5.3rem;
  }

  .shukuba-intro-inner {
    grid-template-columns: 1fr;
  }

  .shukuba-intro-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .shukuba-intro-text {
    margin-top: 1.5rem;
  }

  .shukuba-live-head,
  .shukuba-details-head-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .shukuba-video-shell {
    border-radius: 42% 42% 1rem 1rem / 12% 12% 1rem 1rem;
  }

  .shukuba-live-caption {
    grid-template-columns: 1fr;
  }

  .shukuba-footer-grid {
    grid-template-columns: 1fr;
  }

  .shukuba-existing-content .wp-block-columns {
    flex-wrap: wrap !important;
  }

  .shukuba-existing-content .wp-block-column {
    flex-basis: 100% !important;
  }

  .shukuba-existing-content p[style*="padding-left"] {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .shukuba-existing-content iframe[width="1000"] {
    height: 360px;
    width: 100%;
  }

  .shukuba-existing-content .CDT.flip-clock-wrapper {
    max-width: 100%;
    transform: scale(0.72);
    transform-origin: top center;
    width: 139% !important;
    margin-left: -19.5% !important;
    margin-bottom: -2.2rem !important;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
