/*
  Theme Name:   Astra Child
  Template:     astra
*/
@import url("../astra/style.css");

/* ==========================================================================
   01. Base & Global Styles (全体共通設定・基本リンク・アクセシビリティ)
   ========================================================================== */
a {
    color: var(--cmm-hamburger-bg);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: rgba(161, 147, 58, 0.5);
}

/* アクセシビリティ：スクリーンリーダー用テキストを非表示（テーマ共通共通） */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.main-header-menu .menu-link, .main-header-menu>a {
    font-size: clamp(1rem, 1.025rem + 0.33vw, 1.25rem);
}

/* ==========================================================================
   02. Custom Mobile Menu Variables (カスタムモバイルメニューの配色上書き)
   ========================================================================== */
:root {
    --cmm-hamburger-line-color: #fff89d;
    --cmm-hamburger-top: 20px;
    --cmm-hamburger-right: 20px;
    --cmm-close-top: 120px;
    --cmm-close-right: 20px;
    --cmm-panel-bg: #ffffff;
    --cmm-item-color: #111111;
    --cmm-item-color-hover: #555555;
    --cmm-item-border-color: rgba(0,0,0,0.1);
    --cmm-overlay-bg: rgba(0, 0, 0, 0.5);
    --cmm-hamburger-z-index: 10005; /* ヘッダーより前面に出すためのz-index */
    --cmm-hamburger-bg: #7a7670;      /* ボタンの背景色 */
    --cmm-panel-padding: 120px 32px 40px;
    --ast-global-color-subtle-background: #ffffff; /* Astraのサブカラー背景を白に上書き */
    --swiper-pagination-bottom: 20px; /* Swiperのページネーション位置を少し上に調整 */
}

/* Astraのデフォルトモバイルメニューを完全に無効化し、カスタムメニューに置き換え */
@media (max-width: 921px) {
    .ast-mobile-menu-trigger {
        display: none !important;
    }
    [data-section="section-header-mobile-trigger"] {
        display: none !important;
    }
    .ast-mobile-header-content {
        display: none !important;
    }
}

.custom-mobile-menu__close {
    display: none;
}

/* ヘッダー全体をオーバーレイより前面に配置 */
.site-header, 
#ast-desktop-header, 
#ast-mobile-header {
    position: relative; /* 必要に応じて fixed や sticky になっている場合はそのままでOK */
    z-index: 10000;    /* オーバーレイ（9990）より高い数値を設定 */
    background-color: #ffffff; /* 下を透過させない場合は背景色を明示 */
}

/* オーバーレイの重なり順をヘッダーのすぐ下に設定 */
.custom-mobile-overlay {
    z-index: 9990 !important; /* ヘッダー(10000)より低く、他のコンテンツより高く */
}

/* モバイルメニュー本体の重なり順 */
.custom-mobile-menu {
    top: 0!important;
    z-index: 9995 !important; /* オーバーレイ(9990)のすぐ上に重ねる */
    padding: var(--cmm-panel-padding) !important;
     /* パネル内の余白を変数で一括管理 */
    height: 100vh; /* フルスクリーンの高さを確保 */
}

.custom-hamburger {
    z-index: var(--cmm-hamburger-z-index);
    background-color: var(--cmm-hamburger-bg) !important;
}


/* ==========================================================================
   03. HOME: Logo Header (最初期の100vhロゴレイアウト)
   ========================================================================== */
#layout-homelogo {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
}

#layout-homelogo .wp-block-image {
    width: 80%;
    max-width: 1200px;
}

#layout-homelogo .wp-block-image img {
    width: 100% !important;
    height: auto !important;
}


/* ==========================================================================
   04. HOME: Hero Swiper (ヒーロースライダー・縮小・インジケーター)
   ========================================================================== */
.hero {
  /* 画面幅いっぱいに広げつつ、最大1280pxに制限 */
  width: 100vw;
  max-width: 1280px;

  /* 親要素の中央に強制配置するマジックコード */
  margin-left: 50%;
  transform: translateX(-50%);
}
.hero-swiper {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
/* スライダーの下側にドット用の座布団（余白）を敷く */
    padding-bottom: 30px !important;
}

