/*関連リストファイルの「新しいバージョンをアップロード」ボタンを非表示*/
button.slds-button.slds-button--icon-inverse.previewerAction.uiButton[title="新しいバージョンをアップロード"] {
    display: none;
}

/*ファイルの拡張アクションボタン非表示*/
a.menuButton.slds-button_icon-border-inverse.slds-button_icon-inverse.slds-button_icon-border-filled.slds-button_icon-x-small {
    display: none;
}

/*ファイルのアップロードボタン非表示*/
.slds-button.slds-button--neutral.slds-button_neutral
{
    display: none
}

/*ユーザー設定の上部「保存」ボタン非表示*/
.forceCommunityUserSettingsCustomizable .paddingcancelsave
{
    display:none
}

/*ユーザー設定の詳細以下を非表示*/
.forceCommunityUserSettingsInternal .row.dropdownvisibility
{
    display:none
}

/*フッター背景色変更*//*サイト全体の文字サイズを変更*/
.forceCommunityRichText
{
    font-size: 16px!important
}

/*ナビゲーションメニュー文字サイズ変更*/
.forceCommunityThemeHeaderStacked .themeHeaderBottomRowInner
{
    font-size:15px!important
}

/*認定資格申請フロー枠線非表示*/
.forceCommunityFlowCommunity
{
    border:0!important
}

/*リストビュー「▼」非表示*/
.null.comm-page-home .slds-button_icon-x-small, .slds-button--icon-x-small
{
    display:none
}
        
/*リストビュー：ヘッダー非表示*/
div.forceListViewManagerHeader.slds-page-header
{
    display:none
}

/*Button高さと太さ等調整
.slds-truncate
{
    height:48px!important;
    font-weight: bold;
    font-size: 16px;
}
*/

/*ナレッジ背景*/
.selfServiceTopicArticleList .selfServiceArticleListItem
{
    background-color:#F6EFE5
}

/* ヘッダーフッター間隔 */
.siteforceContentArea {
    min-height: 400px; /* 必要に応じて調整 */
}

/* ===SHIFT '25.Feb.=== */

/* ホームお知らせ */
.cCommInfomationList .CommInformationList_TitleArea h2 {
    font-size: 1.1rem !important;
    font-weight: normal !important;
}
.Information_date__c {
    font-size: .85rem !important;
}
.Information_name {
    padding: unset !important;
    line-height: 1.3rem !important;
}
.Information_name a {
    font-size: 1rem;
    display: block;
    padding: .75rem 0.5rem !important;
    transition: 0.3s;
    font-weight: bold;
}
.Information_name a:after {
    font-family: FontAwesome !important;
    content: "\f054" !important;
    margin: 0 0.5rem 0 auto;
    position: absolute;
    right: 0;
}
.Information_name a:hover {
    text-decoration: none !important;
    color: #1eb8d4 !important;
    border-bottom: none !important;
}
.CommInformationList {
    margin-top: 1rem;
}
.cCommInfomationList .CommInformationList_Button a {
    background: #212254;
    padding: .5rem 1rem;
    border-radius: 100vh;
    transition: 0.3s;
}
.cCommInfomationList .CommInformationList_Button a:after {
    font-family: FontAwesome !important;
    content: "\f054" !important;
    margin-left: .5rem;
    vertical-align: middle;
}
.cCommInfomationList .CommInformationList_Button a:hover {
    text-decoration: none;
    background: rgb(5, 111, 184) !important;
}
@media screen and (max-width:766px) {
    .Information_date__c {
        width: 80px !important;
    }
    .CommInformationList_Button {
        text-align: center !important;
        margin-bottom: 1rem;
    }
    .CommInformationList_TitleArea h2 {
        padding-bottom: .5rem !important;
        justify-content: center;
    }
    .Information_name a {
        font-size: unset !important;
    }
    .cCommInfomationList .CommInformationList_Button a {
        background: #fff;
        color: #212254 !important;
        border: 1px solid #212254;
    }
    .cCommInfomationList .CommInformationList_Button a:hover {
        background: #fff !important;
        color: #212254 !important;
    }
}

