
:root {
    --bg-color: #171717;
    --bg-dark: rgba(23, 23, 23, 0.918);
    --bg-dark-heavy: rgba(23, 23, 23, 0.95);
    --bg-modal: rgba(0, 0, 0, 0.8);
    --text-white: #f5f5f5;
    --text-yellow: #f4e813;
    --text-ochre: #9a8427;
    --text-light-ochre: #9a8427;
    --text-gold: #9a8427;
    --text-red: #ff1111;
    --accent-brown: #9a8427;
    --accent-gold-border: #9a8427;
    --color-black: #000000;
    --color-silver: #c0c0c0;
    --text-gray: #333333;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', '游明朝', 'Hiragino Mincho ProN', serif;
    background-color: var(--bg-color);
    color: var(--text-white);
    line-height: 1.5;
    background-image: url('kamon_bw.png');
    background-repeat: repeat;
    background-size: 19.875rem;
    background-position: center;
    background-blend-mode: overlay;
    font-weight: 400;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-dark);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -15vw;
    right: -15vw;
    width: 100vw;
    height: 100vw;
    background-image: url('img/pattern.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}


/* 段落間の余白を広くする */
p {
    margin-bottom: 1.5em; /* 各段落の下に余白を追加 */
    line-height: 1.8;     /* 行間を広めに設定 */
}




.kamon-overlay {
    position: fixed;
    top: -40vw;
    left: -40vw;
    width: 120vw;
    height: 120vw;
    background-image: url(img/kamon_bw.png);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}




section {
    position: relative;
    z-index: 1;
    padding: 0;
}


.top-section {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1.25rem;
    max-width: 27rem;
    margin: 0 auto;
}


.top-horizontal-area {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.313rem;
    margin-bottom: 1.688rem;
    padding: 0 0.113rem;
}


.cast-sidebar {
    width: 6rem;
    padding-top: 1rem;
}

.cast-list {
    display: flex;
    flex-direction: column;
    gap: 0.094rem;
}


.cast-name {
    font-size: 0.75rem;
    color: var(--text-white);
    padding: 0.188rem 0.125rem;
    text-align: right;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.015em;
    white-space: break-word;
    word-break: break-word;
}

.cast-space {
  height: 0.5rem; /* スペースの高さ */
}


h1.premium-text-vertical,
.premium-text-vertical {
    display: flex;
    justify-content: center;
    align-items: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 2.6rem;
    color: var(--text-yellow);
    font-weight: 900;
    letter-spacing: 0.175em;
    padding: 1.094rem 0.1rem;
    margin-top: 0.094rem;
    flex: 1;
    padding-left: 1.4rem;
    margin-bottom: 0;
}


.title-section {
    width: 10rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 0.063rem;
    overflow-x: hidden;
    margin-right: 0.125rem;
}

.title-logo {
    width: 14.8rem;
    height: auto;
    object-fit: contain;
}


/* キャッチコピー＋説明エリア */
.catchcopy-section {
  text-align: center;
  margin: 0 auto 2rem auto;
  padding: 0 1.5rem;
  max-width: 900px;
  width: 100%;
}

/* キャッチコピー */
.catchcopy-section h1 {
  font-size: 2rem;           /* PC向けの読みやすいサイズ */
  color: var(--accent-brown);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  word-break: keep-all;       /* 途中で変な改行を防ぐ */
}

/* catchcopy div 本体 */
.catchcopy {
    color: var(--accent-brown);
    font-weight: 500;
    letter-spacing: 0.005em;
    margin-bottom: 1.25rem;
    white-space: pre-line;     /* <br> を保持 */
    font-size: 1.8rem;         /* 読みやすい大きさに調整 */
    line-height: 1.4;          /* 2行分の行間 */
    word-break: keep-all;      /* 途中で勝手に改行されない */
}

/* スマホ対応 */
@media (max-width: 768px) {
    .catchcopy-section h1 {
        font-size: 1.6rem;     /* 少し小さめにして画面幅に収める */
    }

    .catchcopy {
        font-size: 1.2rem;
        line-height: 1.3;
    }
}

/* 説明文 */
.description {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--text-white);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  text-align: justify; /* 両端揃え（スマホでは変更） */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .catchcopy-section {
    padding: 0 1rem;
  }

  .catchcopy-section h1 {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .description {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left; /* スマホでは左揃え */
  }
}

.spacing {
  height: 2rem; /* スペースの高さ */
}


.event-info {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem 0.625rem;
}

.event-date {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 0.188rem;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.event-talk {
    font-size: 1.063rem;
    color: var(--text-white);
    margin-top: 2rem;
    font-weight: 500;
    letter-spacing: 0.07em;
}

.month-large, .day-large {
    font-size: 1.5em;
    font-weight: 700;
}

.date-main .month-large, .date-main .day-large {
    font-size: 1.3em;
    font-weight: 700;
}

.event-venue {
    font-size: 1.2rem;
    color: var(--text-white);
    font-weight: 700;
    letter-spacing: 0.1em;
}


.cta-section {
    text-align: center;
    margin-top: 0.938rem;
    padding: 0 1.25rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--text-yellow);
    color: var(--color-black);
    padding: 0.625rem 1.688rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border: 0.188rem solid var(--text-yellow);
    border-radius: 0.25rem;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 0 0.063rem var(--color-black);
}

.sp-comment-btn {
    display: inline-block;
    background-color: var(--text-yellow);
    color: var(--color-black);
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    border: 0.125rem solid var(--text-yellow);
    border-radius: 0.25rem;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 0 0.063rem var(--color-black);
    cursor: pointer;
    margin-top: 1rem;
    font-family: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', '游明朝', 'Hiragino Mincho ProN', serif;
    width: 100%;
}

.sp-comment-btn:hover {
    opacity: 0.8;
}


.schedule-section {
    min-height: 100vh;
    padding: 2.5rem 1.25rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.schedule-content {
    margin: 0 auto;
    max-width: 50rem;
}

.year-large {
    font-size: 1.2em;
    font-weight: 700;
}

.section-header {
    margin-bottom: 2.813rem;
    margin-top: 3.5rem;
}

.section-title {
    font-size: 1.75rem;
    color: var(--text-yellow);
    font-weight: 700;
    margin-bottom: 1.563rem;
    letter-spacing: 0.05em;
}

.info-title {
    font-size: 1.375rem;
    color: var(--text-white);
    margin-bottom: 1.563rem;
    border-bottom: 0.125rem solid var(--text-yellow);
    padding-bottom: 0.25rem;
    display: block;
    font-weight: 500;
    letter-spacing: 0.02em;
    width: 7.75rem;
    margin: 0 auto 0.25rem;
}

.organizer-title {
    border-bottom: none;
}

.schedule-info {
    margin-bottom: 4.813rem;
}

.date-main {
    font-size: 1.375rem;
    color: var(--text-white);
    margin: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.date-main .month-large,
.date-main .day-large {
    font-size: 1.5em;
    font-weight: 700;
}

.performance-count {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.performance-schedule {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
    max-width: 21.875rem;
    margin: 0 auto;
    padding: 0 0.688rem;
}

.performance-box {
    background-color: var(--accent-gold-border);
    color: var(--text-white);
    padding: 0.75rem 0.5rem;
    border: 0.25rem solid var(--accent-gold-border);
    text-align: center;
    box-shadow: inset 0 0 0 0.063rem var(--text-white);
    border-radius: 0.188rem;
}

.perf-date {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    letter-spacing: 0.01em;
}

.perf-time {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.005em;
}

.day-of-week {
    font-size: 0.8em;
}

.performance-text {
    font-size: 0.8em;
    margin-left: 0.125rem;
}

.venue-info {
    margin-bottom: 2.813rem;
}

.venue-name {
    font-size: 1.625rem;
    color: var(--text-white);
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-top: 0.75rem;
}

.venue-address {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 1.563rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.map-container {
    margin: 1.25rem auto 0;
    max-width: 25rem;
}

.map-container iframe {
    width: 100%;
    height: 15.625rem;
    border: 0;
}

.organizer-info {
    margin-top: 3.125rem;
}

.organizer-name {
    font-size: 1.5rem;
    color: var(--text-white);
    font-weight: 500;
    letter-spacing: 0.01em;
}


.cast-section {
    min-height: 100vh;
    padding: 2.5rem 1.25rem;
    text-align: center;
}

.cast-content {
    text-align: center;
    max-width: 25rem;
    margin: 0 auto;
}

@media (min-width: 64rem) {
    .cast-content {
        max-width: 38rem;
    }
}


.main-cast-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 4.5rem;
    padding: 0 1.5rem;
    max-width: 26rem;
    margin: 0 auto 4.5rem;
}

.cast-member.main-cast {
    width: 11rem; /* どのメンバーも同じ幅に */
    text-align: center;
}

.cast-member.main-cast .role-name { 
    border: 0.063rem solid var(--accent-gold-border);
    background: var(--color-black);
    color: var(--text-white);
    text-align: center;
    padding: 0.125rem 0.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: none; /* 可変幅を解除 */
    display: block;
    min-height: 1.5rem; 
}

.cast-member.main-cast .cast-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 0.188rem solid var(--accent-gold-border);
    margin: 0 auto 0.375rem;
    display: block;
}

#horiuchi-card:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.cast-member.main-cast .cast-name {
    color: var(--text-yellow);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.438rem;
    text-align: center;
    letter-spacing: 0.2em;
    white-space: break-word;
    word-break: break-word;
}


.double-cast-area {
    margin-top: 2.5rem;
    padding: 0 1.5rem;
}

.cast-role-group {
    margin-bottom: 5rem;
    max-width: 22rem;
    margin: 0 auto 5rem;
}

.cast-role-group.triple-cast-group {
    max-width: none;
    margin: 0 auto 5rem;
}

.cast-role-group.before-single-cast {
    margin-bottom: 2.125rem;
}

.cast-role-group.last-cast {
    margin-bottom: 0;
}

.role-title {
    border: 0.063rem solid var(--accent-gold-border);
    background: var(--color-black);
    color: var(--text-white);
    text-align: center;
    padding: 0.063rem 0.75rem;
    font-weight: 400;
    margin-bottom: 0.813rem;
    font-size: 0.9rem;
    width: 100%;
    display: block;
}



.cast-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 21.875rem;
    margin: 0 auto;
}

.triple-cast-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 35rem;
    margin-bottom: 5rem;
}

