/*
Theme Name: Gekidan Template 01 Theme
Version: 1.0.0
*/

:root {
    --layout-max-width: 480px;
    --content-max-width: 1100px;
    --font-base: "Noto Sans JP", sans-serif;
    --font-size-16: 16px;
    --font-size-18: 18px;
    --font-size-20: 20px;
    --font-size-26: 26px;
    --font-size-14: 14px;
    --font-weight-regular: 400;
    --font-weight-bold: 700;
    --line-height-100: 1;
    --line-height-120: 1.2;
    --line-height-140: 1.4;
    --line-height-150: 1.5;
    --line-height-180: 1.8;
    --social-icon-size: 40px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: var(--font-base);
}

body.is-menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    padding: 0;
    border: 0;
    font: inherit;
    background: transparent;
    cursor: pointer;
}


/* 
*   header ==============================================
*/
.site-header,
.site-footer {
    background: var(--header_footer);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
}

.site-footer {
    margin-top: 100px;
}

.site-header__inner,
.page-placeholder__inner,
.notice-archive__inner,
.site-footer__inner {
    margin: 0 auto;
}

.site-header__inner {
    max-width: var(--layout-max-width);
    padding-left: 16px;
    padding-right: 16px;
}

.page-placeholder__inner,
.notice-archive__inner {
    max-width: var(--content-max-width);
    padding-left: 16px;
    padding-right: 16px;
}

.site-footer__inner {
    max-width: var(--layout-max-width);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
}

/* ロゴ */
.site-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
}

.site-logo img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.site-logo__text {
    max-width: 100%;
    padding: 8px 14px;
    overflow: hidden;
    color: var(--text);
    background: var(--accent);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-100);
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* アイコン */
.menu-toggle,
.menu-close {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    background: var(--background);
}

.menu-toggle {
    margin-left: auto;
}

.menu-toggle__line,
.menu-close__line {
    position: absolute;
    width: 30px;
    height: 4px;
    background: var(--header_footer);
    border-radius: 999px;
}

.menu-toggle__line:nth-child(1) {
    transform: translateY(-9px);
}

.menu-toggle__line:nth-child(3) {
    transform: translateY(9px);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: var(--text);
    opacity: 0.55;
}

.site-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    width: min(78vw, 320px);
    max-width: 100%;
    height: 100vh;
    padding: 16px 16px 32px;
    overflow-y: auto;
    background: var(--background_2);
    transform: translateX(100%);
    transition: transform 0.25s ease;
}

.site-drawer.is-open {
    transform: translateX(0);
}

.site-drawer__header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 22px;
}

.menu-close__line {
    width: 28px;
}

.menu-close__line:nth-child(1) {
    transform: rotate(45deg);
}

.menu-close__line:nth-child(2) {
    transform: rotate(-45deg);
}

.drawer-nav {
    margin-top: 12px;
    text-align: center;
}

.drawer-nav__list,
.site-footer__nav-list,
.social-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.drawer-nav__item + .drawer-nav__item {
    margin-top: 24px;
}

.drawer-nav__link,
.site-footer__nav-link {
    display: inline-block;
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-bold);
}

.drawer-nav__link {
    line-height: var(--line-height-140);
}

.social-links {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
}

.social-links--drawer {
    gap: 14px;
    width: min(100%, 184px);
    margin: 40px auto 0;
}


/* 
*   footer ==============================================
*/

.social-links--footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 90%;
    max-width: 90%;
    justify-items: center;
    gap: 12px;
}

.social-links--footer .social-links__item:nth-child(3n + 1) {
    justify-self: end;
}

.social-links--footer .social-links__item:nth-child(3n + 2) {
    justify-self: center;
}

.social-links--footer .social-links__item:nth-child(3n) {
    justify-self: start;
}

.social-links__link,
.social-links__link img {
    width: var(--social-icon-size);
    height: var(--social-icon-size);
}

.social-links__link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links__link img {
    object-fit: contain;
}

.site-main {
    min-height: 80vh;
}