.hero-swiper .swiper-slide {
    overflow: hidden;
}

.hero-swiper img {
    width: 100%;
    aspect-ratio: 2 / 1;
    height: auto;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    transform: scale(1);
    transition: transform 0.5s ease;
}

/* アクティブスライドの縮小アニメーション */
/*@keyframes zoomOut {
    0% { transform: scale(1.0) rotate(1deg); }
    100% { transform: scale(1.15) rotate(0deg); }
}

.hero-swiper .swiper-slide-active img {
    animation: zoomOut 5s ease-out forwards;
}*/

/*@media (max-width: 768px) {
    .hero-swiper img {
        aspect-ratio: 4 / 3;
    }
}*/

/* --- テキストエリア --- */
.hero-swiper__content {
    position: absolute;
    left: 5%;
    bottom: 80px;
    max-width: 90%;
    color: #fff;
    z-index: 20;
    opacity: 0;
    transform: translateY(20px);
    transition: 1s;
    background: rgba(0,0,0,0.3);
    padding: 4px 8px;
    border-radius: 4px;
}

.swiper-slide-active .hero-swiper__content {
    opacity: 1;
    transform: translateY(0);
}

.hero-swiper__label {
    display: inline-block;
    font-size: 12px;
}

.hero-swiper__title {
    font-size: 32px;
    margin-bottom: 5px;
    color: #ffffff;
}

.hero-swiper__desc {
    font-size: 14px;
    max-width: 400px;
}

/* --- Pagination（ドット・プログレスバー） --- */
.hero-swiper .swiper-pagination {
    position: absolute;
    bottom: var(--swiper-pagination-bottom);
    left: 10% !important;
    width: 80% !important;
    display: flex;
    gap: 8px;
    z-index: 30;
}

.hero-swiper .swiper-pagination-bullet {
    flex: 1;
    height: 2px;
    display: block;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    opacity: 1;
    cursor: pointer;
    margin: 0 !important;
    width: auto !important;
}

.hero-swiper .swiper-pagination-bullet::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff89d;
    box-shadow: none;
}

.hero-swiper .swiper-pagination-bullet.animate::after {
    animation: progressBar 5s linear forwards;
}

@keyframes progressBar {
    from { width: 0%; }
    to { width: 100%; }
}

.hero-swiper .swiper-pagination-bullet-active ~ .swiper-pagination-bullet::after {
    width: 0%;
}

/* --- ナビ矢印ボタン --- */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    display: none; /* デフォルトは非表示 */
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    width: 60px;
    height: 60px;
    background: rgba(124,119,113,0.5);
    border-radius: 10%;
}

.hero-swiper .swiper-button-next { right: -5%; }
.hero-swiper .swiper-button-prev { left: -5%; }

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 30px;
    color: #fff89d;
}

/* NEWSセクション：スマホ画面用調整 */
@media (max-width: 767px) {
    .hero-swiper__content {
        bottom: 20px;
    }
}


/* ==========================================================================
   05. HOME: Content Layout & Main Grid (レイアウト共通・4列カード仕様)
   ========================================================================== */
.page-content .inner {
    max-width: var(--ast-normal-container-width);
    margin: 4em auto;
}

.home-section {
    margin-bottom: 6rem;
}

.home-section h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    text-align: center;
}

/* --- 共通4列グリッドレイアウト（Flexbox版） --- */
.home-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.home-grid li {
    width: calc((100% - (16px * 3)) / 4);
    max-width: 300px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--ast-global-color-5);
    border: none;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-grid li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.home-grid li a {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
}

.home-grid li a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.home-grid li span {
    display: block;
    padding: 8px 10px;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--ast-global-color-3);
    word-break: break-word;
}

.home-grid li a:hover span {
    color: var(--ast-global-color-0);
}

/* モバイル対応：2列仕様に変更 */
@media (max-width: 599px) {
    .home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-grid li {
        width: calc((100% - 16px) / 2);
    }
}


