@font-face {
  font-family: "Hangyaku";
  src: url("../fonts/Hangyaku-1jZoB.ttf") format("truetype");
  font-display: swap;
}

:root {
  --color-red: #990000;
  --color-red-dark: #730000;
  --color-cream: #fdf2d4;
  --color-paper: #fff8e8;
  --color-ink: #241212;
  --color-muted: #5c3a32;
  --color-line: rgba(153, 0, 0, 0.28);
  --shadow-strong: 8px 8px 0 rgba(0, 0, 0, 0.26);
  --shadow-soft: 0 18px 32px rgba(0, 0, 0, 0.22);
  --page-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  color: var(--color-ink);
  font-family: "Yu Gothic", "游ゴシック", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: var(--color-red);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(153, 0, 0, 0.08), rgba(153, 0, 0, 0.2)),
    url("../images/bg07.jpg") center / cover fixed no-repeat,
    var(--color-red);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: rgba(70, 0, 0, 0.08);
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  opacity: 0.72;
}

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-red);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1280px);
  min-height: 82px;
  margin: 0 auto;
  padding: 10px clamp(14px, 3vw, 28px);
  gap: 20px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 120px;
}

.site-logo img {
  display: block;
  width: auto;
  height: clamp(54px, 8vw, 78px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
  border-radius: 4px;
}

.nav-toggle__line {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.site-nav a,
.site-nav summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #ffeeee;
  font-family: "Hangyaku", "Yu Gothic", sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.site-nav details {
  position: relative;
}

.site-nav summary {
  list-style: none;
}

.site-nav summary::-webkit-details-marker {
  display: none;
}

.site-nav__menu {
  position: absolute;
  right: 0;
  min-width: 178px;
  padding: 8px;
  background: var(--color-red);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-soft);
}

.site-nav__menu a {
  display: flex;
  width: 100%;
  min-height: 38px;
  padding: 4px 8px;
  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 1rem;
  line-height: 1.4;
}

.site-main {
  min-height: 72vh;
}

.page-section {
  width: min(var(--page-width), calc(100% - 28px));
  margin: clamp(28px, 5vw, 58px) auto;
}

.page-section--narrow {
  width: min(760px, calc(100% - 28px));
}

.section-heading {
  margin: 0 0 16px;
  padding: 8px 14px 7px;
  color: var(--color-red);
  font-family: "Hangyaku", "Yu Gothic", sans-serif;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 1;
  background: var(--color-cream);
  border-left: 8px solid var(--color-red);
  box-shadow: var(--shadow-strong);
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #180000;
}

.carousel__track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease;
}

.carousel__slide {
  flex: 0 0 100%;
}

.carousel__slide img {
  display: block;
  width: 100%;
  max-height: min(76vh, 780px);
  object-fit: contain;
  background: #180000;
}

.carousel__control {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 54px;
  border: 0;
  color: #fff;
  background: rgba(153, 0, 0, 0.72);
  transform: translateY(-50%);
  cursor: pointer;
}

.carousel__control:hover {
  background: rgba(153, 0, 0, 0.95);
}

.carousel__control--prev {
  left: 10px;
}

.carousel__control--next {
  right: 10px;
}

.carousel__dots {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel__dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid #fff;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
}

.carousel__dot.is-active {
  background: #fff;
}

.news-list {
  background: var(--color-cream);
  box-shadow: var(--shadow-strong);
}

.news-item + .news-item {
  border-top: 1px solid var(--color-line);
}

.news-item summary {
  display: grid;
  grid-template-columns: minmax(105px, 0.34fr) 1fr;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 14px 18px;
  color: var(--color-red);
  cursor: pointer;
}

.news-item summary::-webkit-details-marker {
  display: none;
}

.news-item__date {
  font-weight: 700;
}

.news-item__title {
  font-weight: 700;
}

.news-item__body {
  padding: 0 18px 18px;
  color: var(--color-ink);
  line-height: 1.9;
}

.news-item__body p {
  margin: 0 0 0.7em;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 6px 0 18px;
}

.photo-grid a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eee;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-panel,
.content-list,
.x-panel,
.empty-panel {
  background: rgba(253, 242, 212, 0.96);
  box-shadow: var(--shadow-strong);
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(18px, 3vw, 28px);
  padding: clamp(16px, 3vw, 28px);
}

.flyer-stack {
  display: grid;
  gap: 12px;
}

.flyer-stack img {
  width: 100%;
  background: #fff;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.22);
}

.feature-panel h3,
.card h2,
.card h3 {
  margin: 0 0 12px;
  color: var(--color-red);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.35;
}

.meta-list {
  display: grid;
  gap: 8px;
  margin: 0;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.meta-list dt {
  color: var(--color-red);
  font-weight: 700;
}

.meta-list dd {
  margin: 0 0 4px;
}

.line-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  line-height: 1.85;
}

