/* ----------------------------------------------------------------------------
   HEADER（スマホ）：design.css の !important な固定padding（20px 32px）を
   ここで上書きし、アイコン類を画面端・上部に寄せる
   ---------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .azua-header__inner {
        align-items: flex-start !important;
        padding: 8px 8px 0 !important;
    }

    .azua-header__actions {
        margin-top: 2px;
    }

    /* サイトアイコン（ヘッダーロゴ）を0.9倍に（実効サイズ72px→65px） */
    .azua-header__logo-img {
        height: 65px !important;
    }
}

/* ============================================================================
   AZUA CITY — REBUILD LAYER
   front-page.php を新しい azc- クラス構成で組み直したことに対応する。
   design.css のトークン・ヘッダー・ボタン基礎・フッターはそのまま活かし、
   ここでは「新しいブロック構成」だけを担当する。
   ============================================================================ */

/* ----------------------------------------------------------------------------
   共通：見出しユニット（eyebrow + heading）
   ---------------------------------------------------------------------------- */
.azc-eyebrow {
    display: inline-block;
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    color: var(--c-brand);
    margin: 0 0 12px;
}

.azc-eyebrow--light {
    color: var(--c-water);
}

.azc-heading {
    font-family: var(--f-head);
    font-weight: 800;
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    line-height: 1.3;
    color: var(--c-ink);
    margin: 0;
    letter-spacing: 0.01em;
}

.azc-heading--light {
    color: #ffffff;
}

.azc-section-head {
    max-width: 760px;
    margin: 0 auto 44px;
    padding: 0 24px;
    text-align: center;
}

.azc-section-head--light {
    max-width: 1100px;
}

.azua-section--features .azc-section-head,
.azua-section--contents .azc-section-head,
.azua-section--guide .azc-section-head {
    text-align: left;
    margin-left: 0;
}

@media (min-width: 700px) {
    .azua-section--features .azc-section-head,
    .azua-section--contents .azc-section-head,
    .azua-section--guide .azc-section-head,
    .azua-features__grid,
    .azc-features__list,
    .azc-contents__grid,
    .azc-guide__list {
        max-width: 1180px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 32px;
        padding-right: 32px;
    }
}

.azc-textlink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--c-brand);
    text-decoration: none;
    margin-top: 24px;
}

.azc-textlink span {
    transition: transform 0.25s var(--ease);
}

.azc-textlink:hover span {
    transform: translateX(4px);
}

/* ----------------------------------------------------------------------------
   HERO：非対称2カラム（コピー＋ステータスカード）
   ---------------------------------------------------------------------------- */

/* design.css 側の旧グリッド指定は解除し、内側の .azc-hero__grid に委譲する。
   .azua-hero 自体は元の flex + align-items:center を維持して、
   中身（.azc-hero__grid）を縦方向に中央揃えする。 */
.azua-hero {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.azua-hero__content {
    margin: 0 !important;
    max-width: none !important;
}

.azc-hero__grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 1024px) {
    .azc-hero__grid {
        padding: 0 5vw;
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        align-items: center;
        gap: 32px;
    }
}

.azc-hero__copy {
    text-align: left;
}

.azc-hero__eyebrow {
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 18px;
}

.azc-hero__logo {
    max-width: 260px;
    margin-bottom: 20px;
}

.azc-hero__tagline {
    font-size: clamp(1.6rem, 3.6vw, 2.6rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
}

.azc-hero__subtitle {
    font-size: 1rem !important;
    margin-bottom: 8px !important;
}

.azc-hero__panel {
    justify-self: stretch;
}

@media (min-width: 1024px) {
    .azc-hero__panel {
        justify-self: end;
        max-width: 360px;
        width: 100%;
    }
}

.azc-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
}

@media (min-width: 1024px) {
    .azc-hero__scroll {
        left: 5vw;
        transform: none;
    }
}

/* ----------------------------------------------------------------------------
   QUICK STATS（新規ブロック）
   ---------------------------------------------------------------------------- */
.azc-stats {
    position: relative;
    z-index: 3;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
}

.azc-stats__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 0;
}

.azc-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 32px;
    text-align: center;
}

.azc-stats__value {
    font-family: var(--f-head);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--c-brand);
    line-height: 1.1;
}

.azc-stats__label {
    font-family: var(--f-body);
    font-size: 0.76rem;
    color: var(--c-ink-faint);
    letter-spacing: 0.04em;
    margin-top: 4px;
}

.azc-stats__divider {
    width: 1px;
    height: 32px;
    background: var(--c-line-strong);
}

@media (max-width: 640px) {
    .azc-stats__divider:nth-of-type(2n) {
        display: none;
    }
}

/* ----------------------------------------------------------------------------
   ABOUT：メディアとテキストが重なる非対称レイアウト
   ---------------------------------------------------------------------------- */
.azc-about {
    position: relative;
    padding: 96px 24px;
    overflow: hidden;
    isolation: isolate;
}

