html {
  font-size: 100%;
  background: var(--primary-bg-color);
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--primary-text-color);
      background-color: #451A03;
      background-size: 40px 40px;
      background-position: 0 0, 20px 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-feature-settings: "palt" 1;
  line-height: 1.8;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  vertical-align: middle;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 8px clamp(16px, 3vw, 44px);
  border-bottom: 1px solid rgba(93, 59, 42, .08);
  background: rgba(255, 250, 243, .84);
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
}

.logo {
  width: clamp(76px, 10vw, 118px);
  padding: 0;
}

.logo a {
  display: block;
  border-radius: 10px;
}

.logo img {
  width: 100%;
  height: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: clamp(330px, 55vw, 650px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px) clamp(78px, 10vw, 122px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .28;
  /* background-image:
    linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px); */
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 90%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -130px;
  z-index: -1;
  width: min(92vw, 1120px);
  height: 250px;
  border-radius: 50%;
  /* background: rgba(255, 250, 240, .34); */
  filter: blur(2px);
  transform: translateX(-50%);
}

.logomessage_setting h1 {
  width: min(92vw, 1040px);
  margin: 0;
}

.logomessage_setting h1 img {
  width: 100%;
  height: auto;
}

.site-main {
  width: min(100%, calc(var(--content-width) + 48px));
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px) clamp(64px, 8vw, 110px);
  flex: 1;
}

.site-main > section {
  width: 100%;
}

.schedule-section {
  position: relative;
  z-index: 4;
  margin-top: clamp(-42px, -5vw, -28px) !important;
  margin-bottom: clamp(54px, 8vw, 92px) !important;
  text-align: center;
}

.p-program__date {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: .12em;
  margin: 0;
  padding: 16px clamp(18px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  color: var(--curry-brown);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: clamp(16px, 3.4vw, 26px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .015em;
}

.accent {
  display: inline-block;
  color: var(--curry-red);
  font-size: 1.55em;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}

.content-section {
  margin-bottom: clamp(72px, 10vw, 118px) !important;
}

h2 {
  position: relative;
  width: fit-content;
  margin: 0 auto clamp(28px, 4vw, 42px) !important;
  padding: 0 0 14px;
  color: var(--curry-brown);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .06em;
}

p {
  color: var(--dark-text-color);
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 500;
}

.bangumi-naiyou {
  width: min(100%, var(--narrow-width));
  margin: 0 auto clamp(26px, 4vw, 40px) !important;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bangumi-naiyou p {
  margin-bottom: 1em !important;
  line-height: 1.95;
}

.bangumi-naiyou p:last-child {
  margin-bottom: 0 !important;
}

.bangumi-naiyou p:first-child {
  color: var(--curry-red-dark);
  font-weight: 800;
}

.teaser {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 0;
}

.teaser li {
  margin: 0;
}

.teaser img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: clamp(18px, 3vw, 32px);
  box-shadow: var(--shadow-lg);
}

.cast-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 26px);
  width: min(100%, 1100px);
  margin: 0 auto;
}

.cast-item {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--surface-solid-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .24s ease, box-shadow .24s ease;
}

.cast-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cast-item dt {
  overflow: hidden;
  margin: 0;
  background: var(--surface-soft-color);
}

.cast-item img {
  width: 100%;
  height: auto;
  transition: transform .4s ease;
}

.cast-item:hover img {
  transform: scale(1.025);
}

.cast-item dd {
  margin: 0;
  padding: 16px 14px 18px;
  color: var(--curry-brown);
  background: #fff;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 800;
  line-height: 1.5;
}

.ranking-section {
  position: relative;
  width: calc(100vw - 16px) !important;
  max-width: 1260px;
  margin-left: 50% !important;
  margin-right: 0 !important;
  padding: clamp(44px, 7vw, 84px) clamp(14px, 3vw, 34px);
  border-radius: clamp(24px, 4vw, 44px);
  background:
    radial-gradient(circle at 100% 0, rgba(243, 181, 63, .17), transparent 24rem),
    #f6f1e9;
  transform: translateX(-50%);
}

.section-heading {
  width: min(100%, 880px);
  margin: 0 auto 12px;
  text-align: center;
}

.section-heading__en {
  display: block;
  margin-bottom: 8px;
  color: var(--curry-red);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .24em;
}

.ranking-section .section-heading h2 {
  margin-bottom: 12px !important;
}

.ranking-lead {
  margin: 0;
  color: var(--muted-text-color);
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 700;
}

.ranking-section > .ranking-note {
  width: min(100%, 860px);
  margin: 0 auto clamp(28px, 4vw, 42px) !important;
  color: var(--muted-text-color);
  font-size: 12px;
}

.ranking-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 28px);
  width: min(100%, 1120px);
  margin: 0 auto;
}

.shop-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(58, 40, 31, .08);
  border-radius: clamp(18px, 2.5vw, 26px);
  background: #fff;
  box-shadow: 0 14px 38px rgba(67, 42, 28, .08);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.shop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 40, 31, .16);
  box-shadow: 0 22px 52px rgba(67, 42, 28, .12);
}