.line-list li + li {
  margin-top: 2px;
}

.card {
  padding: clamp(16px, 3vw, 28px);
  background: rgba(253, 242, 212, 0.96);
  box-shadow: var(--shadow-strong);
}

.card + .card {
  margin-top: 22px;
}

.card__date {
  margin: 0 0 6px;
  color: var(--color-red);
  font-weight: 700;
}

.card__body {
  min-width: 0;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.card__body p {
  margin: 0 0 0.8em;
}

.creamers-intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
  margin-bottom: clamp(28px, 5vw, 52px);
  padding: clamp(18px, 3vw, 30px);
  background: bisque;
  border: 2px dotted var(--color-ink);
  border-radius: 10px;
  box-shadow: var(--shadow-strong);
}

.creamers-intro__logo {
  display: grid;
  place-items: center;
}

.creamers-intro__logo img {
  width: min(100%, 320px);
}

.creamers-intro__body {
  color: var(--color-ink);
  font-weight: 700;
  line-height: 1.9;
}

.creamers-intro__body p {
  margin: 0 0 0.8em;
}

.creamers-intro__body p:last-child {
  margin-bottom: 0;
}

.creamers-schedule {
  margin-bottom: clamp(34px, 6vw, 60px);
}

.creamers-schedule__list {
  display: grid;
  gap: 22px;
}

.creamers-members-heading {
  display: grid;
  place-items: center;
  margin: 0 0 18px;
}

.creamers-members-heading img {
  width: min(225px, 64vw);
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.22));
}

.creamers-member-list {
  display: grid;
  gap: 22px;
}

.creamers-member-card {
  overflow: hidden;
  padding: 0;
  color: var(--creamers-member-fg, #fff8e8);
  background: var(--creamers-member-bg, rgb(253, 242, 212));
  border: 2px solid var(--color-ink);
  border-radius: 12px;
}

.creamers-member-card a {
  color: inherit;
}

.creamers-member-card + .creamers-member-card {
  margin-top: 0;
}

.creamers-member-card__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.08fr) minmax(210px, 0.76fr);
  gap: clamp(12px, 2.5vw, 28px);
  align-items: center;
  min-height: 340px;
}

.creamers-member-card__portrait {
  display: grid;
  place-items: center;
  min-height: 300px;
}

.creamers-member-card__portrait img {
  width: min(100%, 460px);
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(6px 8px 0 rgba(0, 0, 0, 0.14));
  transform: translateX(clamp(10px, 3vw, 36px));
}

.creamers-member-card__profile {
  display: grid;
  gap: 8px;
  align-content: center;
  justify-items: start;
  min-width: 0;
  padding: 18px clamp(10px, 2vw, 22px) 18px 0;
  line-height: 1.8;
}

.creamers-member-card__logo {
  width: min(68%, 220px);
}

.creamers-member-card__profile p {
  margin: 0;
}

.about-profile {
  align-items: start;
}

.about-profile__image img {
  display: block;
  width: 100%;
  background: #fff;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.22);
}

.about-profile__catchphrases {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  padding: 0;
  color: var(--color-red);
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}

.about-profile__text p:last-child {
  margin-bottom: 0;
}

.history-list {
  display: grid;
  gap: 14px;
}

.history-item {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.history-item__period {
  margin: 0;
  color: var(--color-red);
  font-weight: 700;
  line-height: 1.65;
}

.history-item__body {
  margin: 0;
  line-height: 1.85;
}

.history-note {
  margin-top: 18px;
  padding: clamp(14px, 2.5vw, 20px);
  background: rgba(253, 242, 212, 0.96);
  box-shadow: var(--shadow-strong);
  line-height: 1.85;
}

.history-note p {
  margin: 0;
}

.schedule-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.74fr) minmax(260px, 1.26fr);
  gap: clamp(18px, 3vw, 28px);
}

.schedule-card > * {
  min-width: 0;
}

.schedule-card__flyers {
  display: grid;
  gap: 12px;
  align-content: start;
}

.schedule-card__flyers img {
  width: 100%;
  background: #fff;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.22);
}

.x-panel {
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 22px;
  text-align: center;
}

.x-panel .twitter-tweet {
  width: 100% !important;
  max-width: 550px;
  margin: 0 auto !important;
  text-align: left;
}

.x-panel a {
  color: var(--color-red);
  font-weight: 700;
}

.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
  padding: 12px 14px;
  background: rgba(253, 242, 212, 0.96);
  box-shadow: var(--shadow-strong);
}

.pagination-controls label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-red);
  font-weight: 700;
}

.pagination-controls select {
  min-height: 36px;
  padding: 4px 8px;
  border: 1px solid var(--color-line);
  background: #fff;
}

.pagination-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 14px;
  border: 0;
  color: #fff;
  background: var(--color-red);
  text-decoration: none;
  cursor: pointer;
}

