/*
Theme Name: Kouen Template 02 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;
}

/* 
*   header ==============================================
*/
.site-header,
.site-footer {
    background: var(--header_footer);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
}

.site-footer {
    margin-top: 120px;
}

.site-header__inner,
.page-placeholder__inner,
.notice-archive__inner,
.site-footer__inner {
    margin: 0 auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: none;
    padding: 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(--content-max-width);
    padding: 40px 16px 0;
}

/* ロゴ */
.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;
}

.social-links,
.site-footer__nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
}

/* 
*   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;
}
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;
}


/* リンクテキスト */
.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-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;
}



/*
*   お知らせ一覧 =======================================
*/

.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;
}


/*
*   公演ページ =======================================
*/

/* 公演概要 ======================================= */
.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);
}


/* 過去公演一覧 ======================================= */

.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;
}






/* TOP ======================================= */

/* TOP--　ヒーロー */
/* TOP--　次回公演 */


/* TOP--　お知らせ */

/* TOP--劇団について */

/* TOP--過去公演 */



/* TOP--お問い合わせ */

/*
*   LP専用上書き =======================================
*/

.site-header__inner {
    justify-content: space-between;
}


.site-footer {
    margin-top: 120px;
}

.site-footer__inner {
    max-width: var(--content-max-width);
    padding: 40px 16px 0;
}

.site-footer__top {
    display: grid;
    gap: 24px;
    justify-items: center;
    text-align: center;
    padding-bottom: 40px;
}

.site-footer__nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.site-footer__nav-item + .site-footer__nav-item {
    margin-top: 0;
}


.social-links--footer {
    width: auto;
    max-width: none;
    gap: 12px;
}

.social-links--footer .social-links__item:nth-child(3n + 1),
.social-links--footer .social-links__item:nth-child(3n + 2),
.social-links--footer .social-links__item:nth-child(3n) {
    justify-self: center;
}

.notice-archive__heading,
.stage-notice .notice-archive__heading {
    letter-spacing: 0.04em;
}



.social-links--footer .social-links__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 8px;
    border-radius: 50%;
    background: var(--social-icon-bg);
}

.social-links--footer .social-links__link img {
    width: 100%;
    height: 100%;
}
.site-footer__meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 12px 16px;
    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);
}

.site-footer__meta-text--block {
    display: block;
    width: 100%;
}