/* 背景の巨大ウォーターマーク文字（カードに溶け込む装飾） */
.azc-about__watermark {
    position: absolute;
    top: -0.1em;
    left: -0.02em;
    right: -0.05em;
    margin: 0;
    font-family: var(--f-head);
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 7.4rem);
    letter-spacing: 0.005em;
    line-height: 0.96;
    white-space: nowrap;
    background: linear-gradient(120deg, var(--c-brand) 0%, var(--c-water) 55%, var(--c-brand) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0) 82%);
    mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0) 82%);
    opacity: 0.12;
    pointer-events: none;
    user-select: none;
    z-index: -1;
}

.azc-about__watermark-word {
    display: inline;
}

/* 背景のにじむグロー（ブランドカラー / ウォーターカラー） */
.azc-about__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.azc-about__glow--brand {
    top: -120px;
    left: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 57, 208, 0.16), transparent 70%);
}

.azc-about__glow--water {
    bottom: -140px;
    right: -100px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(34, 179, 230, 0.14), transparent 70%);
}

.azc-about__inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
}

.azc-about__media {
    display: flex;
    justify-content: center;
}

.azc-about__img {
    max-width: 340px;
    width: 100%;
    height: auto;
}

.azc-about__body {
    text-align: center;
}

.azc-about__heading {
    position: relative;
    font-family: var(--f-head);
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.4;
    color: var(--c-ink);
    margin: 0 0 20px;
}

.azc-about__text p {
    color: var(--c-ink-soft);
    font-family: var(--f-body);
    font-size: 0.96rem;
    line-height: 1.95;
    margin: 0 0 1.1em;
}

.azc-about__link {
    position: relative;
}

.azc-about__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0.3);
    transform-origin: left;
    opacity: 0.35;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.azc-about__link:hover::after {
    transform: scaleX(1);
    opacity: 0.7;
}

@media (min-width: 960px) {
    .azc-about__inner {
        display: grid;
        grid-template-columns: 0.85fr 1.15fr;
        align-items: center;
        gap: 0;
    }

    .azc-about__body {
        text-align: left;
        position: relative;
        z-index: 2;
        margin-left: -70px;
        background: var(--c-surface);
        border: 1px solid var(--c-line);
        border-radius: var(--r-lg);
        box-shadow: var(--shadow-card);
        padding: 48px 46px;
    }

    .azc-about__body::before {
        content: '';
        position: absolute;
        left: 0;
        top: 34px;
        bottom: 34px;
        width: 4px;
        border-radius: 4px;
        background: var(--c-brand);
    }
}

/* ----------------------------------------------------------------------------
   FEATURES：横並びの「理由リスト」（カードグリッドから脱する）
   ---------------------------------------------------------------------------- */
.azua-section--features {
    padding: 80px 0;
}

.azc-features__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.azc-feature-row {
    display: grid !important;
    grid-template-columns: 48px 64px 1fr;
    align-items: center;
    gap: 24px;
    padding: 28px 0 !important;
    text-align: left !important;
    background: transparent !important;
    border: none !important;
    border-top: 1px solid var(--c-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: background-color 0.25s ease, padding-left 0.25s ease;
}

.azc-features__list .azc-feature-row:last-child {
    border-bottom: 1px solid var(--c-line) !important;
}

.azc-feature-row:hover {
    background: var(--c-page) !important;
    padding-left: 12px !important;
    transform: none !important;
    box-shadow: none !important;
}

.azc-feature-row__index {
    font-family: var(--f-head);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--c-line-strong);
}

.azc-feature-row__icon.azua-features__icon {
    width: 56px !important;
    height: 56px !important;
    margin: 0 !important;
}

.azc-feature-row__title.azua-features__title {
    margin-bottom: 4px !important;
}

.azc-feature-row__desc.azua-features__desc {
    max-width: 60ch;
}

/* design.css の「1枚目だけ塗る」旧ベント演出を、フラットな行リストでは解除する */
.azc-features__list .azua-features__card:nth-child(1) {
    background: transparent !important;
    border-color: var(--c-line) !important;
}

.azc-features__list .azua-features__card:nth-child(1) .azua-features__title,
.azc-features__list .azua-features__card:nth-child(1) .azua-features__desc {
    color: var(--c-ink) !important;
}

.azc-features__list .azua-features__card:nth-child(1) .azua-features__desc {
    color: var(--c-ink-soft) !important;
}

.azc-features__list .azua-features__card:nth-child(1) .azua-features__icon {
    background: var(--c-brand) !important;
    color: #ffffff !important;
}

@media (min-width: 700px) {
    .azc-feature-row {
        grid-template-columns: 56px 72px 1fr;
    }
}

/* ----------------------------------------------------------------------------
   GALLERY（街のワンシーン）：暗い帯に写真をグリッドで並べる
   ---------------------------------------------------------------------------- */
.azua-section--showcase {
    background: var(--c-dark-900) !important;
    padding: 80px 24px;
}

.azc-scene__grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .azc-scene__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 980px) {
    .azc-scene__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.azc-scene__card {
    display: block;
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--c-dark-800);
    box-shadow: var(--shadow-dark);
    text-decoration: none;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.azc-scene__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

.azc-scene__image {
    position: absolute;
    inset: 0;
}

.azc-scene__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.azc-scene__card:hover .azc-scene__image img {
    transform: scale(1.06);
}

.azc-scene__caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 40px 22px 20px;
    background: linear-gradient(0deg, rgba(2, 6, 20, 0.88) 0%, rgba(2, 6, 20, 0.35) 60%, transparent 100%);
}