.button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

input,
select,
textarea {
  width: min(100%, 560px);
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--color-line);
  color: var(--color-ink);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 190px;
  resize: vertical;
}

form label {
  color: var(--color-red);
  font-weight: 700;
  line-height: 1.8;
}

.gallery-index {
  margin: 0 0 18px;
  padding: 16px 18px;
  background: rgba(253, 242, 212, 0.96);
  box-shadow: var(--shadow-strong);
}

.gallery-index h2 {
  margin: 0 0 12px;
  color: var(--color-red);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  line-height: 1.35;
}

.gallery-index ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-index a {
  display: grid;
  grid-template-columns: minmax(88px, auto) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.38);
  border-left: 5px solid var(--color-red);
  text-decoration: none;
}

.gallery-index__date {
  color: var(--color-red);
  font-weight: 700;
  white-space: nowrap;
}

.gallery-index__title {
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.gallery-index__count {
  color: var(--color-muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-collections {
  display: grid;
  gap: 28px;
}

.gallery-collection {
  scroll-margin-top: 106px;
  background: rgba(253, 242, 212, 0.96);
  box-shadow: var(--shadow-strong);
}

.gallery-collection__header {
  padding: 16px 18px 8px;
  color: var(--color-red);
  border-bottom: 1px solid var(--color-line);
}

.gallery-collection__header h2 {
  margin: 0 0 6px;
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  line-height: 1.45;
}

.gallery-collection__header p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.gallery-collection .gallery-grid {
  padding: 14px;
}

.gallery-grid a,
.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--color-cream);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.gallery-grid img,
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
  opacity: 0.82;
  transform: scale(1.04);
}

.gallery-thumb:focus-visible {
  outline: 4px solid var(--color-red);
  outline-offset: 3px;
}

.is-modal-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 28px);
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 0, 0, 0.82);
}

.gallery-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  width: min(1060px, 100%);
  max-height: calc(100vh - 36px);
  gap: 10px;
}

.gallery-modal__figure {
  display: grid;
  max-height: calc(100vh - 36px);
  margin: 0;
  color: #fff;
}

.gallery-modal__figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 92px);
  margin: 0 auto;
  background: #120000;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.gallery-modal__figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 2px 0;
  font-weight: 700;
  line-height: 1.5;
}

.gallery-modal__close,
.gallery-modal__nav {
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: var(--color-red);
  cursor: pointer;
}

.gallery-modal__close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  line-height: 1;
}

.gallery-modal__nav {
  width: 54px;
  height: 70px;
  font-size: 2rem;
}

.gallery-modal__close:hover,
.gallery-modal__nav:hover {
  background: var(--color-red-dark);
}

.site-footer {
  margin-top: clamp(40px, 7vw, 78px);
  color: #fff;
  background: var(--color-red);
}

.site-footer__inner {
  width: min(var(--page-width), calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 20px;
  text-align: center;
}

.footer-sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}

.footer-sns img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-credit,
.footer-copy {
  margin: 4px 0;
  font-size: 0.92rem;
}

.empty-panel {
  padding: 24px;
  line-height: 1.8;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    justify-content: flex-start;
    align-items: stretch;
    padding: 8px 0 2px;
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-nav a,
  .site-nav summary {
    width: 100%;
    font-size: 2.45rem;
  }

  .site-nav__menu {
    position: static;
    box-shadow: none;
  }

  .feature-panel,
  .schedule-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .creamers-intro,
  .creamers-member-card__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .creamers-member-card__portrait {
    min-height: 220px;
  }

  .creamers-member-card__portrait img {
    transform: none;
  }

  .creamers-member-card__profile {
    justify-items: center;
    padding: 0 18px 20px;
    text-align: center;
  }

  .creamers-member-card__logo {
    width: min(58%, 220px);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-index ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 66px;
  }

  .carousel__control {
    width: 38px;
    height: 48px;
  }

  .news-item summary {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .creamers-intro {
    padding: 16px;
  }

  .creamers-intro__logo img {
    width: min(86%, 260px);
  }

  .creamers-member-card__inner {
    min-height: 0;
  }

  .creamers-member-card__portrait img {
    width: min(100%, 340px);
  }

  .creamers-member-card__logo {
    width: min(64%, 190px);
  }

  .gallery-index a {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .gallery-index__date {
    grid-column: 1 / -1;
  }

  .pagination-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .pagination-buttons {
    justify-content: space-between;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-modal__panel {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 6px;
  }

  .gallery-modal__nav {
    width: 42px;
    height: 58px;
  }

  .gallery-modal__close {
    top: -8px;
    right: -8px;
  }

  .gallery-modal__figure figcaption {
    flex-direction: column;
    gap: 2px;
    font-size: 0.88rem;
  }
}
