/*****************
全体
*****************/
html,body {
    overflow-x: hidden;
}
body {
    padding-top: 80px;
}
section h2 {
    margin-top: 0;
    scroll-margin-top: 80px; /* 固定ヘッダーの高さに合わせる */
}
.breadcrumbs {
    font-family: "Noto Sans JP", sans-serif;
}
.anchor-offset {
    padding-top: 80px !important;
    margin-top: -80px !important;
}
.wp-block-table td, .wp-block-table th {
    border: 1px solid var(--ast-border-color);
}
.m-bottom-0 {
    margin-bottom: 0 !important;
}
/* 共通ページ送り */
.wp-block-query-pagination-numbers {
    margin: 0 auto !important;
}
.page-numbers.current {
    color: var(--ast-global-color-0);
}

#content h1 {
    font-family: "Noto Sans JP", sans-serif;
}
#content h2 {
    position: relative;
    text-align: center;
    padding-block: 30px;
    margin-bottom: 15px;
}
#content h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0; 
    width: 150px;
    height: 3px;
    background-color: var(--ast-global-color-1);
    transform: translateX(-50%);
    border-radius: 2px;
}
#content h2 .h2-label {
    display: inline-block;
    position: relative;
}
#content h2 .h2-label::before {
    content: "";
    position: absolute;
    left: -130px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    background: url('../img/animation2.png') no-repeat center / contain;
}
#content h2 .h2-small {
    font-size: 1.25rem;
    font-weight: 500;
}
@media (max-width: 921px) {
    #content .has-h2-icon {
        padding-left: 120px;
    }
}
@media (min-width: 769px) {
    .full-none {
        display: none;
    }
}
@media (max-width: 768px) {
    .sp-none {
        display: none;
    }
    .order1 {
        order: 1 !important;
    }
    .order2 {
        order: 2 !important;
    }
}

/*****************
ヘッダー関連　header
*****************/
/* 固定ヘッダー */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff; /* 背景色が透過してる場合は指定 */
    box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.08);
}
header.site-header img {
    display: block;
}
/* current-menuは通常カラー */
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link, .ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, .ast-builder-menu-1 .current-menu-ancestor > .menu-link {
    color: var(--ast-global-color-2);
}
/* menu hover時はメインカラー */
.ast-builder-menu-1 .menu-item:hover > .menu-link, .ast-builder-menu-1 .inline-on-mobile .menu-item:hover > .ast-menu-toggle {
    color: var(--ast-global-color-1);
}
/* current-menuは通常カラー・背景なし */
@media (max-width: 921px) {
    .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .menu-link, .ast-builder-menu-mobile .main-navigation .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor > .menu-link, .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor > .ast-menu-toggle {
        color: var(--ast-global-color-2);
        background: none;
    }
}

/*****************
ホーム body.home
*****************/
/* メインビジュアル */
body.home #content .mainvisual {
    aspect-ratio: 2 / 1;
}
/* メッセージ */
body.home #content .message {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 40px;
}
body.home #content .message mark {
    background-color: #ffdc2d !important;
}
@media (max-width: 767px) {
    body.home #content .message p {
        text-align: left;
    }
    body.home #content .mainvisual {
        aspect-ratio: 375 / 732;
    }
}
/* 活動報告 */
body.home #content .news .wp-block-latest-posts__list {
    padding: 0 150px;
    margin-right: 20px;
}
body.home #content .news .wp-block-latest-posts__list li {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #999;
}
body.home #content .news .wp-block-latest-posts__list li a {
    order: 2;
    width: calc(100% - 150px);
    margin-top: 12px;
    margin-bottom: 12px;
}
body.home #content .news .wp-block-latest-posts__list li time {
    width: 150px;
    order: 1;
    margin-bottom: 20px;
}
@media (max-width: 767px) {
    body.home #content .news .wp-block-latest-posts__list {
        padding: 0;
    }
    body.home #content .news .wp-block-latest-posts__list li a {
        width: 100%;
    }
    body.home #content .news .wp-block-latest-posts__list li time {
        width: 100%;
        margin-bottom: 0;
    }
}
/* 実績 */
body.home #content .achievements h3 {
    font-size: 1.75rem;
    font-weight: bold;
}
body.home #content .achievements h3 span {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-size: 2.5rem;
    font-weight: 700;
    font-style: italic;
    font-variation-settings: "wdth" 100;
    color: #ffdc2d;
    vertical-align: middle;
}
/* body.home #content .achievements .achievement-card {
    width: calc(50% - 25px);
    box-sizing: border-box;
    align-self: stretch
}
body.home #content .achievements .achievement-card ul {
    flex-grow: 1;
}
@media (max-width: 768px) {
    body.home #content .achievements .achievement-card {
        width: 100%;
    }
} */
body.home #content .achievements .try {
    display: inline-block;
    position: absolute;
    bottom: -210px;
    right: 0;
    z-index: 1;
    width: max-content;
}
body.home #content .achievements .wp-block-uagb-modal img {
    box-shadow: 3px 8px 12px 0px rgba(0, 0, 0, 0.16);
}
body.home #content .achievements .wp-block-uagb-modal img:hover {
    box-shadow: none;
}
body.home .uagb-modal-popup-wrap .uagb-ifb-title-wrap {
    display: flex;
    align-items: center;
    align-self: auto;
    padding-bottom: 15px;
    font-feature-settings: "palt";
}
body.home .uagb-modal-popup-wrap .wp-block-list {
    margin-left: 2em;
    font-feature-settings: "palt";
}
body.home .uagb-modal-popup-wrap .wp-block-list span {
    font-weight: bold;
    text-decoration: underline;
}
body.home #content .achievements-notice {
	max-width: 1050px;
}
/* プロフィール */
body.home #content .profile table {
    border: none;
}
body.home #content .profile table td {
    border-left: none;
    border-right: none;
}
body.home #content .profile table td:first-of-type {
    width: 6em;
}