.azc-scene__title {
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 1.02rem;
    color: #ffffff;
    margin: 0 0 4px;
}

.azc-scene__desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--c-dark-text-soft);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.azc-scene__empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--c-dark-text-soft);
    padding: 40px 24px;
}

/* ----------------------------------------------------------------------------
   CONTENTS：番号を主役にしたカード（既存のカード基礎を流用）
   ---------------------------------------------------------------------------- */
.azua-section--contents {
    padding: 80px 0;
}

.azc-contents__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 700px) {
    .azc-contents__grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* design.css の旧ベント配置（span指定・flex化）を明示的に解除する */
    .azc-contents__grid .azua-contents__card:nth-child(n) {
        grid-column: auto !important;
        grid-row: auto !important;
        display: block !important;
    }
}

.azc-content-card.azua-contents__card {
    padding: 30px 26px !important;
}

.azc-content-card__num.azua-contents__card-number {
    font-family: var(--f-head) !important;
    font-weight: 800 !important;
    font-size: 1.7rem !important;
    color: var(--c-brand-300) !important;
    background: none !important;
    -webkit-text-fill-color: var(--c-brand-300) !important;
    margin-bottom: 12px;
}

.azc-content-card__title {
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--c-ink);
    margin: 0 0 8px;
}

.azc-content-card__desc {
    font-family: var(--f-body);
    font-size: 0.88rem;
    line-height: 1.85;
    color: var(--c-ink-soft);
    margin: 0;
}

/* ----------------------------------------------------------------------------
   NEWS / TOPIC：ガラス質の1枚カードに、見出し・区切り線・グロー装飾を追加
   ---------------------------------------------------------------------------- */
.azc-feed {
    padding: 0 24px 96px;
}

.azc-feed__inner {
    max-width: 1180px;
    margin: 0 auto;
}

/* カード本体：ダーク背景 + にじむグロー + 上辺グラデーションライン */
.azc-feed__grid.azua-news-topic {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse 60% 70% at 100% 0%, rgba(34, 179, 230, 0.10), transparent 60%),
        radial-gradient(ellipse 55% 65% at 0% 100%, rgba(0, 57, 208, 0.16), transparent 60%),
        var(--c-dark-800) !important;
    border-radius: var(--r-lg) !important;
    padding: 52px 54px !important;
    box-shadow: var(--shadow-dark) !important;
}

.azc-feed__grid.azua-news-topic::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--c-water) 35%, var(--c-brand-400) 65%, transparent 100%);
    z-index: 1;
}

.azc-feed__glow {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: -1;
}

.azc-feed__glow--brand {
    left: -60px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(0, 57, 208, 0.35), transparent 70%);
}

.azc-feed__glow--water {
    right: -70px;
    top: -90px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(34, 179, 230, 0.28), transparent 70%);
}

/* 2カラム間の縦仕切り線は廃止（列間の余白のみで区切る） */
.azc-feed__divider {
    display: none;
}

@media (min-width: 769px) {
    .azc-feed__grid.azua-news-topic {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 64px;
    }
}

/* 各カラムの見出し：英字ラベル + underline アクセント */
.azc-feed__heading {
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 24px !important;
}

.azc-feed__heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--c-water), var(--c-brand-400));
}

/* NEWS リスト：日付チップ + ホバーで滑るインジケーター */
.azc-feed__item.azua-news__item {
    position: relative;
    gap: 18px;
    border-bottom: 1px solid var(--c-dark-line) !important;
    border-radius: 0 !important;
}

.azc-feed__item.azua-news__item:first-child {
    border-top: 1px solid var(--c-dark-line) !important;
}

.azc-feed__item.azua-news__item:hover {
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.azc-feed__item .azua-news__date {
    min-width: 84px !important;
    font-variant-numeric: tabular-nums;
}

/* TOPIC リスト：サムネイルを大きく見せる横並びカード */
.azc-feed__topics.azua-topic__list {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 14px !important;
}

.azc-feed__topic.azua-topic__item {
    display: flex !important;
    flex-direction: row;
    align-items: stretch;
    min-height: 108px;
    border-radius: var(--r-md) !important;
}

.azc-feed__topic .azua-topic__thumb {
    flex: 0 0 42%;
    width: 42%;
    aspect-ratio: auto;
}

.azc-feed__topic .azua-topic__thumb--empty {
    background: linear-gradient(155deg, rgba(0, 57, 208, 0.28), rgba(5, 11, 31, 0.6)) !important;
}

.azc-feed__topic .azua-topic__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 18px !important;
}

.azc-feed__topic .azua-topic__title {
    white-space: normal !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
}

@media (min-width: 480px) {
    .azc-feed__topic .azua-topic__thumb {
        flex-basis: 168px;
        width: 168px;
    }
}

@media (max-width: 768px) {
    .azc-feed__grid.azua-news-topic {
        padding: 40px 26px !important;
        gap: 44px;
    }

    .azc-feed__item .azua-news__date {
        width: auto !important;
    }
}

