.muryosodan{
	margin:0 auto;
}

.wp-block-table1{
	margin-bottom:0;
}

.wp-block-table1 th{
	background: #06a488;
	color:#fff;
}

.wp-block-table2{
	margin-bottom:10px;
}

.wp-block-table2 th{
	background: #06a488;
	color:#fff;
}

.hiyo-1{
	margin:0 auto;
}

.kyuyokeisan1{
	margin:0 auto;
}

.wp-block-table thead {
    border-bottom: 1px solid;
	border-top: 1px solid;
}

.wp-block-table th{
	background: #06a488;
	color:#fff;
}

.shugyokisoku{
	width:30%;
}

.seminar{
	width:50%;
}

.sodan{
	width:50%;
}

a.anchor {
display: block;
position: relative;
top: -60px;
visibility: hidden;
}

div.whatsnew{
  height: 200px; /*ブロックの高さ*/
  overflow: auto; /*スクロール*/
}

.cta-kyotu{
	padding:20px;
}

.site-body-bottom{
	margin-bottom: 2em;
}

/* VK プロフィールウィジェットの画像を中央揃えにする */
#wp_widget_vkexunit_profile-2 .media_float {
    float: none !important;	
}
#wp_widget_vkexunit_profile-2 .profile{
	display: flex;
	justify-content: space-evenly;
}
#wp_widget_vkexunit_profile-2 .media_center {
    margin:0;
}
@media (max-width: 991px){
	#wp_widget_vkexunit_profile-2 .profile {
		  flex-direction: column;
      align-items: center;
	}
}
/* 画像自体も中央揃えの対象にする */
#wp_widget_vkexunit_profile-2 img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/*フッターナビを中央に*/
.footer-nav .container #menu-header-navigation-1{
	display: flex;
	justify-content: center;
}
@media (max-width: 767px){
	.footer-nav .container #menu-header-navigation-1{
		justify-content: space-between;
		flex-wrap: wrap;
	}
	.footer-nav .container #menu-header-navigation-1 li{
	margin:0 1em;
}
.footer-nav .container #menu-header-navigation-1 li:first-child{
	margin:0 1em 0 0;
}
.footer-nav .container #menu-header-navigation-1 li:last-child{
	margin:0 0 0 1em;
}
}

/*WPのコピーライトを消す*/
.site-footer-copyright p:last-child{
	display:none;
}

/*reCAPTCHAバナーの削除*/
.grecaptcha-badge {
    visibility: hidden;
}

/* クッキー同意バナー*/
#cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 15px 25px;
    z-index: 99999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    font-size: 12px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
#cookie-consent-banner p {
    margin: 0;
    line-height: 1.5;
    flex: 1;
}
#cookie-consent-banner a {
    font-weight: bold;
}

/* ボタン */
.btn-group {
    display: flex;
    gap: 10px;
    flex-shrink: 0; /* ボタンが潰れないように固定 */
}

/* ボタン共通 */
.btn-accept, .btn-reject {
    padding: 6px 18px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-accept {
    background: #004494;
    color: #fff;
    border: none;
}
.btn-reject {
    background: #fff;
    color: #666;
    border: 1px solid #ccc;
}
.btn-accept:hover, .btn-reject:hover {
    opacity: 0.8;
}
/* --- モバイル対応 --- */
@media (max-width: 768px) {
    #cookie-consent-banner {
        flex-direction: column;
        align-items: flex-start;
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 20px;
    }
    .btn-group {
        width: 100%;
        justify-content: flex-end;
        margin-top: 15px;
    }
}

#custom-cookie-relink a {
    font-size: 11px;
    text-decoration: underline dotted;
    text-underline-offset: 2px;
    display: inline-block;
}
#custom-cookie-relink a:hover {
    color: #004494;
    opacity: 0.9;
}

/* 変数の初期値（バナーがない時は0） */
:root {
    --cookie-banner-height: 0px;
}

/* TOPへ戻るボタンの調整 */
#page_top.page_top_btn {
    transition: opacity .3s, bottom 0.3s ease;
    /* 本来のbottom位置に、バナーの高さを足す */
    bottom: calc(20px + var(--cookie-banner-height) + 18px) !important;
}

/* コピーライトが隠れる問題の解決 */
body.cookie-banner-active {
    /* JSでpaddingを付ける代わりにCSSで制御 */
    padding-bottom: var(--cookie-banner-height) !important;
}

/* スマホ表示での微調整が必要な場合もここだけで完結 */
@media (max-width: 768px) {
    #page_top.page_top_btn {
        bottom: calc(10px + var(--cookie-banner-height) + 18px) !important;
    }
}


/*cf7　送信成功時のみ非表示*/
.wpcf7-mail-sent-ok {
    display: none !important;
}

/*aタグのスタイル変更*/
.entry-body a, #cookie-consent-banner a {
    color: #004494;
    text-decoration: underline solid;
    text-underline-offset: 3px;
}
.entry-body a:hover, #cookie-consent-banner a:hover {
    text-decoration: none;
    opacity: 0.9;
}
.entry-body a.wp-block-button__link {
    text-decoration: none;
    color: #fff;
}
.entry-body a.wp-block-button__link:hover {
    opacity: 1;
    color: var(--vk-color-text-link-hover);
}

.btn-primary:hover {
    opacity: 0.9;
}

.footer-nav-list li a:hover {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    text-decoration: underline;
}

ul.global-nav-list > li > ul.sub-menu {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    margin-top: -2px;
}
.global-nav-list > li > ul.sub-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}