/* ==========================================================================
   06. HOME: NEWS Section (最新：縦並び・横幅860px・日付とタイトルの横並び)
   ========================================================================== */
.home-section--news {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.home-section--news .home-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 0;
    list-style: none;
}

.home-section--news .home-grid li {
    width: 100% !important;
    max-width: none !important; /* 上位の300px制限をリセット */
    margin-top: 0 !important;
    background: transparent;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
}


.home-section--news .home-grid li:first-child {
    border-top: thin solid var(--cmm-item-border-color);
    border-bottom: thin solid var(--cmm-item-border-color);
}

.home-section--news .home-grid li:hover {
    transform: none;
}

.home-section--news .home-grid li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 60px;
    transition: background-color 0.3s ease;
}

.home-section--news .home-grid li a:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.home-section--news .home-grid li img {
    width: 120px;
    height: auto;
    margin-right: 20px;
    object-fit: cover;
}

.home-section--news .news-meta-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin-top: 0;
}

.home-section--news .news-date {
    width: 110px;
    flex-shrink: 0;
    font-size: 1rem;
    color: #888;
    margin-bottom: 0;
}

.home-section--news .news-title {
    font-size: 16px;
    padding-right: 10px;
    text-align: left;       /* ★ここを追加（親の中央寄せを打ち消して左寄せにする） */
    padding-right: 10px;
    width: 100%;            /* 横幅いっぱいに広げて左寄せを確実に効かせる */
  }

/* NEWSセクション：スマホ画面用調整 */
@media (max-width: 767px) {
    .home-section--news .home-grid li a {
        padding: 14px 5px;
    }
    .home-section--news .news-date {
        width: 90px;
        font-size: 1rem;
    }
    .home-section--news .news-title {
        font-size: 14px;
    }
}


/* ==========================================================================
   07. HOME: ARTIST Section (トップページ内のアーティストセクション専用)
   ========================================================================== */
.home-section--artist {
    margin-bottom: 100px;
}

.home-section--artist .home-grid li {
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.home-section--artist .home-grid li:hover {
    box-shadow: none;
}

.home-section--artist .home-grid li a {
    display: block;
    width: 100%;
}

.home-section--artist .home-grid li a img {
    aspect-ratio: 3 / 2.5;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


/* ==========================================================================
   08. ARCHIVE: General Setup (一覧共通のレイアウト調整・中央揃え)
   ========================================================================== */
.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 40px;
    margin-bottom: 40px;
}

@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top:60px;
        margin-bottom: 60px;
    }
}

.ast-archive-description {
    border: none;
}

.ast-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 記事カード全体を中央寄せ */
}

.ast-row article.type-artist,
.ast-row article.type-news {
    text-align: center;
}

