/*
Theme Name: Gorimero Angel
Theme URI: https://example.local/gorimero-angel
Author: Codex
Description: ごりめろ公式サイト用の水色と白を基調にしたミュージシャン向けWordPressテーマ。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: gorimero-angel
*/

:root {
    --sky: #80dfff;
    --sky-soft: #dff8ff;
    --blue: #38a9ef;
    --white: #ffffff;
    --cream: #fffaf2;
    --pink: #ff91c8;
    --yellow: #ffe48a;
    --ink: #314260;
    --muted: #6b7f9d;
    --line: rgba(56, 169, 239, 0.2);
    --shadow: 0 22px 60px rgba(76, 180, 232, 0.22);
    --shadow-pop: 0 28px 80px rgba(56, 169, 239, 0.28);
    --container: min(1120px, calc(100vw - 28px));
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
    line-height: 1.8;
    word-break: normal;
    overflow-wrap: break-word;
    background:
        var(--site-bg-glow-a, radial-gradient(circle at 14% 8%, rgba(255, 145, 200, 0.26), transparent 26%)),
        var(--site-bg-glow-b, radial-gradient(circle at 86% 18%, rgba(128, 223, 255, 0.38), transparent 30%)),
        var(--site-bg-stripes, repeating-linear-gradient(115deg, rgba(56, 169, 239, 0.055) 0 2px, transparent 2px 34px)),
        linear-gradient(180deg, var(--site-bg-start, #f7fdff) 0%, var(--site-bg-middle, #fffafc) 52%, var(--site-bg-end, #eaf9ff) 100%);
    background-attachment: fixed;
}

main {
    padding-bottom: 74px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    width: var(--container);
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.brand__halo {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 2px solid var(--sky);
    border-radius: 50%;
    background: var(--white);
    color: var(--blue);
    box-shadow: 0 8px 24px rgba(128, 223, 255, 0.35);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--sky);
    color: var(--white);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.site-nav {
    display: block;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 900;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--blue);
    background: var(--sky-soft);
}

.angel-bgm {
    position: fixed;
    z-index: 80;
    right: 16px;
    top: 88px;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky), var(--pink));
    color: var(--white);
    box-shadow: var(--shadow);
    cursor: pointer;
    animation: floaty 3.2s ease-in-out infinite;
}

.angel-bgm.is-playing {
    animation: purupuru 0.42s infinite;
}

.hero {
    position: relative;
    overflow: hidden;
    width: min(880px, calc(100vw - 40px));
    min-height: auto;
    margin: 44px auto 0;
    padding: clamp(30px, 4vw, 44px);
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 42px;
    background:
        linear-gradient(90deg, rgba(56, 169, 239, 0.09), rgba(56, 169, 239, 0.09)) 0 50% / 100% 2px no-repeat,
        linear-gradient(90deg, rgba(56, 169, 239, 0.09), rgba(56, 169, 239, 0.09)) 0 calc(50% + 18px) / 100% 2px no-repeat,
        linear-gradient(90deg, rgba(56, 169, 239, 0.09), rgba(56, 169, 239, 0.09)) 0 calc(50% + 36px) / 100% 2px no-repeat,
        linear-gradient(135deg, rgba(255,255,255,0.86), rgba(223,248,255,0.78)),
        url("assets/images/cloud-pattern.svg");
    box-shadow: var(--shadow);
}

.hero > .wp-block-group__inner-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(360px, 1fr) minmax(240px, 320px);
    gap: clamp(26px, 4vw, 42px);
    align-items: center;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hero::before {
    inset: auto -80px -120px auto;
    width: 300px;
    height: 300px;
    background: rgba(255, 145, 200, 0.28);
}

.hero::after {
    top: -92px;
    left: -76px;
    width: 250px;
    height: 250px;
    background: rgba(128, 223, 255, 0.34);
}

.front-editable {
    display: flow-root;
}

.editable-content {
    color: var(--muted);
}

.editable-content > *:first-child {
    margin-top: 0;
}

.editable-content > *:last-child {
    margin-bottom: 0;
}

.editable-content a {
    color: var(--blue);
    font-weight: 900;
}

.hero__content,
.hero__art {
    position: relative;
    z-index: 1;
}

.hero__content > *:first-child,
.hero__art > *:first-child {
    margin-top: 0;
}

.hero__content > *:last-child,
.hero__art > *:last-child {
    margin-bottom: 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.18;
    word-break: keep-all;
    overflow-wrap: normal;
    text-wrap: balance;
}