.page-placeholder__article,
.page-placeholder__spacer {
    min-height: 420px;
}

.site-footer__inner {
    padding-top: 40px;
}

.site-footer__nav-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    margin-bottom: 40px;
    text-align: center;
}

.site-footer__nav-item + .site-footer__nav-item {
    margin-top: 14px;
}

.site-footer__nav-link {
    color: var(--background);
    line-height: var(--line-height-150);
}

.site-footer__brand {
    display: grid;
    justify-items: center;
    gap: 18px;
    width: 90%;
    margin: 0 auto;
}

.site-footer .site-logo {
    width: 90%;
    max-width: 90%;
}

.site-logo--footer {
    justify-content: center;
}

.social-links--footer .social-links__link {
    width: min(100%, 40px);
    aspect-ratio: 1 / 1;
}

.social-links--footer .social-links__link img {
    width: 100%;
    height: 100%;
}

.site-footer .site-logo__text {
    width: 100%;
    text-align: center;
}

.site-footer__meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 0;
    color: var(--text);
    background: var(--background);
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    text-align: center;
}

.site-footer__meta-text {
    line-height: var(--line-height-140);
}


@media (min-width: 350px) {
    .site-footer__nav-wrap {
        display: grid;
        grid-template-columns: auto auto;
        align-items: start;
        justify-content: center;
        gap: 40px;
        padding: 0 40px 0;
        text-align: left;
    }

    .site-footer__brand {
        justify-items: start;
    }

    .social-links--footer {
        justify-items: stretch;
    }

    .site-footer .site-logo__text {
        text-align: left;
    }
}

@media (min-width: 351px) {
    .site-header__inner,
    .page-placeholder__inner,
    .site-footer__inner {
        width: 100%;
        max-width: none;
    }
}


/*
*   共通 =======================================
*/

/* ヒーローイメージ */
.page-hero {
    position: relative;
}

.page-hero__image {
    height: 100px;
    overflow: hidden;
}

.page-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__title-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.page-hero__title {
    margin: 0;
    color: var(--hero_title);
    font-size: var(--font-size-26);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-120);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1000px) {
    .page-hero__image {
        height: 250px;
    }
}

/* リンクテキスト */
.link-text,
.content-entry a {
    color: var(--main);
    text-decoration: underline;
    text-decoration-color: var(--main);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    transition: text-shadow 0.2s ease;
}

/* ボタン大 */
.button-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    color: var(--main);
    background: var(--background_2);
    border: 1px solid var(--main);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-140);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.button-large:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

/* ボタン小 */
.button-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    color: var(--main);
    background: var(--background_2);
    border: 1px solid var(--main);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-140);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.button-small:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}


/*
*   404 =======================================
*/

.page-hero--404 {
    position: relative;
}

.page-404__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 70px 16px 0;
}

.page-404__content {
    min-height: 420px;
}

.page-404__text {
    margin: 0;
    color: var(--text);
    font-size: var(--font-size-18);
    line-height: var(--line-height-180);
}

.page-404__footer {
    margin-top: 70px;
    text-align: center;
}



/*
*   お知らせ一覧 =======================================
*/

.page-hero--notice {
    position: relative;
}

.notice-archive__inner {
    padding-top: 70px;
}

.notice-archive__heading {
    margin: 0 0 30px;
    color: var(--main);
    font-size: var(--font-size-26);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-120);
}

.notice-archive__list {
    border-bottom: 1px dotted var(--background_2);
}

.notice-card {
    border-top: 2px dotted var(--background_2);
}

.notice-card__link {
    display: block;
    padding: 20px 8px;
}

.notice-card__date {
    display: block;
    margin-bottom: 8px;
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-140);
}

.notice-card__title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--text);
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-150);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.notice-archive__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    text-align: center;
}

.notice-archive__empty-text {
    margin: 0;
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
}

.notice-pagination {
    margin-top: 40px;
}