/* サムネイル画像の中央寄せ */
.ast-row .post-thumb-img-content {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.ast-row .post-thumb-img-content img {
    margin: 0 auto;
    display: block;
}

/* タイトル・メタ情報の中央寄せ */
.ast-row .entry-title {
    justify-content: center;
    display: flex;
}

.ast-row .entry-header {
    justify-content: center;
    display: flex;
}

.ast-row .entry-meta {
    justify-content: center;
}


/* ==========================================================================
   09. ARCHIVE: ARTIST / DISCOGRAPHY (アーティスト一覧・楕円切り抜き)
   ========================================================================== */
/* アーティストカードの背景・枠線をクリア */
.post-type-archive-artist .ast-article-inner {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* 特定のアーカイブにおけるメタ情報（日付等）を非表示化 */
.post-type-archive-artist .entry-header,
.post-type-archive-artist .entry-meta,
.post-type-archive-discography .entry-header,
.post-type-archive-discography .entry-meta {
    display: none !important;
}

/* 画像を3:2.5の横長楕円に切り抜き */
.post-type-archive-artist .post-thumb-img-content {
    width: 100%;
/*    aspect-ratio: 3 / 2.5;*/
    border-radius: 50%;
    overflow: hidden;
    display: block;
    margin: 0 !important;
}

.post-type-archive-artist .post-thumb-img-content a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-type-archive-artist .post-thumb-img-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 2.5 / 3;
    transform: scale(1.0);
    transition: transform 0.4s ease;
}

.post-type-archive-artist .ast-article-post:hover .post-thumb-img-content img {
    transform: scale(1.05);
}

/* ==========================================================================
   ディスコグラフィー個別ページ：サムネイル画像を正方形にして中央寄せ（アーティスト一覧と同様のスタイル）
   ========================================================================== */

.post-type-archive-discography .ast-article-post .post-thumb-img-content img {
    aspect-ratio: 1 / 1;
    width: 100%;
}

/* ==========================================================================
   14. RELATED SECTIONS: Global Border & Spacing (各個別ページ共通)
   ========================================================================== */
.related-sections {
    position: relative;         /* 擬似要素（テキスト）の基準値にする */
    border-top: 1px solid #eee; /* 区切り線 */
    margin-top: 4rem;           /* テキストが乗るため、上側の外余白を少し広めに調整 */
    padding-top: 2.5rem;        /* 線から最初の見出しまでの内余白 */
    max-width: 860px;           
    margin-left: auto;
    margin-right: auto;
}

/* 区切り線の真上に重なる中央揃えのテキスト */
.related-sections::before {
    content: "Related Info";
    position: absolute;
    top: 0;                     /* 親の border-top（一番上）の位置に合わせる */
    left: 50%;
    transform: translate(-50%, -50%); /* 縦横のぴったり中央揃え */
    background: #ffffff;        /* 背景を白にして、重なる区切り線を隠す */
    padding: 0 15px;            /* テキストの左右に少し隙間（クッション）を作る */
    color: #999;                /* 文字色（お好みの濃さに調整してください） */
    font-family: 'Mooli', sans-serif; /* サイト全体の英字タイトルとフォントを統一 */
    font-size: 0.85rem;         /* 主見出しより一回り小さなサイズ */
    font-weight: bold;
    letter-spacing: 0.15em;     /* 文字の文字間隔を広げてスタイリッシュに */
    text-transform: uppercase;  /* すべて大文字で表示（RELATED INFO） */
}

.related-sections p {
    margin-bottom: 0;
}
.related-sections ul {
    margin-bottom: 0;
}
/* 1. グリッド配置を解除して、縦1列のリスト形式にする */
.related-news-grid .news-grid {
    display: flex;
    flex-direction: column;
    row-gap: 20px; /* アイテム間の隙間は border で表現するため 0 に */
    margin: 1rem 2rem;
}

/* 2. 各ニュースアイテムのカード風デザイン（白背景や影）をリセットし、下線をつける */
.related-news-grid .news-grid-item {
    width: 100%;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding-left: 2rem;
}

/* 3. リンクエリアを横並び（Flexbox）にし、高さを細長く調整 */
.related-sections a {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0; /* 内側の余白で細長さを調整 */
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
}

.related-sections a:hover {
    background-color: rgba(160, 147, 57, 0.05); /* ホバー時にうっすら背景色 */
}

/* 4. 左側：サムネイル画像のサイズ調整（細長さに合わせて小さめに） */
.related-news-grid .news-grid-item .post-thumb {
    width: 2rem;         /* サムネイルの横幅 */
    height: 2rem;        /* サムネイルの縦幅（1:1の正方形に固定） */
    flex-shrink: 0;      /* 画面が狭くなっても画像が潰れないように固定 */
    margin-right: 2rem;  /* 右側のテキストとの隙間 */
    overflow: hidden;
    margin-bottom: 0 !important; /* 既存のアーカイブ用マージンをリセット */
}

.related-news-grid .news-grid-item .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

/* 5. 右側：日付とタイトルの配置 */
/* 日付（タイムスタンプ） */
.related-news-grid .news-grid-item .date {
    display: inline-block;
    width: 110px;        /* 日付の幅を固定して縦ラインを揃える */
    flex-shrink: 0;
    font-size: clamp(0.75rem, 0.725rem + 0.6vw, 1rem);
    color: #888;
}

/* ニュースタイトル */
.related-news-grid .news-grid-item p {
    margin: 0;
    font-size: clamp(0.75rem, 0.725rem + 0.6vw, 1rem);
    font-weight: 300;
    line-height: 1.4;
    text-align: left;
    color: #333;
    /* 既存の .ast-row 等による中央寄せやフレックス配置を打ち消す */
    display: block;
    width: auto;
}

/* ==========================================================================
   スマホ・タブレット用レスポンシブ対応（画面幅 767px 以下）
   ========================================================================== */
@media (max-width: 767px) {
    .related-news-grid .news-grid-item {
        padding-left: 0;
    }

    .related-news-grid .news-grid-item a {
        padding: 12px 10px;
        /* スマホで窮屈な場合は、日付とタイトルだけ縦並びにスイッチ */
        flex-wrap: wrap; 
    }
    
    .related-news-grid .news-grid-item .post-thumb {
        width: 60px;  /* スマホでは画像を少し小さく */
        height: 60px;
        margin-right: 15px;
    }

    /* 日付とタイトルのテキストを内包する右側エリア全体の幅計算 */
    .related-news-grid .news-grid-item .date {
        width: 100%;  /* 日付をタイトルの上に配置 */
        margin-bottom: 4px;
        font-size: 0.85rem;
    }
    
    .related-block p a,
    .related-block ul li a {
        font-size: 0.9rem!important;
    }

    .related-block .related-title {
        font-size: 1rem!important;
    }
}

/* アーティスト一覧のテキスト（名前） */
.post-type-archive-artist .entry-title {
    font-size: 1.25rem;
    text-align: center;
    margin-top: 12px;
}

.post-type-archive-artist .entry-title a {
    text-decoration: none;
    color: var(--ast-global-color-2);
}

.post-type-archive-artist .entry-title a:hover {
    color: var(--ast-global-color-0);
}

/* アーティスト個別ページ 関連セクション全体の調整 */
.single-artist .artist-related-sections {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee; /* コンテンツとの境界線（デザインに応じて） */
}

.artist-related-block {
    margin-bottom: 2rem;
}

.artist-related-block > p {
    font-size: 1.4rem;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    /* ZURU-ZURU RECORDSのトーンに合わせた装飾をここに */
}

/* ディスコグラフィ用の簡易グリッド例 */
.disco-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    padding: 0 2rem;
}
@media (max-width: 768px) {
    .disco-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.disco-item {
    text-align: center;
}
.disco-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


/* ==========================================================================
   10. ARCHIVE: NEWS (ニュース一覧・変則グリッド・ZINE風ずらし)
   ========================================================================== */
.news-grid {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    justify-content: center;
    gap: 24px;
    max-width: 1160px;
}

.news-grid .card {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.news-grid .card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.news-grid .card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-grid .card__thumb {
    height: 200px;
}

.news-grid .card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    transition: 0.4s ease;
}

.news-grid .card a:hover img {
    transform: scale(1.03) rotate(-0.4deg);
}

.news-grid .card__body {
    padding: 12px 8px;
}

.news-grid .card__date {
    font-size: 1rem;
    color: var(--ast-global-color-3);
    display: block;
    margin-bottom: 6px;
}

.news-grid .card__title {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
}

/* ZINE感を出す奇数ずらしエフェクト */
.news-grid .card:nth-child(odd):not(.card--featured) {
    transform: translateY(10px);
}

/* --- FEATURED CARD (注目のニュース：全幅1つの大きな見せ方) --- */
.news-grid .card--featured {
    grid-column: 1 / -1;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.news-grid .card--featured:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.news-grid .card--featured a {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.news-grid .card--featured .card__thumb {
    width: 100%;
    min-width: 280px;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-grid .card--featured .card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-grid .card--featured .card__body {
    padding: 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ニュース一覧：レスポンシブ調整 */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-grid .card--featured {
        flex-direction: column;
    }
    .news-grid .card--featured .card__thumb,
    .news-grid .card--featured .card__body {
        width: 100%;
    }
    .news-grid .card:nth-child(odd):not(.card--featured) {
        transform: none;
    }
}

/* NEWS個別記事 */
.entry-meta, .entry-meta * {
    line-height: 1.45;
    color: var(--ast-global-color-3);
    font-weight: 600;
}
header.entry-header .entry-title {
    font-weight: 600;
    font-size: 2rem;
    text-align: center;
}
.single-news header.entry-header .entry-title,
.single-live header.entry-header .entry-title {
    text-align: left;
}

/* LIVE/DISCOGRAPHY一覧全体のスタイル */
.related-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.related-block ul li {
    padding: 12px 10px 12px 20px;
}

/* 1つのライブ情報の枠（カクバリズム風に下線で区切る） */
.live-item {
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
}

/* PCサイズでの横並び設定 */
.live-item__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* 各要素の幅・余白の調整 */
.live-item__date {
    width: 20%;
    font-weight: bold;
    font-size: 1.1rem;
}

.live-item__artist {
    width: 25%;
    font-weight: bold;
    font-size: 1.25rem;
}

.live-item__info {
    width: 45%;
}

.live-item__venue {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 4px;
}

.live-item__title {
    font-size: 1.1rem;
    margin: 0;
}

.live-item__more {
    width: 10%;
    text-align: right;
}

.live-item__more a {
    display: inline-block;
    padding: 5px 15px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* スマホ用のレスポンシブ対応 */
@media (max-width: 768px) {
    .live-item__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .live-item__date,
    .live-item__artist,
    .live-item__info,
    .live-item__more {
        width: 100%;
        margin-bottom: 10px;
        text-align: left;
    }
    .live-item__more {
        margin-bottom: 0;
    }
}


/* ==========================================================================
   11. FIXED RESPONSIVE: Layout Shift (レイアウトの崩れを防ぐメディアクエリ一括管理)
   ========================================================================== */
/* デスクトップ表示（画面幅922px以上）の時のみ、偶数カードを下方向に40pxずらす効果を発動 */
@media (min-width: 922px) {
    .post-type-archive-artist .ast-article-post:nth-child(even) {
        margin-top: 40px;
    }
    .home-section--artist .home-grid li:nth-child(even) {
        margin-top: 40px;
    }
}


/* ==========================================================================
   12. PAGES: Contact & Snow Monkey Forms Custom Styles
   ========================================================================== */

/* --- プログレストラッカー（進捗表示） --- */
.smf-progress-tracker {
    justify-content: center;
}

.smf-progress-tracker__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 160px;
    position: relative;
}

.smf-progress-tracker__item[aria-current=true] .smf-progress-tracker__item__number {
    background-color: var(--ast-global-color-0);
}

.smf-progress-tracker__item[aria-current=true] .smf-progress-tracker__item__text {
    color: var(--ast-global-color-0);
}

/* --- フォームレイアウト・アイテム設定 --- */
.smf-form {
    max-width: 640px;
    margin: 0 auto;
}

.smf-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
}

@media (min-width: 600px) {
    .smf-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
    }
    .smf-item__col--label {
        flex: 0 0 140px;
        padding-top: 10px;
    }
    .smf-item__col--controls {
        flex: 1;
    }
}

.smf-item__label__text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ast-global-color-2);
}

