@charset "UTF-8";
/*
Theme Name: dgs20th
Theme URI: https://joqrextend.co.jp/
Description: Dear Girl〜Stories〜20th Anniversary Live Need You 公式サイト用子テーマ
Template: blankslate
Author: IRODORI
Version: 1.0.0
*/

.aligncenter { display: block; margin-inline: auto; }
.alignleft { float: left; margin: 0 var(--space-md) var(--space-md) 0; }
.alignright { float: right; margin: 0 0 var(--space-md) var(--space-md); }
.wp-caption { max-width: 100%; }
.wp-caption-text { margin-top: var(--space-xs); color: var(--color-text-muted); font-size: .875rem; }

.skip-link {
    position: fixed;
    inset: .75rem auto auto .75rem;
    z-index: calc(var(--z-drawer) + 10);
    padding: .65rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--color-text-inverse);
    background: var(--color-primary-strong);
    transform: translateY(-180%);
    transition: transform var(--duration-fast) var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* Header is visually reduced to the fixed mobile menu button. */
.site-header { position: relative; z-index: var(--z-header); height: 0; }
.drawer-button {
    position: fixed;
    inset: 1rem 1rem auto auto;
    z-index: calc(var(--z-header) + 1);
    display: grid;
    place-content: center;
    gap: .25rem;
    width: 3rem;
    aspect-ratio: 1;
    padding: 0;
    border: 2px solid rgb(8 0 128 / 18%);
    border-radius: 50%;
    background: rgb(255 255 255 / 94%);
    box-shadow: 0 .25rem 1.25rem rgb(0 0 0 / 16%);
}
.drawer-button__line { width: 1.25rem; height: 2px; border-radius: 99px; background: var(--color-primary); }

.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); display: grid; pointer-events: none; }
.drawer.is-open { pointer-events: auto; }
.drawer__overlay { position: absolute; inset: 0; padding: 0; background: rgb(2 1 48 / 62%); opacity: 0; transition: opacity var(--duration-base) var(--ease-out); }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
    position: relative;
    z-index: 1;
    width: min(86vw, 22rem);
    height: 100dvh;
    margin-left: auto;
    padding: 1.25rem;
    color: var(--color-text-inverse);
    background: color-mix(in srgb, var(--color-primary) 90%, transparent);
    box-shadow: -1rem 0 3rem rgb(0 0 0 / 20%);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--duration-base) var(--ease-out);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; padding-bottom: 1rem; }
.drawer__home { display: block; width: min(12rem, 70%); }
.drawer__home img { width: 100%; max-height: 5rem; object-fit: contain; }
.drawer__close { display: grid; place-items: center; width: 2.75rem; aspect-ratio: 1; padding: 0; border: 1px solid rgb(255 255 255 / 60%); border-radius: 50%; color: var(--color-primary); background: var(--color-bg); font-size: 1.75rem; line-height: 1; }
.drawer-nav { display: grid; margin-top: 1rem; }
.drawer-nav__item a { display: block; padding: 1rem .5rem; border-bottom: 1px solid rgb(255 255 255 / 28%); color: var(--color-text-inverse); font-weight: 700; text-decoration: none; }
.drawer-nav__item a:hover { color: var(--color-accent-yellow); }

/* Footer */
.site-footer { color: var(--color-text); background: var(--color-bg); }
.site-footer__partners { padding: 2.5rem 1rem; background: var(--color-primary); }
.partner-links { display: grid; grid-template-columns: repeat(3, minmax(0, 15rem)); align-items: center; justify-content: center; gap: 1rem 1.25rem; }
.partner-links__item { display: grid; place-items: center; }
.partner-links a,
.partner-links__pending { display: block; width: 100%; }
.partner-links img { width: 100%; max-width: 15rem; margin-inline: auto; }
.partner-links__pending { cursor: default; }
.site-footer__related { padding: 2.5rem 1rem; background: linear-gradient(#f7f7f7, #dcdcdc); }
.related-links { display: grid; grid-template-columns: repeat(8, minmax(0, 7.5rem)); justify-content: center; gap: clamp(.75rem, 2vw, 2.5rem); align-items: center; }
.related-links__item:nth-child(9) { grid-column-start: 3; }
.related-links a { display: block; border-radius: 50%; transition: transform var(--duration-fast) var(--ease-out), filter var(--duration-fast); }
.related-links a:hover { transform: translateY(-.2rem); filter: brightness(1.04); }
.related-links img { width: 100%; max-width: 7.5rem; margin-inline: auto; }
.site-footer__bottom { display: grid; justify-items: center; gap: 2rem; padding: 3.5rem 1rem 3rem; text-align: center; }
.site-footer__social { display: flex; align-items: center; justify-content: center; gap: 4rem; }
.social-link { display: grid; place-items: center; width: 4rem; aspect-ratio: 1; border-radius: 50%; }
.social-link img { width: 100%; }
.social-link--pending { cursor: default; opacity: .78; }
.site-footer small { color: #252535; font-size: .75rem; font-weight: 700; }

.entry-content,
.entry-title { width: min(100% - 2rem, var(--container-sm)); margin-inline: auto; }
.entry-content > * + * { margin-top: var(--space-md); }
.entry-title { margin-bottom: var(--space-lg); }

@media (max-width: 768px) {
    .alignleft, .alignright { float: none; margin-inline: 0; }
    .drawer-button { inset: .4rem .4rem auto auto; width: 2.35rem; gap: .2rem; border-width: 1px; }
    .drawer-button__line { width: 1.1rem; }
    .drawer__overlay { background: transparent; }
    .drawer.is-open .drawer__overlay { opacity: 0; }
    .drawer__panel { width: 50vw; padding: .5rem .75rem 1rem; background: rgb(0 0 119 / 92%); box-shadow: none; }
    .drawer__head { min-height: 2.5rem; padding-bottom: 0; }
    .drawer__home { display: none; }
    .drawer__close { width: 2rem; border-color: #fff; color: #fff; background: transparent; font-size: 1.25rem; }
    .drawer-nav { margin-top: 0; }
    .drawer-nav__item a { padding: .55rem .25rem; font-size: clamp(.72rem, 3.2vw, .9rem); line-height: 1.2; }
    .site-footer__partners { padding-block: 1.5rem; }
    .partner-links { width: min(100%, 29rem); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
    .site-footer__related { padding-block: 1.75rem; }
    .related-links { width: min(100%, 29rem); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
    .related-links__item:nth-child(9) { grid-column-start: auto; }
    .site-footer__bottom { gap: 1.5rem; padding-block: 2.25rem; }
    .site-footer__social { gap: 2.5rem; }
    .social-link { width: 3rem; }
}

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