.notice-pagination__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.notice-pagination__item a,
.notice-pagination__item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border: 1px solid var(--main);
    background: var(--background);
    color: var(--main);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-100);
}

.notice-pagination__item.is-current span {
    background: var(--background_2);
}

.notice-pagination__item.is-disabled span {
    opacity: 0.5;
}

.notice-pagination__item.is-dots span {
    min-width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
}


/*
*   お知らせ個別 =======================================
*/

.notice-single__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 70px 16px 0;
}

.notice-single__article {
    color: var(--text);
}

.notice-single__date {
    display: block;
    margin-bottom: 12px;
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-140);
}

.page-title {
    margin: 0 0 30px;
    color: var(--main);
    font-size: var(--font-size-26);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-120);
}

.notice-entry {
    font-size: var(--font-size-18);
    line-height: var(--line-height-180);
}

.content-entry h1 {
    margin: 30px 0;
    color: var(--main);
    font-size: var(--font-size-26);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-140);
}

.content-entry h2,
.content-entry h3 {
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 6px;
    color: var(--text);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-140);
    border-bottom: 1px solid var(--main);
}

.content-entry h2 {
    font-size: var(--font-size-26);
}

.content-entry h3 {
    font-size: var(--font-size-20);
}

.content-entry p,
.content-entry ul,
.content-entry ol {
    margin: 0 0 20px;
}

.content-entry ul,
.content-entry ol {
    padding-left: 1.5em;
}

.content-entry li + li {
    margin-top: 8px;
}

.content-entry img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.notice-single__footer {
    margin-top: 70px;
    text-align: center;
}


/*
*   公演ページ =======================================
*/

/* 公演概要 ======================================= */
.page-hero--stage {
    position: relative;
}

.stage-overview__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 70px 16px 0;
}

.stage-overview__content {
    color: var(--text);
    text-align: center;
}

.stage-overview__title {
    margin: 0;
    color: var(--text);
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-140);
    word-break: break-word;
}

.stage-overview__layout {
    display: block;
}

.stage-overview__details {
    min-width: 0;
    text-align: center;
}

.stage-overview__subtitle {
    margin-top: 30px;
    color: var(--text);
    font-size: var(--font-size-18);
    line-height: var(--line-height-180);
    white-space: normal;
}

.stage-overview__subtitle--credit {
    margin-top: 40px;
}

.stage-flyer {
    margin-top: 40px;
    width: min(100%, 80%);
    margin: 40px auto 0;
}

.stage-flyer__viewport {
    overflow: hidden;
}

.stage-flyer__track {
    display: flex;
    transition: transform 0.25s ease;
    touch-action: pan-y;
}

.stage-flyer__slide {
    flex: 0 0 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    background: var(--background);
}

.stage-flyer__slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    object-fit: contain;
}

.stage-flyer__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.stage-flyer__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    background: var(--accent);
}

.stage-flyer__dot.is-active {
    background: var(--main);
}

.stage-overview__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.stage-overview__meta--date {
    margin-top: 40px;
}

.stage-overview__meta--theater {
    margin-top: 20px;
}

.stage-overview__icon {
    width: 22px;
    height: 22px;
    background-color: var(--main);
    flex: 0 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.stage-overview__icon--calendar {
    -webkit-mask-image: url("assets/images/stage/calendar.svg");
    mask-image: url("assets/images/stage/calendar.svg");
}

.stage-overview__icon--map {
    -webkit-mask-image: url("assets/images/stage/map.svg");
    mask-image: url("assets/images/stage/map.svg");
}

.stage-overview__meta-text,
.stage-overview__meta-line {
    margin: 0;
}

.stage-overview__meta-line {
    color: var(--text);
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-180);
}

@media (min-width: 1000px) {
    .stage-overview__layout {
        margin-top: 40px;
    }

    .stage-overview__layout {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 40px;
    }

    .stage-flyer {
        flex: 0 0 50%;
        width: 50%;
        margin: 0 auto;
    }

    .stage-overview__details {
        flex: 1 1 0;
        text-align: center;
    }

    .stage-overview__details .stage-overview__subtitle:first-child {
        margin-top: 0;
    }
}