@media (min-width: 64rem) {
    .triple-cast-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.25rem;
        max-width: 56.25rem;
    }
}

.cast-member {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 10rem;
    margin: 0 auto;
}

.cast-member .role-name {
    border: 0.063rem solid var(--accent-gold-border);
    background: var(--color-black);
    color: var(--text-white);
    text-align: center;
    font-weight: 500;
    margin-bottom: 0.875rem;
    font-size: 0.9rem;
    min-height: 1rem;
    padding: 0.063rem 0.5rem;
    width: 100%;
}

.cast-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 0.188rem solid var(--accent-gold-border);
    margin: 0 auto 0.375rem;
    display: block;
}

.cast-member .cast-name {
    color: var(--text-yellow);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.313rem;
    text-align: center;
    letter-spacing: 0.2em;
    white-space: break-word;
    word-break: break-word;
}

.performance-tags {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    width: 100%;
    height: 2rem;
    align-items: center;
    justify-items: center;
}

.aftertalk {
  color: var(--text-red);
}

.aftertalk_note {
  margin-bottom: 2rem;
}


.tag {
    background-color: var(--accent-gold-border);
    color: var(--text-white);
    border: 0.156rem solid var(--accent-gold-border);
    padding: 0.5rem 0.25rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.1;
    border-radius: 0.125rem;
    text-align: center;
    width: 100%;
    aspect-ratio: 1;
    display: inline-block;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: inset 0 0 0 0.063rem var(--text-white);
    white-space: pre-line;
}

