/* 協賛ステーション詳細ページ用スタイル */

/* コンテンツ上部のメタ情報エリア */
.kyosan-meta-top {
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: 1px solid #eee;
}

/* バッジエリア */
.kyosan-badges {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kyosan-badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.6;
}

.kyosan-badge.-member {
    background: #005bac;
    color: #fff;
}

.kyosan-badge.-genre {
    border: 1px solid #005bac;
    color: #005bac;
}

/* 掲載期間 */
.kyosan-expiration {
    color: #d32f2f;
    font-size: 14px;
    font-weight: bold;
}

/* お問い合わせ誘導エリア */
.kyosan-contact-action {
    margin: 4em 0 2em;
    padding: 2.5em 2em;
    background: #f0f7ff;
    border: 2px solid #005bac;
    border-radius: 12px;
    text-align: center;
}

.kyosan-contact-action h3 {
    color: #005bac;
    margin-top: 0;
    font-size: 1.25em;
}

.kyosan-contact-action p {
    font-size: 0.95em;
    margin-bottom: 1.5em;
}

/* SWELL標準ボタンとの整合性 */
.kyosan-contact-action .btn_grad a {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 440px;
    margin: 0 auto;
    text-decoration: none;
    font-weight: bold;
}

.kyosan-contact-action .arrow_circle_right_wh {
    margin-left: 10px;
}

/* メンテナンス表示 */
.kyosan-maintenance-msg {
    color: #666;
    font-style: italic;
    margin: 2em 0;
    text-align: center;
}

/* ショートコード内のアイコン位置調整 */
.kyosan-meta-shortcode .swl-inline-icon {
    display: inline-block;
    background-color: currentColor;
    -webkit-mask-image: var(--the-icon-svg);
    mask-image: var(--the-icon-svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    position: relative;
    top: 1px;
}

/* 協賛ステーション一覧（優待情報一覧）カスタムスタイル
   SWELL親テーマ使用時の対策としてプラグイン側に記述 */

/* 協賛ステーション一覧（優待情報一覧）カスタムスタイル
   SWELL親テーマ使用時の対策としてプラグイン側に記述 */
.p-postList--kyosan .c-postThumb__figure {
    width: 100% !important;
    padding-top: 56.25% !important;
    /* 16:9強制 */
    height: 0 !important;
    overflow: hidden !important;
    position: relative !important;
}

.p-postList--kyosan .c-postThumb__img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    font-family: 'object-fit: cover;' !important;
    /* IE/Edge legacy support just in case */
    max-width: none !important;
    min-height: 100% !important;
}

/* 一覧ページタイトルスタイル */
h1.kyosan-archive-title {
    display: block !important;
    width: 100% !important;
    color: #005bac !important;
    border-bottom: 2px solid #005bac !important;
    padding-bottom: 10px !important;
    margin-bottom: 40px !important;
    text-align: center !important;
    font-size: 26px !important;
}