/* ----------------------------------------------------------------------------
   GUIDE：Features/Contents と同じカードシステムに揃えた、番号付きステップ
   ---------------------------------------------------------------------------- */
.azua-section--guide {
    padding: 80px 0;
}

.azc-guide__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .azc-guide__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 980px) {
    .azc-guide__list {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

.azc-guide-step.azua-guide__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left !important;
    padding: 32px 28px !important;
    position: relative;
}

.azc-guide-step__num.azua-guide__card-num {
    position: static !important;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--c-brand) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    margin-bottom: 18px;
    box-shadow: 0 8px 18px rgba(0, 57, 208, 0.25);
}

.azc-guide-step__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.azc-guide-step__body .azua-guide__card-thumb {
    width: 60px;
    height: 60px;
    margin: 0 0 4px !important;
    border-radius: 12px !important;
}

.azc-guide-step__text {
    width: 100%;
}

.azc-guide-step__text .azua-guide__card-title {
    text-align: left !important;
}

.azc-guide-step__text .azua-guide__card-desc {
    text-align: left !important;
    margin-bottom: 0;
}

.azc-guide-step__text .azua-guide__card-action {
    margin-top: 10px;
}

/* デスクトップで1行に並んだ時だけ、カードの間に矢印で流れを見せる */
@media (min-width: 980px) {
    .azc-guide-step.azua-guide__card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -25px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-left: 8px solid var(--c-brand-300);
        z-index: 2;
    }
}

/* ----------------------------------------------------------------------------
   CTA
   ---------------------------------------------------------------------------- */
.azc-cta__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.azc-btn--onlight {
    background: #ffffff !important;
    color: var(--c-brand) !important;
}

.azc-btn--onlight:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--c-brand-600) !important;
}

.azc-btn--onlight svg {
    color: var(--c-brand) !important;
}

/* ----------------------------------------------------------------------------
   ボタン細部の統一
   ---------------------------------------------------------------------------- */
.azc-btn--block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.azc-btn--ghost-dark {
    background: transparent !important;
    color: var(--c-dark-text) !important;
    border: 1.5px solid var(--c-dark-line) !important;
}

.azc-btn--ghost-dark:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* ----------------------------------------------------------------------------
   セクション間の余白リズムを統一
   ---------------------------------------------------------------------------- */
.azua-section--news,
.azua-section--cta {
    padding: 80px 0;
}

@media (max-width: 700px) {
    .azc-about,
    .azua-section--features,
    .azua-section--contents,
    .azua-section--guide,
    .azua-section--news,
    .azua-section--cta,
    .azua-section--showcase {
        padding: 56px 20px;
    }
}

/* ----------------------------------------------------------------------------
   ヘッダーロゴ：Hero表示中は非表示にし、スクロールしたら現れる
   ---------------------------------------------------------------------------- */
.azua-header__logo {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.azua-header.azua-hero-visible .azua-header__logo {
    opacity: 0;
    pointer-events: none;
}

/* ----------------------------------------------------------------------------
   ABOUT：画像なし版（テキストのみ、中央に1枚のカード）
   ---------------------------------------------------------------------------- */
.azc-about--no-media .azc-about__inner {
    display: block;
    max-width: 1040px;
}

.azc-about--no-media .azc-about__body {
    text-align: left;
    background:
        radial-gradient(ellipse 120% 90% at 0% 0%, rgba(0, 57, 208, 0.05), transparent 55%),
        var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-card);
    padding: 56px 64px;
    position: relative;
    z-index: 0;
    margin: 0;
    overflow: hidden;
}

.azc-about--no-media .azc-about__text {
    max-width: 640px;
}

/* 上辺のグラデーションライン */
.azc-about--no-media .azc-about__body::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--c-brand) 0%, var(--c-water) 65%, transparent 100%);
}

/* 右下のブループリント風コーナーブラケット */
.azc-about--no-media .azc-about__body::after {
    content: '';
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 34px;
    height: 34px;
    border-right: 2px solid rgba(0, 57, 208, 0.28);
    border-bottom: 2px solid rgba(0, 57, 208, 0.28);
    border-radius: 0 0 6px 0;
    pointer-events: none;
}

@media (max-width: 700px) {
    .azc-about--no-media .azc-about__body {
        padding: 40px 28px;
    }

    .azc-about__watermark {
        top: -0.06em;
        left: -0.01em;
        white-space: normal;
        font-size: clamp(3.2rem, 20vw, 4.6rem);
        line-height: 0.94;
        letter-spacing: 0.01em;
        opacity: 0.13;
        -webkit-mask-image: linear-gradient(175deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0) 92%);
        mask-image: linear-gradient(175deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0) 92%);
    }

    .azc-about__watermark-word {
        display: block;
    }

    .azc-about__glow {
        width: 200px !important;
        height: 200px !important;
    }
}

/* ----------------------------------------------------------------------------
   HERO 更新：テキスト/ロゴ削除、ボタンはステータスカードの下・右寄せへ
   ---------------------------------------------------------------------------- */
.azc-hero__copy {
    display: none;
}

@media (min-width: 1024px) {
    .azc-hero__grid {
        grid-template-columns: 1fr auto;
    }
}

.azc-hero__panel .azc-hero__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