/*****************
活動報告 body.page-slug-news
*****************/
body.page-slug-news #content .list-news .uagb-container-inner-blocks-wrap ul {
    padding-left: 0;
}
body.page-slug-news #content .list-news .uagb-container-inner-blocks-wrap li {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #999;
    padding-bottom: 12px;
}
body.page-slug-news #content .list-news .uagb-container-inner-blocks-wrap li .wp-block-post-date {
    width: 150px;
    order: 1;
    margin-bottom: 12px;
}
body.page-slug-news #content .list-news .uagb-container-inner-blocks-wrap li h2 {
    order: 2;
    margin-bottom: 0;
    color: var(--ast-global-color-3);
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.75rem;
    width: calc(100% - 150px);
    text-align: left;
    padding-block: 0;
}
body.page-slug-news #content .list-news .uagb-container-inner-blocks-wrap li h2::after {
    width: 0;
}
body.page-slug-news #content .list-news .uagb-container-inner-blocks-wrap li h2 a {
    color: var(--ast-global-color-3);
    text-decoration: none;
}
@media (max-width: 767px) {
    body.page-slug-news #content .list-news .uagb-container-inner-blocks-wrap li .wp-block-post-date {
        width: 100%;
    }
    body.page-slug-news #content .list-news .uagb-container-inner-blocks-wrap li h2 {
        width: 100%;
    }
}

/*****************
投稿 body.single-post 
*****************/
body.single-post #content .ast-container {
    padding-left: 20px;
    padding-right: 20px;
}
body.single-post .breadcrumbs {
    margin-bottom: 30px;
}
body.single-post .breadcrumbs a {
    text-decoration: underline;
}
.single-post .post-thumb img,
.single-post .wp-post-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/*****************
推薦・応援の声 body.page-slug-support
*****************/
body.page-slug-support #content .spectra-image-gallery__media-wrapper--isotope {
	pointer-events: none;
}

/*****************
一連の疑惑報道に関して body.page-slug-explanation,body.parent-slug-explanation
*****************/
/* 共通 */
body.page-slug-explanation #content,
body.parent-slug-explanation #content {
    font-family: "Noto Serif JP", serif;
}
body.page-slug-explanation #content,
body.parent-slug-explanation #content p {
    text-indent: 1em;
}
body.page-slug-explanation #content nav h3,
body.parent-slug-explanation #content nav h3 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--ast-global-color-4);
}
/* 一連の疑惑報道に関してページ */
body.page-slug-explanation #content p {
    font-size: 1.2rem;
    line-height: 1.8;
}
body.page-slug-explanation #content p span {
    font-weight: 900;
    font-size: 1.5rem;
}
/* 一連の疑惑報道に関してが親ページ */
body.parent-slug-explanation #content h3 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.2rem;
    color: var(--ast-global-color-1);
}
body.parent-slug-explanation #content p {
    font-weight: 500;
}
body.parent-slug-explanation #content p span {
    font-family: "Noto Sans JP", sans-serif;
}
body.parent-slug-explanation #content p.indent {
    padding-left: 1em;
    text-indent: -1em;
}
body.parent-slug-explanation #content p.noindent {
    text-indent: 0;
}

/*****************
このサイトについて body.page-slug-about
*****************/
body.page-slug-about #content p.indent {
    padding-left: 1em;
    text-indent: -1em;
}

/*****************
お問い合わせ body.page-slug-contact
*****************/
/*フォーム関連*/
.wpcf7-form dl {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.wpcf7-form dl dt {
    width: 200px;
}
.wpcf7-form dl dd {
    width: calc(100% - 250px);
}
.wpcf7-form .terms {
    color: var(--ast-global-color-5);
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    text-align: center;
    margin-right: 15px;
}
.wpcf7-form .terms.require {
    background-color: #f15a24;
}
.wpcf7-form .terms.optional {
    background-color: #999;
}
.wpcf7-form .bold {
    font-weight: 600;
}
.wpcf7-form [data-name="postal-code"] {
	display: inline-block;
    width: 200px;
    margin-bottom: 15px;
}
.wpcf7-form .confirmation .bold {
    margin-bottom: 10px;
}
.wpcf7-form .privacy {
    font-size: 80%;
    padding-left: 20px;
    margin-top: 20px;
}
.wpcf7-form .privacy a {
    color: var(--ast-global-color-1) !important;
}
.wpcf7-form .confirm {
    text-align: center;
    margin-top: 50px;
}
.wpcf7-form .confirm > .wpcf7-form-control-wrap {
    margin-bottom: 20px;
}
.wpcf7-form .confirm .wpcf7-submit {
	background-color: var(--ast-global-color-1);
	border-color: var(--ast-global-color-1);
    color: var(--ast-global-color-5);
}
.wpcf7-form .confirm .wpcf7-submit:hover {
	background-color: var(--ast-global-color-2);
	border-color: var(--ast-global-color-2);
}
.wpcf7-form .confirm .wpcf7-spinner {
    display: none;
}
@media (max-width: 768px) {
    .wpcf7-form dl dt {
        width: 100%;
        margin-bottom: 10px;
    }
    .wpcf7-form dl dd {
        width: 100%;
        margin: 0 0 30px 0;
    }
    .wpcf7-form .privacy {
        padding-left: 0;
    }
    .wpcf7-form .wpcf7-acceptance span {
        margin: 0;
    }
}