/* 公演お知らせ ======================================= */
.stage-section-divider {
    width: 100%;
    margin: 70px 0;
    border-top: 1px solid var(--accent);
}

.stage-notice__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.stage-notice__footer {
    margin-top: 40px;
    text-align: right;
}

.stage-notice .notice-archive__heading {
    text-align: center;
}


/* 公演あらすじ ======================================= */
.stage-story {
    margin-top: 70px;
    width: 100%;
    background: var(--background_2);
}

.stage-story__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 70px 16px;
}

.stage-story__heading {
    text-align: center;
}

.stage-story__content {
    color: var(--text);
}

.stage-story__text {
    margin: 0;
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-180);
    white-space: normal;
    word-break: break-word;
}


/* 公演出演者 ======================================= */
.stage-cast {
    margin-top: 70px;
}

.stage-cast__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.stage-cast__heading {
    text-align: center;
}

.stage-cast__list {
    display: grid;
    gap: 20px;
}

.stage-cast__item {
    text-align: center;
}

.stage-cast__name,
.stage-cast__affiliation {
    margin: 0;
    color: var(--text);
    font-weight: var(--font-weight-regular);
}

.stage-cast__name {
    font-size: var(--font-size-20);
    line-height: var(--line-height-120);
}

.stage-cast__affiliation {
    margin-top: 2px;
    font-size: var(--font-size-16);
    line-height: var(--line-height-120);
}


/* 公演スタッフ ======================================= */
.stage-staff {
    margin-top: 70px;
}

.stage-staff__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.stage-staff__heading {
    text-align: center;
}

.stage-staff__content {
    text-align: center;
}

.stage-staff__text {
    margin: 0;
    color: var(--text);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-180);
    white-space: normal;
    word-break: break-word;
}


/* 公演スケジュール ======================================= */
.stage-schedule {
    margin-top: 70px;
}

.stage-schedule__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.stage-schedule__heading {
    text-align: center;
}

.stage-schedule__table-wrap {
    width: 100%;
}

.stage-schedule__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.stage-schedule__cell {
    padding: 16px 8px;
    border: 1px solid var(--main);
    color: var(--text);
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-140);
    text-align: center;
    vertical-align: middle;
    word-break: break-word;
}

.stage-schedule__cell--date {
    background: var(--background_2);
}


/* 公演劇場 ======================================= */
.stage-theater {
    margin-top: 70px;
}

.stage-theater__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.stage-theater__heading,
.stage-theater__content {
    text-align: center;
}

.stage-theater__name,
.stage-theater__address {
    margin: 0;
    color: var(--text);
}

.stage-theater__name {
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-140);
}

.stage-theater__address {
    margin-top: 30px;
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-180);
    white-space: normal;
    word-break: break-word;
}


/* 公演チケット ======================================= */
.stage-ticket {
    margin-top: 70px;
    width: 100%;
    background: var(--background_2);
}

.stage-ticket__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 70px 16px;
}

.stage-ticket__heading {
    text-align: center;
}

.stage-ticket__list {
    display: grid;
    gap: 14px;
}

.stage-ticket__item {
    padding: 16px;
    background: var(--background);
}

.stage-ticket__title,
.stage-ticket__note {
    margin: 0;
    color: var(--text);
}

.stage-ticket__title {
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-140);
}

.stage-ticket__note {
    margin-top: 8px;
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-180);
    white-space: normal;
    word-break: break-word;
}

.stage-ticket__footer {
    margin-top: 30px;
    text-align: center;
}


/* 公演インフォメーション ======================================= */
.stage-information {
    margin-top: 70px;
}

.stage-information__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.stage-information__heading {
    text-align: center;
}

.stage-information__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.stage-information__item {
    position: relative;
    margin: 0;
    padding-left: 1em;
    color: var(--text);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-180);
    word-break: break-word;
}

.stage-information__item::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
}

