a {
	color: var(--theme-sub-text-color, #009dd9);
}
/* 本文中のテキストリンク（段落・リスト・表）はアクセントカラー */
.wp-block-paragraph a,
.pagesBody p a,
.pagesBody .wp-block-list li a,
.pagesBody .wp-block-table td a,
.postBody p a {
	color: var(--theme-accent-color, #ff8400);
	text-decoration: underline;
}
#logoWap a {
	color: var(--theme-primary-2-color, var(--theme-h1-text-color));
}
#headTel a{
	color: var(--theme-primary-1-color, var(--theme-primary-color));
}
.categoryTitle{
	background-color: var(--theme-sub-color-1, #def0f8);
	border-top: solid 1px var(--theme-primary-1-color);
	border-bottom: solid 1px var(--theme-primary-1-color);
	color: var(--theme-primary-2-color, var(--theme-h1-text-color));	
}

.headTelHours,
.gnavi-hours {
	color: var(--theme-primary-1-color, var(--theme-primary-color));
}
.image-group__heading,
.location-block--other .location-block__heading {
	border-color: var(--theme-primary-1-color, var(--theme-primary-color));
	color: var(--theme-primary-2-color, var(--theme-h1-text-color));
}
.pagination .current {
	color: var(--theme-button-text-color, #ffffff);
	background-color: var(--theme-primary-1-color, var(--theme-primary-color));
	border: 1px solid var(--theme-primary-1-color, var(--theme-primary-color));
}

/*
 * ブロックエディタのボタンブロック（既定色は黒背景・白文字のため上書き）
 * WP コアの global-styles-inline-css が「:root :where(...)」（詳細度は実質クラス1つ分）で
 * 出力され、かつ theme-colors.css より後に読み込まれるため、同じ詳細度では上書きできない。
 * #wrap を付けて詳細度を上げることで確実に勝たせる。
 */
#wrap .wp-block-button__link,
#wrap .wp-element-button {

	color: var(--theme-button-text-color, #ffffff);
	background-color: var(--theme-primary-1-color, var(--theme-primary-color));
}

#postNavigation .prev-post::before,
#postNavigation .next-post::after,
.pagination a.prev::before,
.pagination a.next::after,
.sc-calendar__header .prev-post::before,
.sc-calendar__header .next-post::after,
.shinko-av-nav .prev-post::before,
.shinko-av-nav .next-post::after {
	color: var(--theme-primary-1-color, var(--theme-primary-color));
}


#postNavigation .prev-post:hover,
#postNavigation .next-post:hover,
.pagination a.prev:hover,
.pagination a.next:hover,
.sc-calendar__header .prev-post:hover,
.sc-calendar__header .next-post:hover,
.shinko-av-nav .prev-post:hover,
.shinko-av-nav .next-post:hover {
	color: var(--theme-button-text-color, #ffffff);
	background-color: var(--theme-primary-1-color, var(--theme-primary-color));
	border: 1px solid var(--theme-primary-1-color, var(--theme-primary-color));
}

#postNavigation .prev-post:hover::before,
#postNavigation .next-post:hover::after,
.pagination a.prev:hover::before,
.pagination a.next:hover::after,
.sc-calendar__header .prev-post:hover::before,
.sc-calendar__header .next-post:hover::after,
.shinko-av-nav .prev-post:hover::before,
.shinko-av-nav .next-post:hover::after {
	color: #fff;
}

#headContact a {
	color: var(--theme-button-text-color, #ffffff);
	background-color: var(--theme-primary-1-color, var(--theme-button-bg-color));
}
#HeaderCatchphrase {
	color: var(--theme-primary-2-color, var(--theme-catchphrase-color));
}
.menuBtn {
	background-color: var(--theme-primary-2-color, var(--theme-menu-bg-color));
}
.menuBtn span,
.menuBtn span:before,
.menuBtn span:after {
	background-color: var(--theme-menu-text-color, #ffffff);
}

.menuContent {
	background-color: var(--theme-primary-1-color, var(--theme-primary-color));
}
#hamburgerMenu .gnaviHours{
	color: var(--theme-button-text-color, #ffffff);	
}
.gnaviInContact a {
	color: var(--theme-primary-1-color, var(--theme-primary-color));
	background-color: var(--theme-nav-text-color, #ffffff);
}
.gnavi_in_tel a {
	color: var(--theme-primary-1-color, var(--theme-primary-color));
	background-color: var(--theme-nav-text-color, #ffffff);
}
.menuContent ul li {
	border-bottom: solid 1px var(--theme-nav-text-color, #ffffff);
}
.menuContent ul li a {
	color: var(--theme-nav-text-color, #ffffff);
}
.menuContent ul li a::before {
	border-top: solid 2px var(--theme-nav-text-color, #ffffff);
	border-right: solid 2px var(--theme-nav-text-color, #ffffff);
}
#headNavi {
	background-color: var(--theme-primary-1-color, var(--theme-primary-color));
}
#headNavi a {
	color: var(--theme-nav-text-color, #ffffff);
}
#headNavi ul li .children,
#headNavi ul li .sub-menu {
	background-color: var(--theme-primary-1-color, var(--theme-primary-color));
}
#headNavi ul li .children li,
#headNavi ul li .sub-menu li {
	border-top: solid 1px var(--theme-nav-text-color, #ffffff);
}
.defoTitle .h3sub {
	color: var(--theme-sub-text-color, #009dd9);
}
#footer {
	background-color: var(--theme-primary-1-color, var(--theme-primary-color));
}
.rF_btn {
	color: var(--theme-primary-2-color, var(--theme-h1-text-color));
	border: solid 1px var(--theme-primary-2-color, var(--theme-h1-text-color));
}
.rF_btn:hover {
	background-color: var(--theme-primary-2-color, var(--theme-h1-text-color));
}
.aboutBtn {
	color: var(--theme-sub-text-color, #009dd9);
}

.pickup-more {
	color: var(--theme-sub-text-color, #009dd9);
}

.defoTitle{
	color: var(--theme-primary-2-color, var(--theme-h1-text-color));
}

.categoryTag {
	background-color: var(--theme-sub-text-color, #009dd9);
}
.sc-calendar__day-num {
	color: var(--theme-primary-2-color, #1e2864);
}
.sc-calendar__event {
	background: var(--theme-sub-color-1, #def0f8);
	color: var(--theme-primary-2-color, #1e2864);
}
.sc-calendar__event--disabled {
	background: #eee;
	color: #888;
}
.sc-calendar__event--teikyubi {
	background: #e74c3c;
	color: #fff;
}
.sc-calendar__more {
	color: var(--theme-primary-1-color, #0085d0);
}
#pageTitle {
	background-color: var(--theme-sub-color-1, #def0f8);
}
#pageTitle .pageTitleEn {
	color: var(--theme-primary-2-color, var(--theme-h1-text-color));
}
#pageTitle .pageTitle {
	color: var(--theme-primary-2-color, var(--theme-h1-text-color));
}
.breadcrumb a {
	color: var(--theme-primary-2-color, #1e2864);
}
.contentsTitle {
	color: var(--theme-primary-2-color, var(--theme-h1-text-color));
}
.contentsTitle::after {
	background-color: var(--theme-primary-1-color, #0085d0);
}
.classroom-list__title {
	color: var(--theme-primary-1-color, #1e2864);;
	border-bottom: 1px solid var(--theme-primary-1-color, #0085d0);
}
.categoryNavigation ul li{
	background-color: var(--theme-primary-2-color, var(--theme-menu-bg-color));
}
.categoryNavigation ul li:hover,
.categoryNavigation ul li.current{
	background-color: var(--theme-primary-1-color, #0085d0);
}
.categoryNavigation ul li a{
	color: var(--theme-nav-text-color, #ffffff);
}
#wrap .tribe-events-calendar-month__day-date-daynum {
	color: var(--theme-primary-2-color, #1e2864);
}
#wrap .tribe-events-calendar-month__calendar-event-title-link {
	background: var(--theme-sub-color-1, #def0f8);
	color: var(--theme-primary-2-color, #1e2864);
}
#wrap .tribe-events-calendar-month__more-events-link {
	color: var(--theme-primary-1-color, #0085d0);
}
.classroom-schedule-table thead th {
    background: var(--theme-primary-1-color, #0085d0);
}

.classroom-block-title {
    border-left: 4px solid var(--theme-primary-1-color, #0085d0);
}
.classroom-file-link {
    background: var(--theme-primary-1-color, #0085d0);
}
.pagesBody h4.wp-block-heading {
	color: var(--theme-primary-1-color, var(--theme-primary-color));
}

.pagesBody h5.wp-block-heading {
	color: var(--theme-primary-2-color, var(--theme-primary-color));
}



@media handheld,
only screen and (max-width: 767px) {
	.menuBtn {
		background-color: var(--theme-primary-2-color, var(--theme-menu-bg-color));
	}
	.rF_btn_wrap {
		background-color: var(--theme-primary-2-color, var(--theme-menu-bg-color));
	}
	.rF_btn {
		color: var(--theme-primary-2-color, var(--theme-h1-text-color));
		border: solid 1px var(--theme-primary-2-color, var(--theme-h1-text-color));
	}
	.rF_btn:hover {
		background-color: var(--theme-primary-1-color, var(--theme-primary-color));
	}
}