.tag.night-1-29 {
    grid-column: 1;
}

.tag.day-1-30 {
    grid-column: 2;
}

.tag.night-1-30 {
    grid-column: 3;
}


.cast-role-group.single-cast {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 21.875rem;
    margin: 0rem auto 4.813rem;
}

.cast-member.single {
    text-align: center;
    justify-self: start;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* これで背景がスクロール可能になる */
    background-color: var(--bg-modal);
}

.modal-content {
    background-color: var(--bg-color);
    padding: 1.25rem;
    border: 0.125rem solid var(--accent-gold-border);
    width: 90%;
    max-width: 25rem;
    position: relative;      /* fixed → relative に変更 */
    color: var(--text-white);
    margin: 5vh auto;        /* 上下に余白を入れる */
    max-height: 80vh;        /* 画面高さに応じて制限 */
    overflow-y: auto;        /* 内容が長い場合に縦スクロール */
    box-sizing: border-box;
}

.modal-content2 {
    background-color: var(--bg-color);
    padding: 1.25rem;
    border: 0.125rem solid var(--accent-gold-border);
    width: 90%;
    max-width: 25rem;
    position: fixed;
    color: var(--text-white);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
      /* 👇これが重要！ */
  max-height: 80vh;     /* 画面の80%までの高さに制限 */
  overflow-y: auto;      /* 内容があふれたら縦スクロール */
  box-sizing: border-box;
}