/* インプット・テキストエリア共通 */
.smf-text-control__control,
.smf-textarea-control__control {
    background: #fff !important;
    border: 1px solid var(--ast-global-color-7) !important;
    border-radius: 4px !important;
    padding: 10px 14px !important;
    font-size: 0.94rem !important;
    width: 100% !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.smf-text-control__control:focus,
.smf-textarea-control__control:focus {
    border-color: var(--ast-global-color-0) !important;
    box-shadow: 0 0 0 3px rgba(220, 165, 74, 0.15) !important;
    outline: none !important;
}

/* --- 送信・確認アクションボタン --- */
.smf-action {
    margin-top: 32px;
    text-align: center;
}

.smf-action button,
.smf-action input[type="submit"] {
    background-color: var(--ast-global-color-0) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 12px 40px !important;
    font-size: 0.94rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.smf-action .smf-button-control__control {
    background-color: var(--_lighter-color-gray);
    background-image: linear-gradient(180deg, var(--ast-global-color-1), var(--ast-global-color-0)) !important;
}

.smf-action button:hover,
.smf-action input[type="submit"]:hover {
    background-color: var(--ast-global-color-1) !important;
}


/* ==========================================================================
   13. COMPONENTS: SNS Link Bar & Footer Instagram Link Section
   ========================================================================== */
/* --- SNSリンクアイコンバー（既存） --- */
.post-link-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    width: 100%;
    margin-bottom: 15px;
    justify-content: center;
    margin: 10px auto;
}

/* 見出しのデザイン調整（お好みで追加してください） */
.relational-links-title {
    text-align: center;      /* 中央寄せにする場合 */
    font-size: 1.25rem;
    margin-top: 4em;        /* 上の記事本文との隙間 */
    margin-bottom: 15px;     /* 下のアイコンバーとの隙間 */
    color: #333;
}

.link-icon-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 50px;
}