.hero h1 {
    margin: 8px 0 16px;
    font-size: clamp(3.8rem, 6.2vw, 4.9rem);
    line-height: 1;
    white-space: nowrap;
    text-wrap: nowrap;
    color: var(--blue);
    text-shadow: 4px 4px 0 var(--white), 8px 8px 0 rgba(255, 145, 200, 0.28);
}

.hero__lead {
    max-width: 540px;
    margin-bottom: 24px;
    color: var(--muted);
    font-weight: 700;
}

.hero__sound-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -6px 0 22px;
    padding: 0;
    list-style: none;
}

.hero__sound-labels span,
.hero__sound-labels li {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(56, 169, 239, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.hero__art img {
    width: min(320px, 100%);
    margin-inline: auto;
    border: 10px solid rgba(255, 255, 255, 0.7);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.36);
    filter: drop-shadow(0 22px 34px rgba(56, 169, 239, 0.24));
    animation: floaty 4s ease-in-out infinite;
}

.hero__wave {
    position: absolute;
    right: 7%;
    bottom: -24px;
    left: 7%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
}

.hero__wave span {
    width: 9px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--pink), var(--sky));
    animation: soundbar 1.08s ease-in-out infinite;
}

.hero__wave span:nth-child(2) { animation-delay: 0.08s; }
.hero__wave span:nth-child(3) { animation-delay: 0.16s; }
.hero__wave span:nth-child(4) { animation-delay: 0.24s; }
.hero__wave span:nth-child(5) { animation-delay: 0.32s; }

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button-row .wp-block-button {
    margin: 0;
}

.button,
.wp-block-button__link,
.ticket-link,
.angel-fallback-form input[type="submit"],
.submit-wrap input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--white);
    color: var(--blue);
    font-weight: 900;
    white-space: nowrap;
    word-break: keep-all;
    box-shadow: 0 12px 30px rgba(56, 169, 239, 0.18);
    transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms ease, filter 240ms ease;
}

.button:hover,
.wp-block-button__link:hover,
.ticket-link:hover,
.angel-fallback-form input[type="submit"]:hover,
.submit-wrap input[type="submit"]:hover {
    transform: translateY(-4px) rotate(-1deg);
    box-shadow: 0 18px 38px rgba(56, 169, 239, 0.28);
    filter: saturate(1.08);
}

.button.button--primary,
.wp-block-button.button--primary .wp-block-button__link,
.angel-fallback-form input[type="submit"],
.submit-wrap input[type="submit"] {
    background: linear-gradient(135deg, var(--sky), var(--blue));
    color: var(--white);
}

.section,
.page-hero,
.content-area {
    width: var(--container);
    margin: 0 auto;
}

.page-hero {
    padding: clamp(18px, 3vw, 34px) 0 clamp(10px, 2vw, 18px);
}

.page-hero > .eyebrow {
    display: none;
}

.section {
    padding: clamp(42px, 7vw, 72px) 0;
}

.front-editable .section {
    width: min(880px, calc(100vw - 40px));
}

.front-editable .section__header h2 {
    font-size: clamp(1.7rem, 3vw, 2.1rem);
    line-height: 1.3;
}

.front-editable .section__header p {
    font-weight: 500;
}

.section__header {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
}

.section__header h2 {
    margin: 0;
    font-size: clamp(2.3rem, 8vw, 5.4rem);
    color: var(--blue);
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    line-height: 1.08;
    color: var(--blue);
}

.section__header p {
    max-width: 680px;
    color: var(--muted);
    font-weight: 700;
}

.card-grid,
.news-grid,
.live-grid,
.disc-grid,
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-grid,
.live-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.news-grid,
.live-grid {
    grid-template-columns: 1fr;
}

.portfolio-category-section {
    margin-bottom: 42px;
}

.portfolio-category-section h2 {
    margin: 0 0 18px;
    color: var(--blue);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.portfolio-category-section .portfolio-card.is-extra {
    display: none;
}

.portfolio-category-section.is-expanded .portfolio-card.is-extra {
    display: block;
}

.portfolio-more {
    display: block;
    min-width: 92px;
    margin: 16px 0 0 auto;
    padding: 10px 16px;
    border: 1px solid rgba(56, 169, 239, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--blue);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(56, 169, 239, 0.1);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.portfolio-more:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 169, 239, 0.55);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 30px rgba(56, 169, 239, 0.16);
}

.portfolio-category-section.is-expanded .portfolio-more {
    color: var(--ink);
}