.close, .close2 {
    position: fixed;     /* ← absolute から fixed に変更 */
    top: 1rem;           /* 上からの距離 */
    right: 1rem;         /* 右からの距離 */
    z-index: 1100;       /* モーダルより前面に表示 */
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-white);
    cursor: pointer;
}

.close, close2 :hover {
    color: var(--text-yellow);
}



.modal-content h2 {
    color: var(--text-yellow);
    margin-bottom: 0.938rem;
    font-size: 1.125rem;
}



.ticket-page {
    min-height: 100vh;
    color: var(--text-white);
    position: relative;
    z-index: 1;
}

.ticket-page__container {
    max-width: 50rem;
    margin: 0 auto;
    padding: 0 1.25rem 1rem;
    position: relative;
    z-index: 1;
}


.ticket-page__header {
    text-align: center;
    padding: 6rem 0 1.563rem;
}

.ticket-page__title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-yellow);
    margin: 0;
    letter-spacing: 0.2em;
    font-family: 'Noto Serif JP', serif;
}


.ticket-card {
    background: transparent;
    border: none;
    padding: 1.875rem 0 0;
    margin-bottom: 1rem;
    text-align: center;
}

.ticket-card__item {
  display: flex;
  justify-content: space-between; /* 左右に席名と金額を振り分け */
  padding: 0.5rem 1rem;           /* 両サイドに余白 */
  font-size: 1.2rem;
  color: var(--accent-brown);
  border-bottom: 0.063rem solid rgba(255, 255, 255, 0.2); /* optional: 区切り線 */
}

.ticket-card__title {
  text-align: left;
  flex: 1;                        /* 席名が長くても右端の金額位置は揃う */
  font-weight: bold;

}

.ticket-card__price {
  text-align: right;
  font-weight: bold;
  white-space: nowrap;            /* 改行されず揃いやすくなる */
  margin-left: 1rem;              /* 席名との間隔 */
}

/* レスポンシブ対応 */
@media (min-width: 50rem) {
  .ticket-card__item {
    padding: 0.5rem 2rem;        /* PCは左右余白を増やす */
    font-size: 1.3rem;           /* 少し大きくする */
  }
}

.ticket-card__note {
  padding: 0.25rem 1rem 0.75rem;  
  font-size: 0.875rem;
  line-height: 1.3; /* 行間を少し詰める */
  text-align: left;
  white-space: pre-line;
}

/* プレミアム特典専用 */
.ticket-card__note--premium {
  color: var(--text-white);
  line-height: 1.1; /* 行間を狭く */
  text-align: left;
  padding: 0.25rem 1rem 1rem; /* 下の余白を少し大きく */
  white-space: pre-line;
}

/* 白文字用クラス */
.ticket-card__note--white {
  color: var(--text-white);
}

/* レスポンシブ対応 */
@media (min-width: 50rem) {
  .ticket-card__note {
    padding: 0.25rem 2rem 0.75rem; 
    font-size: 0.95rem;
  }
}

.price {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-white);
    margin-right: -0.438rem;
}

.price__tax {
    font-size: 0.813rem;
    color: var(--accent-brown);
}


.ticket-page__sale-info {
    margin: 3.75rem 0 2rem;
}

.sale-announcement {
    background: transparent;
    border: none;
    padding: 0.125rem 1.25rem;
    text-align: center;
    position: relative;
}

.sale-announcement__date {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--text-yellow);
    margin-bottom: -0.438rem;
    font-family: 'Noto Serif JP', serif;
}

.sale-announcement__time {
    font-size: 1.813rem;
    font-weight: bold;
    color: var(--text-yellow);
    font-family: 'Noto Serif JP', serif;
}


.banner-grid {
  display: flex;
  justify-content: center;
  gap: 2%;          /* バナー間の隙間 */
  flex-wrap: wrap;   /* 小さい画面では縦に回り込む */
}

.banner-item {
  flex: 0 0 45%;     /* PCでは横並び、幅は45% */
  margin-bottom: 1rem; /* 縦に並んだときの余白 */
}

.banner-item img {
  width: 100%;       /* 親の幅に合わせる */
  height: auto;      /* 高さは自動 */
  display: block;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  .banner-item {
    flex: 0 0 90%;   /* 画面幅に合わせて縦並び */
  }
}