.link-icon-btn:hover {
    background-color: #eeeeee;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.link-icon-btn--insta:hover { color: var(--ast-global-color-0); }
.link-icon-btn--apple:hover { color: var(--ast-global-color-0); }

/* --- Footer: SNSリンク（Instagram & X 新規追加） --- */
.footer-sns-section {
    background-color: #000;
    padding: 40px 0;
    border-top: 1px solid #222;
    text-align: center;
}

/* 2つのリンクを中央に横並びにするラッパー */
.sns-links-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* リンク同士の間隔 */
    margin-bottom: 0; /* フィード表示をするようになったらここを 20px〜30px に変更してください */
}

/* 各SNSリンクアイテムの共通スタイル */
.sns-link-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sns-link-item:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

/* Font Awesome アイコンのスタイル */
.sns-icon {
    font-size: 20px; /* テキストの高さに合わせたバランスの良いサイズ */
    color: #fff;
    line-height: 1;
}

/* テキストのスタイル */
.sns-text {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
}

/* 将来用のフィードエリア */
.insta-feed-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

/* スマホ表示の時の調整（横幅が狭いときは縦並びにする） */
@media (max-width: 600px) {
    .sns-links-wrapper {
        flex-direction: column;
        gap: 24px;
    }
}


input[type="submit"] {
    background-color: var(--ast-global-color-0) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 12px 40px !important;
    font-size: 0.94rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    margin: 4em auto 0;
    display: block;
}
.error404 input[type="submit"],
.search input[type="submit"] {
  display: none;
}

/* ────────────────────────────────────────────────────────────
 * すべてのメインページタイトル（h1）の見た目を統一する
 * ──────────────────────────────────────────────────────────── */

/* 1. Astraテーマが自動出力するヘッダーエリアのグレー背景や余白をリセット */
.post-type-archive-live .ast-archive-description,
.page .entry-header {
    background: transparent !important; /* 背景色を透明に */
    padding: 1em;             /* 内側の余計な余白をカット */
    margin-top: 0;       /* 上部との間隔（好みに合わせて変更） */
    margin-bottom: 2em !important;    /* 下部コンテンツとの間隔 */
    text-align: center;                /* タイトルを中央寄せ */
    border: none !important;           /* 枠線を消す */
}
h1, .entry-content :where(h1) {
    font-weight: 600;
    font-size: clamp(1.5rem, 1.375rem + 1vw, 2.25rem);
    font-family: 'Barlow Semi Condensed', sans-serif;
    line-height: 1.4em;
}
@media (max-width: 921px) {
    header.entry-header {
        text-align:center;
    }
}

@media (max-width: 544px) {
    header.entry-header {
        text-align:center;
    }
    .ast-archive-description .ast-archive-title {
        text-align:center;
    }
}