@media (max-width: 1023px) {
    .azc-hero__panel .azc-hero__cta {
        justify-content: center;
    }
}

/* ----------------------------------------------------------------------------
   SERVER INFO（Hero下のサーバー情報帯。以前のQUICK STATSを差し替え）
   ---------------------------------------------------------------------------- */
.azc-serverinfo {
    position: relative;
    z-index: 3;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
}

.azc-serverinfo__inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 30px 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 700px) {
    .azc-serverinfo__inner {
        grid-template-columns: repeat(4, 1fr);
    }
}

.azc-serverinfo__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.azc-serverinfo__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-page);
    color: var(--c-brand);
    margin-bottom: 6px;
}

.azc-serverinfo__value {
    font-family: var(--f-head);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--c-ink);
    line-height: 1.2;
}

.azc-serverinfo__label {
    font-family: var(--f-body);
    font-size: 0.74rem;
    color: var(--c-ink-faint);
    letter-spacing: 0.03em;
}

/* ----------------------------------------------------------------------------
   SERVER INFO：既存の「モバイル用ステータスウィジェット」を
   全画面幅で使う横長バーとして再利用する（現在のサーバー状況を表示）
   ---------------------------------------------------------------------------- */
.azua-mobile-server-status {
    display: block !important;
    background: var(--c-dark-900);
    padding: 0;
}

.azua-mobile-server-status .azua-server-status {
    max-width: 1040px !important;
    margin: 0 auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 22px 24px !important;
}

@media (min-width: 700px) {
    .azua-mobile-server-status .azua-server-status {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 36px;
        padding: 18px 32px !important;
    }

    .azua-mobile-server-status .azua-server-status__header {
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
        padding-right: 36px;
        border-right: 1px solid var(--c-dark-line);
    }

    .azua-mobile-server-status .azua-server-status__players {
        margin: 0;
        display: flex;
        align-items: baseline;
        gap: 10px;
    }

    .azua-mobile-server-status .azua-server-status__bar {
        width: 120px;
        margin: 0;
    }

    .azua-mobile-server-status .azua-server-status__schedule {
        margin: 0;
        padding-left: 36px;
        border-left: 1px solid var(--c-dark-line);
    }
}

/* ----------------------------------------------------------------------------
   HERO 更新②：ステータスカードを撤去し、ボタンだけをHero右下端に固定
   ---------------------------------------------------------------------------- */
.azc-hero__grid {
    display: block !important;
    position: static;
}

.azc-hero__panel--btns-only {
    position: absolute;
    right: 24px;
    bottom: 28px;
    z-index: 3;
    max-width: none;
}

@media (min-width: 1024px) {
    .azc-hero__panel--btns-only {
        right: 3vw;
        bottom: 36px;
    }
}

.azc-hero__panel--btns-only .azc-hero__cta {
    margin-top: 0;
}

@media (max-width: 640px) {
    .azc-hero__panel--btns-only {
        left: 20px;
        right: 20px;
        bottom: 56px;
    }

    .azc-hero__panel--btns-only .azc-hero__cta {
        justify-content: center;
    }
}

/* ----------------------------------------------------------------------------
   X POSTS：指定したXの投稿を自動掲載するセクション（旧FEATURESの位置）
   ---------------------------------------------------------------------------- */
.azc-xposts {
    padding: 80px 24px;
}

.azc-xposts__frame {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.azc-xposts__controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.azua-x-embed__viewport {
    overflow: hidden;
}

.azua-x-embed__track {
    display: flex;
}

.azua-x-embed__slide {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.azua-x-embed__slide-title {
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--c-ink);
    margin-bottom: 14px;
}

.azua-x-embed__button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-surface);
    border: 1px solid var(--c-line-strong);
    color: var(--c-brand);
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.azua-x-embed__button:hover {
    background: var(--c-brand);
    color: #ffffff;
}

/* ----------------------------------------------------------------------------
   X POSTS：自前のカード表示（widgets.js に依存しない安定版）
   ---------------------------------------------------------------------------- */
.azc-xposts__frame {
    max-width: 1100px;
}

.azc-xposts__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 640px) {
    .azc-xposts__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .azc-xposts__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.azc-xpost-card {
    display: flex;
    flex-direction: column;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.azc-xpost-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.azc-xpost-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--c-page);
}

.azc-xpost-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.azc-xpost-card__body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.azc-xpost-card__text {
    font-family: var(--f-body);
    font-size: 0.86rem;
    line-height: 1.7;
    color: var(--c-ink);
    margin: 0;
    white-space: pre-line;
}

.azc-xpost-card__date {
    font-family: var(--f-head);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--c-ink-faint);
    margin-top: auto;
}