.shop-rank-badge {
  position: static;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  width: fit-content;
  margin: clamp(18px, 2.5vw, 24px) clamp(20px, 3vw, 30px) 0;
  padding: 8px 13px 9px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(47, 33, 27, .92);
  box-shadow: 0 8px 20px rgba(47,33,27,.14);
  text-align: center;
}

.shop-rank-badge span {
  display: block;
  margin: 0;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .15em;
}

.shop-rank-badge strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}

.rank-1 {
  border-color: rgba(205, 145, 23, .25);
  box-shadow: 0 20px 52px rgba(161, 104, 19, .14);
}

.rank-1 .shop-rank-badge {
  color: #3a281f;
  background: linear-gradient(135deg, #ffe19a, #edb337);
}

.rank-2 .shop-rank-badge {
  color: #332f2c;
  background: linear-gradient(135deg, #f0efec, #bfb8b0);
}

.rank-3 .shop-rank-badge {
  background: linear-gradient(135deg, #ca875e, #8c5034);
}

.shop-card-content {
  padding: 0 0 clamp(22px, 3vw, 30px);
}

.shop-name {
  margin: 0;
  padding: 12px clamp(20px, 3vw, 30px) 16px;
  color: var(--curry-brown);
  font-size: clamp(21px, 3vw, 29px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .02em;
  text-align: left;
}

.shop-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 4px;
  width: 100%;
  margin-bottom: 0;
  background: #eee7dd;
}

.shop-images img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  background: #fff;
}

.store-info {
  display: grid;
  gap: 0;
  margin: 18px clamp(20px, 3vw, 30px) 0;
  padding: 0;
  color: var(--primary-text-color);
  font-size: 13px;
  border-top: 1px solid #ece5dd;
}

.store-info li {
  display: block;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #ece5dd;
  background: transparent;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.store-info a {
  color: var(--link-text-color);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(199, 53, 34, .28);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.store-info a:hover {
  color: var(--hover-text-color);
  text-decoration-color: currentColor;
}

.streaming-section {
  width: min(100%, 980px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: clamp(24px, 4vw, 40px) !important;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0 0, rgba(243, 181, 63, .17), transparent 16rem),
    rgba(255, 255, 255, .84);
  box-shadow: var(--shadow-md);
}

.streaming-section h2 {
  margin-bottom: 20px !important;
}

.streaming-section > section > p {
  margin: 0;
  font-weight: 700;
}

.haishin {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: min(100%, 780px);
  margin: 16px auto 0;
  padding: 0;
}

.haishin li {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.haishin li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.haishin a {
  display: grid;
  place-items: center;
  width: 100%;
}

.haishin img {
  width: auto;
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

footer {
  width: 100%;
  padding: 26px 18px calc(26px + env(safe-area-inset-bottom));
  text-align: center;
  background: var(--curry-brown);
}

footer p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .04em;
  white-space: normal;
}

@media (min-width: 600px) {
  .cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 768px) {
  .site-header {
    min-height: 70px;
  }

  .site-main {
    padding-left: 28px;
    padding-right: 28px;
  }

  .bangumi-naiyou {
    text-align: center;
  }

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

  .shop-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .store-info {
    margin-top: 18px;
  }
}

@media (min-width: 1100px) {
  .ranking-container {
    gap: 30px;
  }
}

@media (max-width: 599px) {
  .hero {
    min-height: 300px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .logomessage_setting h1 {
    width: min(96vw, 760px);
  }

  /* 店è?—ランキングはスマã?›では画面å¹?をしっかり使ã�? */
  .ranking-section {
    width: 100vw !important;
    padding: 42px 12px 54px;
    border-radius: 0;
  }

  .ranking-section > .ranking-note {
    margin-bottom: 24px !important;
    padding-inline: 6px;
    text-align: left;
    line-height: 1.65;
  }

  .ranking-container {
    gap: 20px;
  }

  .shop-card {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(67, 42, 28, .09);
  }

  /* é ?位と店名を一つの見å?ºしé?˜域として見せã‚? */
  .shop-rank-badge {
    margin: 16px 16px 0;
    padding: 7px 11px 8px;
  }

  .shop-rank-badge strong {
    font-size: 20px;
  }

  .shop-name {
    padding: 8px 16px 14px;
    font-size: clamp(20px, 6.4vw, 26px);
    line-height: 1.35;
  }

  /* 写真は比率を壊さã�?1枚ずつ大きく表示 */
  .shop-images {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 10px;
    background: transparent;
  }

  .shop-images img {
    width: 100%;
    height: auto;
    min-height: 0;
    border: 1px solid #eee6dc;
    border-radius: 14px;
    background: #fff;
  }

  .store-info {
    margin: 16px 16px 0;
    font-size: 13px;
  }

  .store-info li {
    padding: 9px 0;
    line-height: 1.65;
  }

  .store-info a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .shop-card-content {
    padding-bottom: 20px;
  }

  .rank-1 {
    box-shadow: 0 12px 34px rgba(161, 104, 19, .13);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