.angel-card,
.post-card,
.live-card,
.disc-card,
.portfolio-card,
.profile-panel,
.request-panel,
.contact-card,
.twitter-box {
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.86);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
}

.angel-card,
.post-card,
.live-card,
.disc-card,
.portfolio-card {
    padding: 22px;
    min-height: 240px;
    transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease, border-color 260ms ease;
}

.post-card:hover,
.live-card:hover,
.disc-card:hover,
.portfolio-card:hover {
    transform: translateY(-8px) rotate(-0.7deg);
    border-color: rgba(128, 223, 255, 0.9);
    box-shadow: var(--shadow-pop);
}

.angel-card::after,
.post-card::after,
.live-card::after,
.disc-card::after,
.portfolio-card::after {
    content: "♪";
    position: absolute;
    right: 18px;
    bottom: 10px;
    color: rgba(255, 145, 200, 0.5);
    font-size: 2.2rem;
}

.card-date,
.meta-chip {
    display: inline-flex;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--sky-soft);
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 900;
}

.term-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.post-card h3,
.live-card h3,
.disc-card h3,
.portfolio-card h3 {
    margin: 28px 0 10px;
    font-size: 1.38rem;
}

.post-card p,
.live-card p,
.disc-card p,
.portfolio-card p,
.profile-panel p,
.request-panel p,
.contact-card p {
    color: var(--muted);
}

.card-content {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    color: var(--muted);
}

.card-content > * {
    margin-top: 0;
    margin-bottom: 0;
}

.card-content ul,
.card-content ol {
    padding-left: 1.2em;
}

.home-latest-card {
    min-height: 190px;
}

.home-latest-card h3 {
    margin-bottom: 0;
}

.home-latest-list {
    display: grid;
    gap: 10px;
    margin: 24px 0 34px;
    padding: 0;
    list-style: none;
}

.home-latest-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
}

.home-latest-list__date {
    color: rgba(49, 66, 96, 0.52);
    font-size: 0.84rem;
    font-weight: 900;
}

.home-latest-list__title {
    min-width: 0;
    overflow: hidden;
    color: var(--ink);
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-latest-show {
    position: absolute;
    right: 16px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(56, 169, 239, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(56, 169, 239, 0.14);
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.home-latest-show:hover {
    background: var(--sky-soft);
    box-shadow: 0 14px 30px rgba(56, 169, 239, 0.24);
    transform: translateY(-2px);
}

.news-grid .post-card,
.live-grid .live-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
    gap: 24px;
    min-height: auto;
}

.news-grid .post-card:not(.has-post-thumbnail) {
    grid-template-columns: 1fr;
}

.news-card__body,
.live-card__body {
    min-width: 0;
}

.news-grid .post-card h3 {
    margin-top: 18px;
}

.news-card__image {
    margin: 0;
    align-self: stretch;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 16px 34px rgba(56, 169, 239, 0.16);
}

.live-details {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
}

.live-details div {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
}

.live-details dt {
    color: rgba(49, 66, 96, 0.58);
    font-weight: 900;
}

.live-details dd {
    margin: 0;
    min-width: 0;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.live-card__image {
    margin: 0;
    align-self: stretch;
}

.live-card__image img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 16px 34px rgba(56, 169, 239, 0.16);
}

.portfolio-grid .portfolio-card {
    min-height: 240px;
    height: 278px;
    padding: 18px;
}

.portfolio-grid .portfolio-card h3 {
    margin: 0 0 14px;
    overflow: hidden;
    font-size: 1.06rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portfolio-grid .responsive-embed,
.portfolio-grid .portfolio-video-content {
    border-radius: 16px;
}

.portfolio-grid .responsive-embed {
    height: 198px;
    aspect-ratio: auto;
}

.portfolio-grid .portfolio-video-content {
    overflow: hidden;
    height: 198px;
}

.portfolio-grid .portfolio-video-content figure,
.portfolio-grid .portfolio-video-content .wp-block-embed__wrapper {
    width: 100%;
    height: 100%;
    margin: 0;
}

.portfolio-grid .portfolio-video-content iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.portfolio-grid .portfolio-video-content > *:not(.wp-block-embed):not(.wp-block-video):not(figure):not(iframe) {
    display: none;
}

.portfolio-grid .portfolio-card::after {
    display: none;
}

.sns-area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
    gap: 20px;
}

.twitter-box {
    padding: 20px;
    min-height: 320px;
}

.sns-links {
    display: grid;
    gap: 12px;
}

.sns-links a {
    padding: 18px;
    border-radius: 22px;
    background: var(--white);
    color: var(--blue);
    font-weight: 900;
    box-shadow: var(--shadow);
    transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease;
}

.sns-links a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-pop);
}