.stage-information__item + .stage-information__item {
    margin-top: 20px;
}

.stage-information__footer {
    margin-top: 30px;
    text-align: center;
}


/* 劇団員プロフィール ======================================= */
.member-profile__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 70px 16px 0;
}

.member-profile__layout {
    display: grid;
    gap: 30px;
}

.member-profile__photo {
    width: 80%;
    max-width: 360px;
    aspect-ratio: 3 / 4;
    margin: 0 auto;
    background: var(--background_2);
}

.member-profile__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.member-profile__body {
    display: grid;
    gap: 30px;
    align-content: center;
    text-align: center;
}

.member-profile__text {
    color: var(--text);
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-180);
    word-break: break-word;
}

.member-profile__sns-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.member-profile__sns-link {
    display: block;
    width: var(--social-icon-size);
    height: var(--social-icon-size);
}

.member-profile__sns-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.member-works__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.member-works__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.member-works__item {
    position: relative;
    margin: 0;
    padding-left: 1em;
    color: var(--text);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-180);
    word-break: break-word;
}

.member-works__item::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
}

.member-works__item + .member-works__item {
    margin-top: 20px;
}

@media (min-width: 1000px) {
    .member-profile__layout {
        grid-template-columns: 50% minmax(0, 1fr);
        align-items: center;
        gap: 40px;
    }

    .member-profile__photo {
        width: 100%;
    }
}


/* 劇団について ======================================= */
.about-intro__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 70px 16px 0;
}

.about-intro__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
}

.about-intro__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-intro__description {
    margin-top: 30px;
    color: var(--text);
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-180);
    word-break: break-word;
}

.about-intro__social-links {
    gap: 12px;
    margin-top: 30px;
}


/* お問い合わせ ======================================= */
.contact-form-section__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 70px 16px 0;
}

.contact-form-section__content {
    color: var(--text);
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-180);
}

.contact-form-section__content form {
    display: grid;
    gap: 20px;
}

.contact-form-section__content label {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-140);
}

.contact-form-section__content input,
.contact-form-section__content textarea {
    width: 100%;
    padding: 12px;
    color: var(--text);
    background: var(--background_2);
    border: 1px solid var(--main);
    border-radius: 0;
    font: inherit;
}

.contact-form-section__content textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form-section__content .wpcf7-acceptance {
    display: flex;
    justify-content: center;
    text-align: center;
}

.contact-form-section__content .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.contact-form-section__content .wpcf7-acceptance label {
    display: inline-flex;
    grid-template-columns: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: var(--font-weight-bold);
}

.contact-form-section__content .wpcf7-acceptance input[type="checkbox"] {
    width: auto;
    margin: 0;
    padding: 0;
}

.contact-form-section__content .wpcf7-acceptance .wpcf7-list-item-label {
    display: inline;
}

.contact-form-section__content .wpcf7-acceptance .wpcf7-not-valid-tip {
    text-align: center;
}

.contact-form-section__content input[type="submit"] {
    width: auto;
    display: block;
    justify-self: center;
    margin: 0 auto;
    padding: 10px 16px;
    color: var(--main);
    background: var(--background_2);
    border: 1px solid var(--main);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-140);
    cursor: pointer;
}

.contact-form-section__content input[type="submit"]:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}


/* 過去公演一覧 ======================================= */
.stage-archive__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 70px 16px 0;
}

.stage-archive__list {
    display: grid;
    gap: 10px;
}

.stage-archive-card__inner {
    display: grid;
    grid-template-columns: minmax(0, 50%) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
    padding: 10px 12px;
    color: var(--text);
    background: var(--background_2);
}

.stage-archive-card__image {
    aspect-ratio: 3 / 4;
    margin: 0;
}

.stage-archive-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stage-archive-card__body {
    display: grid;
    justify-items: center;
    gap: 12px;
    min-width: 0;
    text-align: center;
}

.stage-archive-card__title,
.stage-archive-card__meta {
    margin: 0;
    color: var(--text);
}