.ticket-page__link {
    text-align: center;
  　margin-top: 6rem;
    margin-bottom: 1rem;
}

.ticket-page__notes {
    margin: 3.125rem 0 0;
    padding: 0 1.125rem;
}

.notes-section {
}

.note-item {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-white);
    margin: 0 0 0.625rem 0;
    word-break: break-all;
}

.note-item:last-child {
    margin-bottom: 0;
}


.note-count {
    text-align: center;
    margin-bottom: 0.5rem;
    white-space: nowrap;       /* 改行させない */
    overflow: hidden;          /* はみ出した部分は隠す */
    text-overflow: ellipsis;   /* はみ出したら…表示 */
    display: inline-block;
    max-width: 100%;
    font-size: clamp(0.85rem, 2.5vw, 0.9rem); /* 画面幅に応じて縮小 */
}

.note-count2 {
    font-size: 0.75rem;
    text-align: left;
    margin-bottom: 2rem;
}

.ticket-page__footer {
    margin-top: 0;
    text-align: center;
    padding: 0 1.125rem 1rem;
}

.portal-banner {
    width: 100%;
    display: flex;           
    justify-content: center; /* 中央揃え */
    margin: 0;
}

.portal-banner__content {
    padding: 0;        /* 背景の余白を削除 */
    background: none;  /* 背景色を削除 */
}

.portal-banner__content a {
    display: block;
    width: 95%;        /* 画面幅の95% */
    max-width: 700px;  /* 必要に応じて最大幅 */
}

.portal-banner__content img {
    width: 100%;       /* 親リンクに合わせる */
    height: auto;      /* アスペクト比を維持 */
    display: block;
}

/* スマホ対応（600px以下） */
@media screen and (max-width: 600px) {
    .portal-banner {
        justify-content: center; /* 中央揃え */
        padding: 0;
        background: none;        /* 背景色を削除 */
    }

    .portal-banner__content {
        width: 95%;              /* 幅95% */
        max-width: none;         /* 最大幅制限を解除 */
        padding: 0;
        background: none;        /* 背景色を削除 */
    }

    .portal-banner__content a {
        width: 100%;             /* リンクは親幅いっぱい */
    }

    .portal-banner__content img {
        width: 100%;             /* 画像を親に合わせる */
        height: auto;            /* 高さ自動 */
        display: block;
    }
}



@media (min-width: 50rem) {
    body {
        max-width: 50rem;
        margin: 0 auto;
    }

    .kamon-overlay {
        width: 50rem;
        height: 50rem;
        left: -20rem;
        top: -20rem;
    }

    body::after {
        width: 50rem;
        height: 50rem;
        right: -12.5rem;
        bottom: -12.5rem;
    }
}


.note-subtext {
  font-size: 0.5rem;
}


.pc-br {
  display: none; /* デフォルトは非表示（スマホなど） */
}

@media (min-width: 1024px) { /* PCサイズ以上 */
  .pc-br {
    display: inline; /* PCでだけ改行 */
  }
}

.sp-br {
  display: inline; /* SPでだけ改行 */
}

@media (min-width: 1024px) { /* PCサイズ以上 */
  .sp-br {
    display: none; /* PCは非表示 */
  }
}

a {
  color: var(--text-yellow); 
}


.production-info {
  max-width: 700px;
  margin: 2rem auto 3rem auto;
  color: var(--text-white);
  font-size: 0.9rem;
  border-top: 3px solid #FFD600;
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem; /* 通常の行間・列間 */
  justify-content: center;
}

.production-info__item {
  flex: 1 1 40%;         
  min-width: 0;
  text-align: left;
  line-height: 1.3;
  white-space: nowrap;
  font-size: clamp(0.75rem, 3vw, 0.9rem);
}

/* 左列（脚本・原作） */
.production-info__item:nth-child(odd):not(.full-width) {
  flex: 1 1 36%;      /* 幅を少し狭めて右列との差をつける */
  text-align: left;
}

/* 右列（演出・企画協力） */
.production-info__item:nth-child(even):not(.full-width) {
  flex: 1 1 44%;      /* 幅を広めにして右に寄せる */
  text-align: left;
}

/* 主催（最後の1行） */
.production-info__item.full-width {
  flex: 1 1 100%;
  margin-top: 0.25rem;
  white-space: nowrap;
  text-align: left;
  font-size: clamp(0.75rem, 3vw, 0.9rem);
}