.profile-layout,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.profile-panel,
.request-panel,
.contact-card {
    padding: clamp(24px, 5vw, 46px);
}

.responsive-embed {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    background: var(--sky-soft);
}

.responsive-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.accordion {
    display: grid;
    gap: 12px;
}

.accordion__button {
    width: 100%;
    padding: 18px 20px;
    border: 0;
    border-radius: 20px;
    background: var(--white);
    color: var(--blue);
    font: inherit;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), background 220ms ease, color 220ms ease;
}

.accordion__button:hover {
    transform: translateY(-2px);
    background: var(--sky-soft);
}

.accordion__content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.66);
    transition: max-height 360ms cubic-bezier(.2,.8,.2,1), opacity 260ms ease, padding 260ms ease;
}

.accordion__item.is-open .accordion__content {
    opacity: 1;
    padding: 18px;
}

.request-details {
    overflow: hidden;
    margin: 12px 0;
    border: 1px solid rgba(56, 169, 239, 0.16);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(226, 248, 255, 0.72));
    box-shadow: 0 14px 34px rgba(56, 169, 239, 0.1);
}

.request-details summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 54px 16px 18px;
    color: var(--blue);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
    transition: background 220ms ease, color 220ms ease;
}

.request-details summary::-webkit-details-marker {
    display: none;
}

.request-details summary::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 6px rgba(56, 169, 239, 0.12);
}

.request-details summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    color: var(--blue);
    transform: translateY(-50%) rotate(0deg);
    transition: transform 260ms ease, background 220ms ease;
}

.request-details summary:hover {
    background: rgba(214, 244, 255, 0.72);
}

.request-details.is-open summary::after,
.request-details[open] summary::after {
    content: "-";
    transform: translateY(-50%) rotate(180deg);
}

.request-details__content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.request-details.is-open .request-details__content {
    opacity: 1;
}

.request-details__content > * {
    margin: 14px 18px 18px;
}

.price-table {
    width: 100%;
}

.price-table table,
table.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.price-table th,
.price-table td {
    padding: 12px 14px;
    border: 0;
    background: rgba(255, 255, 255, 0.72);
    text-align: left;
}

.price-table th:first-child,
.price-table td:first-child {
    border-radius: 12px 0 0 12px;
}

.price-table th:last-child,
.price-table td:last-child {
    border-radius: 0 12px 12px 0;
    color: var(--muted);
    font-weight: 800;
}

.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select,
.angel-fallback-form input,
.angel-fallback-form textarea,
.angel-fallback-form select {
    width: 100%;
    margin-top: 6px;
    padding: 14px 16px;
    border: 2px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

.angel-fallback-form,
.wpcf7-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.angel-fallback-form label,
.wpcf7-form label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-weight: 900;
}

.angel-fallback-form textarea,
.wpcf7-form textarea {
    resize: vertical;
}

.angel-fallback-form select,
.wpcf7-form select {
    appearance: none;
    background:
        linear-gradient(45deg, transparent 50%, var(--blue) 50%) right 18px center / 8px 8px no-repeat,
        var(--white);
}

body:has(.contact-card) .page-hero,
.page-template-page-contact .page-hero {
    padding-top: clamp(8px, 2vw, 18px);
}

body:has(.contact-card) .page-hero h1,
.page-template-page-contact .page-hero h1 {
    font-size: clamp(2rem, 4.2vw, 3rem);
}

body:has(.contact-card) .content-area,
.page-template-page-contact .content-area {
    max-width: 780px;
}

body:has(.contact-card) .contact-card,
.page-template-page-contact .contact-card {
    padding: clamp(18px, 3vw, 28px);
    border-color: rgba(196, 235, 255, 0.92);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 46px rgba(56, 169, 239, 0.13);
}

body:has(.contact-card) .contact-card .eyebrow,
.page-template-page-contact .contact-card .eyebrow {
    display: none;
}