.stage-archive-card__title {
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-140);
    max-width: 100%;
    overflow-wrap: anywhere;
}

.stage-archive-card__meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 100%;
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-140);
    overflow-wrap: anywhere;
}

.stage-archive-card__meta::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--main);
    flex: 0 0 14px;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.stage-archive-card__meta--date::before {
    -webkit-mask-image: url("assets/images/stage/calendar.svg");
    mask-image: url("assets/images/stage/calendar.svg");
}

.stage-archive-card__meta--theater::before {
    -webkit-mask-image: url("assets/images/stage/map.svg");
    mask-image: url("assets/images/stage/map.svg");
}

.about-members {
    margin-top: 70px;
}

.about-members__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.about-members__group + .about-members__group {
    margin-top: 70px;
}

.about-members__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.about-member-card__inner {
    display: grid;
    gap: 12px;
    color: var(--text);
}

.about-member-card__photo {
    aspect-ratio: 3 / 4;
    margin: 0;
    background: var(--background_2);
}

.about-member-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-member-card__name {
    margin: 0;
    color: var(--text);
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-140);
    text-align: center;
}

@media (min-width: 1000px) {
    .stage-archive-card__inner {
        grid-template-columns: minmax(108px, 30%) minmax(0, 1fr);
    }

    .stage-archive-card {
        width: 80%;
        margin: 0 auto;
    }

    .about-members__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}




/* TOP ======================================= */

/* TOP--　ヒーロー */
.top-hero img {
    width: 100%;
    height: auto;
}

/* TOP--　次回公演 */
.top-stage__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 70px 16px 0;
}

.top-stage__layout {
    display: grid;
    gap: 40px;
    text-align: center;
}

.top-stage__heading {
    text-align: center;
}

.top-stage__flyer {
    width: 80%;
    max-width: 360px;
    aspect-ratio: 3 / 4;
    margin: 0 auto;
}

.top-stage__flyer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.top-stage__body {
    display: grid;
    gap: 24px;
    align-content: center;
    justify-items: center;
    min-width: 0;
}

.top-stage__title {
    margin: 0;
    color: var(--text);
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-140);
    overflow-wrap: anywhere;
}

.top-stage__subtitle {
    color: var(--text);
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-180);
    overflow-wrap: anywhere;
}

.top-stage__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    color: var(--text);
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-180);
}

.top-stage__meta-text,
.top-stage__meta-line {
    margin: 0;
}

.top-stage__footer {
    margin-top: 6px;
}

@media (min-width: 1000px) {
    .top-stage__layout {
        grid-template-columns: 50% minmax(0, 1fr);
        align-items: center;
        gap: 40px;
    }

    .top-stage__flyer {
        width: 100%;
    }
}

/* TOP--　お知らせ */
.top-notice__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.top-notice__footer {
    margin-top: 40px;
    text-align: right;
}

/* TOP--劇団について */
.top-about__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.top-about__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
}

.top-about__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.top-about__text {
    margin-top: 30px;
    color: var(--text);
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-180);
    word-break: break-word;
}

.top-about__social-links {
    gap: 12px;
    margin-top: 30px;
}

.top-about__footer {
    margin-top: 30px;
    text-align: right;
}

/* TOP--過去公演 */
.top-past-stage__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.top-past-stage__marquee {
    width: 100%;
    overflow: hidden;
}

.top-past-stage__track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: top-past-stage-marquee 40s linear infinite;
}

.top-past-stage__item {
    height: 160px;
    margin: 0;
    flex: 0 0 auto;
}

.top-past-stage__item img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.top-past-stage__footer {
    margin-top: 30px;
    text-align: right;
}

@keyframes top-past-stage-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-past-stage__track {
        animation: none;
    }
}


/* TOP--お問い合わせ */
.top-contact__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.top-contact__text {
    margin: 0;
    color: var(--text);
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-180);
    word-break: break-word;
}

.top-contact__footer {
    margin-top: 30px;
    text-align: center;
}