.azc-xposts__more {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.azc-xposts__empty {
    text-align: center;
    color: var(--c-ink-soft);
    font-family: var(--f-body);
}

.azc-xposts__empty a {
    color: var(--c-brand);
    font-weight: 700;
}

/* 街のワンシーン: スマホでは1枚表示・右から左へ無限ループ */
.azc-scene__viewport {
    max-width: 1180px;
    margin: 0 auto;
}

@media (max-width: 639px) {
    .azc-scene__viewport {
        overflow: hidden;
        margin: 0 -24px;
    }

    .azc-scene__grid {
        display: flex;
        width: max-content;
        max-width: none;
        gap: 16px;
        padding: 0 8px;
        animation: azcSceneMarquee var(--azc-scene-duration, 30s) linear infinite;
        will-change: transform;
    }

    .azc-scene__card {
        flex: 0 0 calc(100vw - 48px);
        width: calc(100vw - 48px);
        opacity: 1 !important;
        transform: none !important;
    }

    .azc-scene__empty {
        width: calc(100vw - 48px);
    }
}

@keyframes azcSceneMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-50% - 8px)); }
}

@media (prefers-reduced-motion: reduce) {
    @media (max-width: 639px) {
        .azc-scene__viewport { overflow-x: auto; }
        .azc-scene__grid { animation: none; }
    }
}

/* ----------------------------------------------------------------------------
   X POSTS：4件を一度に表示（PCは横一列・スマホは横スクロール）／カード高さは固定
   ---------------------------------------------------------------------------- */
.azc-xposts__frame {
    max-width: 1280px;
}

.azua-x-embed__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

.azua-x-embed__track {
    display: flex;
    gap: 16px;
    width: max-content;
    padding-bottom: 8px;
}

.azua-x-embed__slide {
    flex: 0 0 min(300px, 82vw);
    width: min(300px, 82vw);
    min-width: 0;
    max-width: none;
    height: 520px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    display: block;
    text-align: left;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-card);
    scroll-snap-align: start;
}

.azua-x-embed__slide .twitter-tweet,
.azua-x-embed__slide .twitter-tweet-rendered {
    margin: 0 !important;
}

.azua-x-embed__slide iframe {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

@media (min-width: 1100px) {
    .azua-x-embed__viewport {
        overflow-x: visible;
    }

    .azua-x-embed__track {
        width: 100%;
        justify-content: center;
    }

    .azua-x-embed__slide {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        max-width: 300px;
    }
}

/* X POSTS カード内の縦スクロールバー（サイトのデザインに合わせる） */
.azua-x-embed__slide {
    scrollbar-width: thin;
    scrollbar-color: var(--c-brand-300) transparent;
}

.azua-x-embed__slide::-webkit-scrollbar {
    width: 8px;
}

.azua-x-embed__slide::-webkit-scrollbar-track {
    background: transparent;
    margin: 12px 0;
}

.azua-x-embed__slide::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--c-brand-300), var(--c-water));
    border-radius: 999px;
    border: 2px solid var(--c-surface);
}

.azua-x-embed__slide::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--c-brand-400), var(--c-brand));
}

/* 文字のにじみ・ギザつきを抑え、読みやすく表示する */
body {
    font-family: var(--f-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "palt" 1;
}

/* X POSTS: 右側の余白（埋め込みの固定幅・スクロールバー分）を解消 */
.azua-x-embed__slide {
    scrollbar-gutter: auto;
}

.azua-x-embed__slide .twitter-tweet,
.azua-x-embed__slide .twitter-tweet-rendered,
.azua-x-embed__slide > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}


/* X POSTS: 外枠（二重カード）を無くし、スマホでは画面端まで横スクロールできるようにする */
.azc-xposts__frame.azua-x-embed {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.azc-xposts__frame.azua-x-embed::before,
.azc-xposts__frame.azua-x-embed::after {
    display: none !important;
}

.azua-x-embed__viewport {
    padding: 6px 4px 18px;
    scroll-padding-left: 4px;
}

@media (max-width: 1099px) {
    .azc-xposts {
        padding-left: 0;
        padding-right: 0;
    }

    .azc-xposts .azc-section-head {
        padding: 0 24px;
    }

    .azua-x-embed__viewport {
        padding-left: 24px;
        padding-right: 24px;
        scroll-padding-left: 24px;
    }

    .azua-x-embed__track::after {
        content: "";
        flex: 0 0 8px;
    }
}

/* ----------------------------------------------------------------------------
   背景デザイン：オーロラの光の帯 × 精密グリッド × 流れる光沢（クール／シャープ）
   ---------------------------------------------------------------------------- */
body.azua-body:not(.page-template-page-whitedeer-php)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        /* 右上から差し込む青〜水色の光の帯 */
        conic-gradient(from 200deg at 88% -8%, transparent 0deg, rgba(34, 179, 230, 0.20) 24deg, rgba(0, 57, 208, 0.15) 46deg, rgba(111, 148, 242, 0.09) 66deg, transparent 92deg),
        /* 左下の深い青のグロー */
        radial-gradient(58vmax 46vmax at -6% 108%, rgba(0, 57, 208, 0.11), transparent 64%),
        /* 中央のやわらかな水色 */
        radial-gradient(46vmax 34vmax at 42% 52%, rgba(34, 179, 230, 0.06), transparent 70%),
        linear-gradient(165deg, #f7faff 0%, #e8efff 48%, #f2f7ff 100%);
}

body.azua-body:not(.page-template-page-whitedeer-php)::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        /* 流れる光沢（斜めの光のライン） */
        linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, 0.55) 49%, rgba(255, 255, 255, 0) 60%) 0 0 / 220% 100% no-repeat,
        /* 精密グリッド：太線（大きな区画） */
        linear-gradient(rgba(0, 57, 208, 0.05) 1px, transparent 1px) 0 0 / 120px 120px,
        linear-gradient(90deg, rgba(0, 57, 208, 0.05) 1px, transparent 1px) 0 0 / 120px 120px,
        /* 精密グリッド：細線 */
        linear-gradient(rgba(0, 57, 208, 0.025) 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(90deg, rgba(0, 57, 208, 0.025) 1px, transparent 1px) 0 0 / 24px 24px;
    -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.18) 100%);
    mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.18) 100%);
    animation: azcBgSheen 16s ease-in-out infinite alternate;
}