body:has(.contact-card) .contact-card h2,
.page-template-page-contact .contact-card h2 {
    margin-bottom: 6px;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

body:has(.contact-card) .contact-card > p,
.page-template-page-contact .contact-card > p {
    display: none;
}

body:has(.contact-card) .wpcf7-form,
body:has(.contact-card) .angel-fallback-form,
.page-template-page-contact .wpcf7-form,
.page-template-page-contact .angel-fallback-form {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
}

body:has(.contact-card) .wpcf7-form p,
body:has(.contact-card) .angel-fallback-form label,
.page-template-page-contact .wpcf7-form p,
.page-template-page-contact .angel-fallback-form label {
    margin: 0;
}

body:has(.contact-card) .wpcf7-form p:has(textarea),
body:has(.contact-card) .wpcf7-form p:has(input[type="submit"]),
body:has(.contact-card) .angel-fallback-form label:has(textarea),
body:has(.contact-card) .angel-fallback-form button,
.page-template-page-contact .wpcf7-form p:has(textarea),
.page-template-page-contact .wpcf7-form p:has(input[type="submit"]),
.page-template-page-contact .angel-fallback-form label:has(textarea),
.page-template-page-contact .angel-fallback-form button {
    grid-column: 1 / -1;
}

body:has(.contact-card) .wpcf7-form label,
body:has(.contact-card) .angel-fallback-form label,
.page-template-page-contact .wpcf7-form label,
.page-template-page-contact .angel-fallback-form label {
    gap: 3px;
    font-size: 0.86rem;
}

body:has(.contact-card) .wpcf7-form input,
body:has(.contact-card) .wpcf7-form textarea,
body:has(.contact-card) .wpcf7-form select,
body:has(.contact-card) .angel-fallback-form input,
body:has(.contact-card) .angel-fallback-form textarea,
body:has(.contact-card) .angel-fallback-form select,
.page-template-page-contact .wpcf7-form input,
.page-template-page-contact .wpcf7-form textarea,
.page-template-page-contact .wpcf7-form select,
.page-template-page-contact .angel-fallback-form input,
.page-template-page-contact .angel-fallback-form textarea,
.page-template-page-contact .angel-fallback-form select {
    margin-top: 4px;
    padding: 7px 11px;
    border-color: rgba(143, 217, 255, 0.68);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

body:has(.contact-card) .wpcf7-form textarea,
body:has(.contact-card) .angel-fallback-form textarea,
.page-template-page-contact .wpcf7-form textarea,
.page-template-page-contact .angel-fallback-form textarea {
    min-height: 82px;
    height: 82px;
}

body:has(.contact-card) .wpcf7-form input[type="submit"],
body:has(.contact-card) .angel-fallback-form input[type="submit"],
body:has(.contact-card) .angel-fallback-form button,
.page-template-page-contact .wpcf7-form input[type="submit"],
.page-template-page-contact .angel-fallback-form input[type="submit"],
.page-template-page-contact .angel-fallback-form button {
    width: auto;
    min-width: 148px;
    min-height: 42px;
    margin-top: 8px;
    padding: 10px 24px;
    border: 1px solid rgba(56, 169, 239, 0.36);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--sky), var(--blue));
    color: var(--white);
    box-shadow: 0 12px 26px rgba(56, 169, 239, 0.24);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, border-color 180ms ease;
}

body:has(.contact-card) .wpcf7-form input[type="submit"]:hover,
body:has(.contact-card) .angel-fallback-form input[type="submit"]:hover,
body:has(.contact-card) .angel-fallback-form button:hover,
.page-template-page-contact .wpcf7-form input[type="submit"]:hover,
.page-template-page-contact .angel-fallback-form input[type="submit"]:hover,
.page-template-page-contact .angel-fallback-form button:hover,
body:has(.contact-card) .wpcf7-form input[type="submit"]:focus-visible,
body:has(.contact-card) .angel-fallback-form input[type="submit"]:focus-visible,
body:has(.contact-card) .angel-fallback-form button:focus-visible,
.page-template-page-contact .wpcf7-form input[type="submit"]:focus-visible,
.page-template-page-contact .angel-fallback-form input[type="submit"]:focus-visible,
.page-template-page-contact .angel-fallback-form button:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(56, 169, 239, 0.72);
    box-shadow: 0 18px 36px rgba(56, 169, 239, 0.32), 0 0 0 5px rgba(109, 209, 255, 0.18);
    filter: saturate(1.12) brightness(1.03);
    outline: 0;
}

.form-note {
    margin-top: 18px;
    font-size: 0.9rem;
}

.site-footer {
    position: fixed;
    z-index: 45;
    right: 0;
    bottom: 0;
    left: 0;
    margin-top: 0;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
}

.site-footer__inner {
    width: var(--container);
    margin: 0 auto;
    min-height: 58px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-weight: 800;
}