/* ホームバナー */
.bannerLogoWrapper {
    text-align: center;
    padding: 0.5rem;
    background:rgb(236, 235, 234);
}
.bannerLogo {
    display: inline-block;
    margin: 5px;
    max-width: 280px;
}

/* フッター */
.footer-background {
    background-color:rgb(34, 40, 84);
}

.footer-divider-links {
    flex-direction:row;
    text-align: center;
}
.footer-divider-links-inner {
    margin: 30px 0;
    padding: 15px 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.footer-divider-links-inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-divider-links-inner li {
    display: inline;
    border-right: 1px solid #fff;
    padding: 0 11px 5px 8px !important;
}
.footer-divider-links-inner li:last-child {
    border-right: none;
}
.footer-divider-links-inner li:before {
    display: none !important;
}
.footer-divider-links-inner li a {
    color: white;
}
.footer-divider-links-inner li a:hover {
    color: white;
}

.footer-divider-logos {
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-divider-logos .footer-logo {
    text-align: right;
    width: auto;
    max-width: 400px;
    height: auto;
}
.footer-divider-logos .footer-address {
    text-align: left;
    padding-left: 40px;
    color: #fff;
    font-size: large;
}

@media screen and (min-width:767px) { 
    .footer-divider-links-mobile, .footer-divider-logos-mobile {
        display: none !important;
    }
}

.footer-divider-links-mobile .slds-size_1-of-1, .footer-divider-logos-mobile .slds-size_1-of-1 {
    margin-bottom: .5rem;
}
.footer-divider-links-mobile .slds-size_1-of-1 a, .footer-divider-logos-mobile .slds-size_1-of-1 p span {
    color: white;
}

.footer-copyright {
    padding: 20px 40px;
    text-align: center;
}
.footer-copyright p {
    color: white;
}

@media screen and (max-width:766px) {
    .footer-divider-links, .footer-divider-logos {
        display: none !important;
    }
    .footer-divider-links-mobile, .footer-divider-logos-mobile {
        display: block !important;
        padding: 20px 40px;
        flex-direction:column;
        text-align: center;
    }
    .footer-divider-logos-mobile .footer-logo {
        max-width:343px;
        width:100%;
        height:auto;    
    }
    /* モバイルでヘッダーを固定：モバイル会員証以外に適用 */
    body:not(:has(c-membership-certificate)) {
        margin-top: 70px !important;
    }
    .forceCommunityThemeHeaderBase {
        height: 70px !important;
        position: fixed !important;
        top: 0;
        padding: 10px;
        z-index: 1000 !important;
    }
}

/* レイアウト修正 */
/* フローの横幅 */
@media screen and (max-width:766px) { 
    .slds-p-horizontal_small, .flowruntimeBody__lwc {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

@media screen and (min-width:767px) { 
    .slds-p-horizontal_small, .flowruntimeBody__lwc {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* フローボタンの右余白を除去 */
.navigationBar {
    padding-right: 0 !important;
}

/* お問い合わせ作成ページ */
.forceCommunityContactSupportForm .slds-page-header__title,
.forceCommunityCaseDeflection .slds-page-header__title {
    font-weight: bold;
}
.forceCommunityContactSupportForm .header-message,
.forceCommunityCaseDeflection .header-message {
    padding-bottom: var(--lwc-spacingSmall, 0.75rem);
}
.forceCommunityContactSupportForm .forcePageBlockItem {
    padding-bottom: var(--lwc-spacingXSmall, 0.5rem);
}
.comm-topic-trending-articles__item .slds-text-body_small:first-child {
    padding-bottom: var(--lwc-spacingXSmall, 0.5rem);
}
.forceCommunityContactSupportForm .slds-p-horizontal_medium {
    padding-bottom: var(--lwc-spacingXSmall, 0.5rem);
}
.forceCommunityContactSupportForm .contactSupportButton {
    margin-left: var(--lwc-spacingSmall, 0.75rem) !important;
    margin-right: var(--lwc-spacingSmall, 0.75rem) !important;
}
.forceCommunityCaseDeflection li {
    padding-left: var(--lwc-spacingSmall, 0.75rem);
    padding-right: var(--lwc-spacingSmall, 0.75rem);
}

/* ナビゲーションメニューとパスが重なって表示するのを回避 JSA-3158 */
.slds-path__link {
    z-index: 4 !important;
}

/* モバイル版リストビューからアクションを除去 */
.forceCommunityRecordListMobile .forceCommunityActionsContainerMobile {
    display: none;
}
.forceCommunityRecordListMobile .listTitleContainer {
    display: none;
}

/* モバイル版フッター固定メニュー */
@media screen and (max-width:766px) {
    /* モバイル版ではメニュー用にbody位置を上げる */
    body {
        margin-bottom: 10% !important;
    }
    .scroll-to-top-button {
        bottom: 8% !important;
    }
}
.spFixedMenu {
    /* メニューをページ下部に固定 */
    position: fixed;
    width: 100%;
    bottom: 0px;
    z-index: 99;
    background: rgb(235, 235, 235);
}
.spFixedMenu ul {
    display: flex;
    padding:0 !important;
    width:100%;
    height: 60px;
}
.spFixedMenu li {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 33.333%;
    padding:0 !important;
    border-right: 1px solid #fff;
}
.spFixedMenu li:last-child {
    border-right: none;
}
.spFixedMenu li:before {
    display: none !important;
}
.spFixedMenu a {
    display: block;
    color: #212529 !important;
    width: 100%;
    height: 100%;
    padding: 10px 0;
}
.spFixedMenu a:hover {
    border-bottom: none !important;
    text-decoration: none !important;
}
.spFixedMenu i {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}
.spFixedMenu .miniText {
    display: block;
    font-size: 10px;
}
@media (min-width: 767px) {
    /* PCとタブレット版では非表示 */
    .spFixedMenu { display:none; }
}

/* ===SHIFT '25.Feb.=== */

/* === JSA-4947 === */
@media only screen and (max-width: 47.9375em) {
    /* モバイルハンバーガーメニューを除去 */
    button.forceCommunityThemeNavTrigger {
        display: none !important;
    }

    /* プロフィールメニュー（右端の人アイコン）を除去 */
    .themeUtil.themeProfileMenu {
        display: none !important;
    }

    /* モバイル時にアプリメニューを表示するための領域を確保 */
    .forceCommunityThemeHeaderStacked .themeNav {
        bottom: 10% !important;
    }

    /* 子メニューの記述 */
    .forceCommunityThemeNav .mainNavItem .subMenuItem a::before {
        content: "┗ " !important;
    }
    .forceCommunityThemeNav .mainNavItem .subMenuItem a {
        padding: 10px 40px !important;
    }

    /* 角丸 */
    .forceCommunityThemeNav .mainNavItem > a,
    .forceCommunityThemeNav .mainNavItem.hasSubNav button,
    .forceCommunityThemeNav .mainNavItem .subMenuItem a {
        border-radius: 0.25rem !important;
        margin: 0.5rem 0.3rem !important;
        width: 97% !important;
        box-shadow: 1px 1px 1px 1px rgb(0 0 0 / 15%) !important;
    }

    /* hover時の記述：子を持つ親は除外 */
    .forceCommunityThemeNav .mainNavItem > a:hover,
    .forceCommunityThemeNav .mainNavItem .subMenuItem a:hover {
        background-color: rgb(240, 240, 240) !important;
    }

    /* ログアウトの記述：一番下のメニュー項目*/
    .forceCommunityThemeNav .mainNavItem.comm-navigation__top-level-item:nth-last-child(2) a {
        color: white !important;
        background: #056FB8 !important;
        font-weight: bold !important;
    }
    .forceCommunityThemeNav .mainNavItem.comm-navigation__top-level-item:nth-last-child(2) a::after {
        content: "\f08b" !important;
        padding-left: 0.3rem !important;
        font-family: FontAwesome !important;
    }
}
/* === JSA-4947 === */

/* === JSA-5163 === */
/* 選挙立候補画面のLWC */
c-candidate-information-tables .slds-card__header {
    padding-right: unset !important;
    padding-left: 0.5rem !important;
}
/* === JSA-5163 === */