@keyframes azcBgSheen {
    from { background-position: 100% 0, 0 0, 0 0, 0 0, 0 0; }
    to   { background-position: 0% 0, 0 0, 0 0, 0 0, 0 0; }
}

@media (max-width: 768px) {
    body.azua-body:not(.page-template-page-whitedeer-php)::after {
        animation: none;
        background-size: 220% 100%, 80px 80px, 80px 80px, 20px 20px, 20px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.azua-body:not(.page-template-page-whitedeer-php)::after {
        animation: none;
    }
}

/* 旧背景レイヤーの塗りつぶしを無効化し、新しい背景（::before / ::after）を見せる */
body.azua-body:not(.page-template-page-whitedeer-php) .azua-fx-canvas {
    background: transparent !important;
}

.azc-streams {
    background: transparent !important;
}

/* ----------------------------------------------------------------------------
   ABOUT〜最新情報：間延びを解消（セクション間の余白を詰め、Aboutカードを中央に凝縮）
   ---------------------------------------------------------------------------- */
.azc-about {
    padding: 56px 24px 40px;
}

.azc-xposts,
.azc-streams,
.azua-section--news,
.azua-section--showcase {
    padding-top: 48px;
    padding-bottom: 48px;
}

.azc-about--no-media .azc-about__inner {
    max-width: 860px;
}

.azc-about--no-media .azc-about__text {
    max-width: none;
}

.azc-about--no-media .azc-about__body {
    padding: 44px 52px;
}

.azc-section-head {
    margin-bottom: 28px;
}

@media (max-width: 700px) {
    .azc-about {
        padding: 36px 16px 24px;
    }

    .azc-xposts,
    .azc-streams,
    .azua-section--news,
    .azua-section--showcase {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .azc-about--no-media .azc-about__body {
        padding: 32px 22px;
    }

    .azc-section-head {
        margin-bottom: 20px;
    }
}

/* 配信が1件だけのとき（PC）：横長のカードにして間延びを防ぐ */
@media (min-width: 769px) {
    .azc-streams__grid.is-static:has(> .azc-streams__card:only-child) {
        grid-template-columns: minmax(0, 680px);
    }

    .azc-streams__grid.is-static > .azc-streams__card:only-child {
        flex-direction: row;
        align-items: stretch;
    }

    .azc-streams__grid.is-static > .azc-streams__card:only-child .azc-streams__media {
        flex: 0 0 52%;
        aspect-ratio: auto;
        min-height: 200px;
    }

    .azc-streams__grid.is-static > .azc-streams__card:only-child .azc-streams__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .azc-streams__grid.is-static > .azc-streams__card:only-child .azc-streams__body {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 24px;
    }

    .azc-streams__grid.is-static > .azc-streams__card:only-child .azc-streams__title {
        font-size: 1.1rem;
    }
}

/* ----------------------------------------------------------------------------
   最新情報（NEWS / TOPIC）：白背景のカードに変更
   ---------------------------------------------------------------------------- */
.azc-feed__grid.azua-news-topic {
    background: #ffffff !important;
    border: 1px solid var(--c-line);
    box-shadow: var(--shadow-card) !important;
}

.azc-feed__glow {
    display: none;
}

.azc-feed__grid .azua-news-topic__heading-en {
    color: var(--c-ink) !important;
}

.azc-feed__grid .azua-news-topic__heading-ja {
    color: var(--c-ink-soft) !important;
}

.azc-feed__grid .azc-feed__item.azua-news__item {
    border-bottom-color: var(--c-line) !important;
}

.azc-feed__grid .azc-feed__item.azua-news__item:first-child {
    border-top-color: var(--c-line) !important;
}

.azc-feed__grid .azc-feed__item.azua-news__item:hover {
    background: rgba(0, 57, 208, 0.04) !important;
}

.azc-feed__grid .azua-news__date {
    color: var(--c-brand) !important;
}

.azc-feed__grid .azua-news__title {
    color: var(--c-ink) !important;
}

.azc-feed__grid .azua-news__arrow {
    color: var(--c-ink-faint) !important;
}

.azc-feed__grid .azua-news__empty {
    color: var(--c-ink-soft) !important;
}

.azc-feed__grid .azc-feed__topic.azua-topic__item {
    background: var(--c-page) !important;
    border: 1px solid var(--c-line) !important;
    box-shadow: none !important;
}

.azc-feed__grid .azc-feed__topic.azua-topic__item:hover {
    border-color: var(--c-line-strong) !important;
    box-shadow: var(--shadow-card) !important;
}

.azc-feed__grid .azua-topic__date {
    color: var(--c-brand) !important;
}

.azc-feed__grid .azua-topic__title {
    color: var(--c-ink) !important;
}

.azc-feed__grid .azua-btn--outline-light,
.azc-feed__grid .azc-btn--ghost-dark {
    background: transparent !important;
    color: var(--c-brand) !important;
    border: 1.5px solid var(--c-brand) !important;
}

.azc-feed__grid .azua-btn--outline-light:hover,
.azc-feed__grid .azc-btn--ghost-dark:hover {
    background: var(--c-brand) !important;
    color: #ffffff !important;
    border-color: var(--c-brand) !important;
}

/* 最新情報：白いカードの背面に、ブランドカラーの帯状の背景を敷く */
.azc-feed.azua-section--news {
    position: relative;
    padding-top: 64px;
    padding-bottom: 72px;
    background:
        radial-gradient(60vmax 40vmax at 100% 0%, rgba(34, 179, 230, 0.55), transparent 60%),
        radial-gradient(50vmax 36vmax at 0% 100%, rgba(111, 148, 242, 0.35), transparent 62%),
        linear-gradient(160deg, #0030b3 0%, #0039d0 50%, #1a6cf0 100%) !important;
    overflow: hidden;
}

.azc-feed.azua-section--news::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 48px 48px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
    mask-image: linear-gradient(180deg, #000, transparent 90%);
}

.azc-feed .azc-feed__inner {
    position: relative;
    z-index: 1;
}

.azc-feed .azc-section-head .azc-eyebrow {
    color: rgba(255, 255, 255, 0.82) !important;
}

.azc-feed .azc-section-head .azc-heading {
    color: #ffffff !important;
}

.azc-feed__grid.azua-news-topic {
    border-color: transparent;
    box-shadow: 0 24px 60px rgba(0, 10, 60, 0.35) !important;
}

@media (max-width: 700px) {
    .azc-feed.azua-section--news {
        padding-top: 44px;
        padding-bottom: 48px;
    }
}

/* ABOUT：にじむ光・カード内グラデーションを無効化（透かし文字「ABOUT AZUA CITY」は残す） */
.azc-about__glow {
    display: none !important;
}

.azc-about--no-media .azc-about__body {
    background: #ffffff !important;
}

/* TOP：固定背景画像は撤去（動画・画像はHeroのみ） */
body.home .azua-page-bg {
    display: none !important;
}

/* サーバー開放時間外：メッセージを横長の1行バーで表示 */
body.home .azua-mobile-server-status .azua-server-status {
    max-width: 1040px !important;
    width: 100%;
}

body.home .azua-mobile-server-status .azua-server-status__schedule {
    flex: 0 1 auto;
}

body.home .azua-mobile-server-status .azua-server-status__closed-msg {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 6px 20px;
    width: 100%;
    max-width: none;
    text-align: center;
}

body.home .azua-mobile-server-status .azua-server-status__closed-title,
body.home .azua-mobile-server-status .azua-server-status__closed-sub {
    display: inline;
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 480px) {
    body.home .azua-mobile-server-status .azua-server-status__closed-title,
    body.home .azua-mobile-server-status .azua-server-status__closed-sub {
        white-space: normal;
    }
}

/* 開放時間外：PCは1段の横長バー、スマホは縦積み */
body.home .azua-mobile-server-status .azua-server-status__closed-msg {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: baseline;
    justify-content: center;
    gap: 20px;
    white-space: nowrap;
}

@media (min-width: 700px) {
    body.home .azua-mobile-server-status .azua-server-status {
        flex-direction: row !important;
        justify-content: center !important;
    }

    body.home .azua-mobile-server-status .azua-server-status__schedule {
        border-left: 0 !important;
        padding-left: 0 !important;
        width: auto !important;
    }

    body.home .azua-mobile-server-status .azua-server-status__header {
        border-right: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 699px) {
    body.home .azua-mobile-server-status .azua-server-status__closed-msg {
        flex-direction: column !important;
        gap: 6px;
        white-space: normal;
    }
}

/* PC：ハンバーガーメニュー内リンクの文字サイズを1.75倍（1.6rem → 2.8rem） */
@media (min-width: 769px) {
    .azua-overlay__list li a {
        font-size: 1.2rem !important;
    }
}

/* 固定ページ本文のh2〜h4の上マージン等が、メディア系コンポーネント内の見出しにも効いて
   タイトルが下にずれていたため、コンポーネント側の指定を優先する */
.azua-subpage__content .azua-card-top h4,
.azua-subpage__content .azua-audio-card__top h4 {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-size: .96em;
    font-weight: 700;
    color: var(--azua-ink);
}

.azua-subpage__content .azua-image-form-title,
.azua-subpage__content .azua-audio-form-title,
.azua-subpage__content .azst-card h3 {
    margin: 0 0 22px;
    padding-top: 0;
    line-height: 1.4;
}

.azua-subpage__content .azst-list-title {
    margin: 0 0 1.1em;
    line-height: 1.4;
}

.azua-subpage__content .azst-card h3 {
    margin-bottom: 18px;
}