@media (min-width: 841px) and (max-height: 780px) {
    .reveal {
        opacity: 1;
        transform: none;
    }

    .site-header__inner {
        min-height: 56px;
    }

    .brand__halo {
        width: 34px;
        height: 34px;
    }

    .site-nav a {
        padding: 6px 9px;
        font-size: 0.78rem;
    }

    .hero {
        width: min(780px, calc(100vw - 40px));
        margin-top: 16px;
        padding: 22px 30px;
        border-radius: 28px;
    }

    .hero > .wp-block-group__inner-container {
        grid-template-columns: minmax(300px, 1fr) minmax(210px, 240px);
        gap: 28px;
    }

    .hero__content::before {
        top: -16px;
        padding: 4px 10px;
        font-size: 0.68rem;
    }

    .hero .eyebrow {
        margin-bottom: 6px;
        font-size: 0.68rem;
    }

    .hero h1 {
        margin: 4px 0 10px;
        font-size: 3.35rem;
        text-shadow: 3px 3px 0 var(--white), 6px 6px 0 rgba(255, 145, 200, 0.24);
    }

    .hero__lead {
        margin-bottom: 14px;
        font-size: 0.86rem;
        line-height: 1.65;
    }

    .hero__sound-labels {
        margin: 0 0 14px;
    }

    .hero__sound-labels li {
        min-height: 24px;
        padding: 0 9px;
        font-size: 0.66rem;
    }

    .button,
    .wp-block-button__link,
    .ticket-link,
    .angel-fallback-form input[type="submit"],
    .submit-wrap input[type="submit"] {
        min-height: 38px;
        padding: 7px 18px;
        font-size: 0.86rem;
    }

    .hero__art img {
        width: min(230px, 100%);
        border-width: 7px;
        border-radius: 24px;
    }

    .section {
        padding: 10px 0;
    }

    .front-editable .section {
        width: min(780px, calc(100vw - 40px));
    }

    .section__header {
        gap: 8px;
        margin-bottom: 10px;
    }

    .front-editable .section__header h2 {
        font-size: 1.32rem;
    }

    .section__header p {
        margin: 0;
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .card-grid {
        gap: 14px;
    }

    .post-card {
        min-height: 108px;
        padding: 12px 14px;
    }

    .post-card h3 {
        margin: 10px 0 4px;
        font-size: 0.92rem;
    }

    .post-card p {
        margin: 0;
        font-size: 0.74rem;
        line-height: 1.45;
    }

    .card-date {
        padding: 4px 8px;
        font-size: 0.68rem;
    }

    .post-card::after {
        display: none;
    }

    .site-footer {
        margin-top: 0;
    }

    .site-footer__inner {
        padding: 7px 0;
        font-size: 0.78rem;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    transition: opacity 680ms ease, transform 680ms cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes purupuru {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) scale(1.04); }
    75% { transform: rotate(-5deg) scale(1.04); }
}

@keyframes soundbar {
    0%, 100% { height: 16px; transform: translateY(0); }
    50% { height: 46px; transform: translateY(-2px); }
}

@media (max-width: 840px) {
    body:has(.contact-card) .wpcf7-form,
    body:has(.contact-card) .angel-fallback-form,
    .page-template-page-contact .wpcf7-form,
    .page-template-page-contact .angel-fallback-form {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: 72px 14px auto;
        padding: 14px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow);
        opacity: 0;
        transform: translateY(-12px);
        pointer-events: none;
        transition: 180ms ease;
    }

    .site-nav.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .site-nav__list {
        display: grid;
    }

    .hero,
    .profile-layout,
    .contact-layout,
    .sns-area {
        grid-template-columns: 1fr;
    }

    .hero > .wp-block-group__inner-container {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 4.3rem;
    }

    .hero__content::before {
        top: -38px;
    }

    .card-grid,
    .news-grid,
    .live-grid,
    .disc-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .news-grid .post-card,
    .live-grid .live-card {
        grid-template-columns: 1fr;
    }

    .news-card__image img,
    .live-card__image img {
        height: auto;
        min-height: 0;
        max-height: 320px;
    }

    .site-footer__inner {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .hero {
        padding-inline: 16px;
        margin-top: 22px;
    }

    .hero h1 {
        font-size: 3.6rem;
        text-shadow: 3px 3px 0 var(--white), 6px 6px 0 rgba(255, 145, 200, 0.24);
    }

    .hero__art img {
        width: min(260px, 100%);
    }
}

@media (min-width: 841px) and (max-height: 780px) {
    .reveal,
    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}
