/*
Theme Name:   GeneratePress Child (Soft Tennis)
Template:     generatepress
Description:  NPO法人木曽川文化・スポーツクラブ ソフトテニス教室用の GeneratePress 子テーマ。旧テーマ Simplicity2 の見た目を再現する。
Version:      1.0.0
Text Domain:  generatepress-child-softtennis
*/

/* ==========================================================
   基本（Simplicity2 の値に合わせる）
   画面幅の区切り：1111px 以上＝PC ／ 640〜1110px＝タブレット ／ 639px 以下＝スマホ
   ========================================================== */
body {
	margin: 0;
	background-color: #f9f9f9;
	color: #000;
	font-family: "Hiragino Kaku Gothic ProN", Meiryo, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: normal;
	-webkit-text-size-adjust: 100%;
}

body a {
	color: #349b4a;
	transition: none;
}

body a:hover,
body a:focus {
	color: #a1db23;
}

h1, h2, h3, h4, h5, h6 {
	font-family: inherit;
	font-weight: bold;
	text-transform: none;
	color: #333;
}

.clear {
	clear: both;
}

.cf::after {
	content: "";
	display: table;
	clear: both;
}

.hide {
	display: none;
}

/* 共通の内側の幅 */
.st-inner {
	width: 1106px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* ページ上部の緑の線（旧：追加CSS #container の border-top。スマホの MENU バーより下に出す） */
#header {
	border-top: 5px solid #349b4a;
}

/* ==========================================================
   ヘッダー
   ========================================================== */
#header {
	background-position: 0 0;
	background-size: 100% auto;
	background-repeat: no-repeat;
	margin: 0;
	padding: 0;
}

#h-top {
	position: relative;
	min-height: 160px;
	overflow: hidden;
}

.top-title-catchphrase {
	padding: 0 30px;
}

#site-title {
	margin: 16px 0 10px;
	font-size: 30px;
	line-height: 100%;
	margin-right: 30px;
}

#site-title a {
	display: inline-block;
	text-decoration: none;
}

#site-title img {
	display: inline;
	width: 300px;
	height: auto;
	vertical-align: baseline;
}

#site-description {
	margin: 0 20px 10px 0;
	color: #fff;
	font-size: 15px;
	line-height: 140%;
	font-weight: normal;
	text-shadow: 1px 1px 1px #000;
}

.top-sns-follows {
	position: absolute;
	top: 0;
	right: 0;
	margin-right: 25px;
	text-align: right;
}

ul.snsp {
	list-style: none;
	margin: 10px 0 15px;
	padding: 0;
}

ul.snsp li {
	display: inline-block;
	margin-right: 5px;
}

ul.snsp li a {
	font-size: 19px;
	line-height: 170%;
	text-decoration: none;
}

ul.snsp li a span {
	display: block;
	width: 33px;
	height: 33px;
	overflow: hidden;
	border-radius: 4px;
	background-color: #666;
	color: #fff;
	font-size: 33px;
}

ul.snsp li.feedly-page a span:hover {
	background-color: #87bd33;
}

ul.snsp li.rss-page a span:hover {
	background-color: #fe9900;
}

/* ==========================================================
   メインナビ
   ========================================================== */
#navi {
	background-color: #fff;
	border-bottom: 1px solid #349b4a;
	box-shadow: 1px 1px 2px 2px #e1e1e1;
}

#navi ul {
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
	box-sizing: border-box;
	list-style: none;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
}

#navi ul::after {
	content: "";
	display: table;
	clear: both;
}

#navi ul li {
	position: relative;
	float: left;
	margin: 0;
}

#navi ul li a {
	display: block;
	padding: 5.1px 11.9px;
	color: #111;
	font-size: 17px;
	line-height: normal;
	text-decoration: none;
	transition: .3s;
}

#navi ul li a .fa {
	color: #349b4a;
	transition: .6s;
}

#navi ul li a:hover {
	background-color: #9ecc5f;
	color: #111;
}

#navi ul li a:hover .fa {
	color: #fff;
}

#navi ul.sub-menu {
	display: none;
}

/* スマホ用 MENU バー（1110px 以下で表示） */
#mobile-menu {
	display: none;
}

.slicknav_menu {
	background: #4c4c4c;
	padding: 5px;
	font-size: 16px;
	box-sizing: border-box;
}

.slicknav_menu * {
	box-sizing: border-box;
}

.slicknav_menu::after {
	content: "";
	display: table;
	clear: both;
}

.slicknav_btn {
	position: relative;
	display: block;
	float: right;
	margin: 5px 5px 6px;
	padding: .438em .625em;
	line-height: 1.125em;
	border: 0;
	border-radius: 4px;
	background-color: #222;
	cursor: pointer;
	font: inherit;
}

.slicknav_btn:hover,
.slicknav_btn:focus {
	background-color: #222;
}

.slicknav_menutxt {
	display: block;
	float: left;
	color: #fff;
	font-weight: bold;
	line-height: 1.188em;
	text-shadow: 0 1px 3px #000;
}

.slicknav_icon {
	float: left;
	margin: .188em 0 0 .438em;
}

.slicknav_icon-bar {
	display: block;
	width: 1.125em;
	height: .125em;
	border-radius: 1px;
	background-color: #f5f5f5;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .25);
}

.slicknav_icon-bar + .slicknav_icon-bar {
	margin-top: .188em;
}

.slicknav_nav {
	clear: both;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	color: #fff;
	font-size: .875em;
}

.slicknav_nav[hidden] {
	display: none;
}

.slicknav_nav li {
	display: block;
}

.slicknav_nav a {
	display: block;
	margin: 2px 5px;
	padding: 5px 10px;
	color: #fff;
	text-decoration: none;
}

.slicknav_nav a:hover {
	border-radius: 6px;
	background: #ccc;
	color: #222;
}

.slicknav_nav .sub-menu {
	margin: 0 0 0 20px;
	padding: 0;
	list-style: none;
}

/* ==========================================================
   本体（メインカラム＋サイドバー）
   ========================================================== */
.site.grid-container,
.one-container .site-content,
.site-content {
	padding: 0;
}

.site.grid-container {
	max-width: 1106px;
	margin: 15px auto 0;
	background: transparent;
}

.site-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.site-content .content-area,
.right-sidebar .site-content .content-area {
	width: 740px;
	flex: 0 0 740px;
}

.site-content .is-right-sidebar,
.right-sidebar .site-content .is-right-sidebar {
	width: 336px;
	flex: 0 0 336px;
	margin-bottom: 30px;
}

.one-container.right-sidebar .site-main,
.site-main {
	box-sizing: border-box;
	margin: 0 0 30px;
	padding: 20px 29px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 4px;
}

.one-container .site-content,
.separate-containers .inside-article {
	background: transparent;
}

/* ==========================================================
   記事（固定ページ・投稿）
   ========================================================== */
body.one-container .site-main > .type-page,
body.one-container .site-main > .type-post {
	margin-bottom: 59px;
}

.article {
	font-size: 16px;
	line-height: 170%;
}

.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
	position: relative;
	margin-top: 35px;
	margin-bottom: 20px;
	color: #333;
	font-weight: bold;
}

.article h1,
.article .entry-title {
	margin: 6px 0 4px;
	font-size: 28px;
	line-height: 117%;
}

.article h2 {
	margin: 40px -29px 20px;
	padding: 25px 30px 25px 24px;
	border-left: 5px solid #349b4a;
	font-size: 24px;
	line-height: 1.3;
}

.article h3 {
	margin: 35px 0 20px;
	padding: 0 0 0 28px;
	border-bottom: 2px solid #349b4a;
	background-image: url("../../uploads/2016/12/h3-bgimg.jpg");
	background-repeat: no-repeat;
	font-size: 21px;
	line-height: 130%;
}

.article h4 {
	padding: 8px 0;
	font-size: 20px;
	line-height: 1.3;
}

.article h5 {
	padding: 3px 0 3px 9px;
	border-left: 5px solid #349b4a;
	color: #563621;
	font-size: 18px;
	line-height: 1.3;
}

.article h6 {
	padding: 8px 0;
	font-size: 20px;
}

.article p {
	margin: 16px 0;
}

.article img,
.wp-caption {
	max-width: 100%;
	height: auto;
}

.article ul,
.article ol {
	margin: 16px 0;
	padding-left: 40px;
}

.entry-content {
	margin: 0 0 60px;
}

.entry-content:not(:first-child),
.entry-summary:not(:first-child),
.page-content:not(:first-child) {
	margin-top: 0;
}

/* 日付・カテゴリの帯 */
.post-meta,
.article .post-meta {
	margin: 2px 0 6px;
	background-color: #349b4a;
	color: #fff;
	font-size: 12px;
	line-height: 27.2px;
	text-align: right;
}

.post-meta .post-date,
.post-meta .post-update,
.post-meta .category,
.footer-post-meta .post-author {
	padding-right: .7em;
}

.post-meta a {
	color: #349b4a;
}

/* アイキャッチ */
.eye-catch {
	margin: 0;
	line-height: 100%;
}

.eye-catch img {
	display: inline;
	max-width: 100%;
	height: auto;
}

/* 投稿者 */
.footer-post-meta {
	clear: both;
	margin: 16px 0;
	color: #555;
	font-size: 16px;
	text-align: right;
}

/* パンくず */
#breadcrumb {
	margin-bottom: 20px;
	color: #777;
	font-size: 13px;
	line-height: 20px;
}

#breadcrumb div {
	display: inline;
}

#breadcrumb a {
	color: #777;
	text-decoration: none;
}

#breadcrumb span.sp {
	margin: 0 10px;
}

/* Simplicity2 独自の文字装飾（本文で使用） */
.marker-under {
	background: linear-gradient(transparent 60%, #ffff66 60%);
}

.bold-red {
	color: #e50202;
	font-weight: bold;
}

/* ==========================================================
   シェアボタン
   ========================================================== */
#sns-group {
	clear: both;
}

ul.snsb {
	margin: 16px 0 0;
	padding: 10px 0;
	list-style: none;
	font-family: sans-serif;
	box-sizing: border-box;
	line-height: 24px;
}

ul.snsb::after {
	content: "";
	display: table;
	clear: both;
}

.sns-group-viral ul.snsb li {
	float: left;
	box-sizing: border-box;
	width: 24%;
	margin: 2px 1% 5px 0;
	list-style-type: none;
}

.sns-group-viral ul.snsb li a {
	position: relative;
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 45px;
	margin-bottom: 5px;
	padding: 7px 6px 3px;
	border-radius: 3px;
	background-color: #000;
	color: #fff;
	font-size: 16px;
	line-height: 35px;
	text-align: center;
	text-decoration: none;
}

.sns-group-viral ul.snsb li a:hover {
	color: #fff;
	opacity: .7;
}

.sns-group-viral ul.snsbs li a.twitter-btn-icon-link { background-color: #55acee; }
.sns-group-viral ul.snsbs li a.facebook-btn-icon-link { background-color: #3b5998; }
.sns-group-viral ul.snsbs li a.google-plus-btn-icon-link { background-color: #dd4b39; }
.sns-group-viral ul.snsbs li a.hatena-btn-icon-link { background-color: #3c7dd1; }
.sns-group-viral ul.snsbs li a.pocket-btn-icon-link { background-color: #ee4257; }
.sns-group-viral ul.snsbs li a.line-btn-icon-link { background-color: #00c300; }

.sns-group-viral .social-icon::after {
	position: relative;
	top: -2px;
	margin-left: 7px;
	font-family: arial;
}

.sns-group-viral .icon-twitter::after { content: "Twitter"; }
.sns-group-viral .icon-facebook::after { content: "Facebook"; }
.sns-group-viral .icon-googleplus::after { content: "Google+"; }
.sns-group-viral .icon-hatena::after { content: "Hatena"; }
.sns-group-viral .icon-pocket::after { content: "Pocket"; }
.sns-group-viral .icon-line::after { content: "Line"; }

/* ==========================================================
   一覧ページ（カテゴリ・日付）
   ========================================================== */
#archive-title {
	margin: 17.42px 0;
	padding: 0 0 20px;
	color: #333;
	font-size: 26px;
	line-height: 33.8px;
}

.entry {
	margin: 0 0 40px;
	clear: both;
}

.entry-thumb {
	float: left;
	margin: 3px 10px 0 0;
}

.entry-thumb a {
	display: block;
}

.entry-thumb img {
	display: block;
	width: 150px;
	height: 150px;
	border: 0;
}

.entry-card-content {
	margin-left: 160px;
}

.entry h2 {
	margin: 0 0 5px;
	font-size: 24px;
	line-height: 31.2px;
}

.entry h2 a {
	color: #333;
	text-decoration: none;
}

.entry .post-meta {
	margin: 7px auto;
	line-height: 18px;
	text-align: left;
}

.entry-snippet {
	margin: 0 0 5px;
	color: #555;
	line-height: 150%;
	word-wrap: break-word;
}

.entry-read {
	margin: 0;
}

.entry-read a {
	color: #111;
}

body.one-container .site-main .pagination {
	margin: 40px 0;
	padding-left: 0;
	list-style-type: none;
	text-align: center;
}

.pagination li {
	display: inline-block;
	margin: 0;
}

.pagination a {
	display: block;
	width: 36px;
	height: 36px;
	border: 1px solid #ddd;
	border-left-width: 0;
	color: #333;
	font-weight: 300;
	line-height: 36px;
	text-decoration: none;
}

.pagination li:first-of-type a {
	border-left-width: 1px;
}

.pagination > li:first-child > a {
	border-radius: 4px 0 0 4px;
}

.pagination > li:last-child > a {
	border-radius: 0 4px 4px 0;
}

.pagination li:not([class*="current"]) a:hover {
	background-color: #eee;
	color: #333;
}

.pagination li.current a {
	background-color: #ddd;
	cursor: default;
	pointer-events: none;
}

.pagination li.first span,
.pagination li.last span,
.pagination li.previous span,
.pagination li.next span {
	position: absolute;
	top: -9999px;
	left: -9999px;
}

.pagination li.first a::before,
.pagination li.last a::after,
.pagination li.previous a::before,
.pagination li.next a::after {
	display: inline-block;
	font-family: FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
}

.pagination li.first a::before { content: "\f100"; }
.pagination li.last a::after { content: "\f101"; }
.pagination li.previous a::before { content: "\f104"; }
.pagination li.next a::after { content: "\f105"; }

/* ==========================================================
   関連記事・前後の記事
   ========================================================== */
#related-entries h2 {
	margin: 19.92px 0;
	padding: 0;
	border: 0;
	font-size: 24px;
	line-height: 31.2px;
}

.related-entry {
	clear: both;
	margin: 0 10px 20px 0;
	line-height: 150%;
}

.related-entry-thumb {
	float: left;
	margin: 3px 0 5px;
	padding-bottom: 5px;
}

.related-entry-thumb a {
	display: block;
}

.related-entry-thumb img {
	display: block;
	width: 100px;
	height: 100px;
	border: 0;
}

.related-entry-content {
	margin-left: 110px;
}

.related-entry-title {
	margin: 18.72px 0 5px;
	font-size: 18.72px;
	line-height: 130%;
}

.related-entry-title a {
	color: #333;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
}

.related-entry-snippet {
	margin: 0 0 5px;
	color: #555;
	word-wrap: break-word;
}

.related-entry-read {
	margin: 0;
	font-size: 14px;
}

.related-entry-read a {
	color: #111;
}

.navigation {
	clear: both;
	overflow: hidden;
	margin: 20px -30px 40px;
}

.navigation > div {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.navigation > div + div {
	border-top: 0;
}

.navigation a {
	display: block;
	padding: 1em;
}

.navigation a span {
	margin-top: -4px;
	padding-right: 10px;
	color: #ddd;
	clear: left;
}

.navigation a:hover {
	background: #eee;
}

/* ==========================================================
   サイドバー
   ========================================================== */
.sidebar .widget,
.sidebar .widget:last-child,
.widget-area .widget {
	margin: 0 0 30px;
	padding: 0;
	background-color: #fff;
	box-shadow: 0 0 2px 2px #fff;
	font-size: 16px;
	line-height: 24px;
}

.sidebar .widget .widget-title {
	margin: 20px 0 10px;
	padding: 5px 0 3px 8px;
	border-bottom: 5px solid #349b4a;
	border-left: 2px solid #349b4a;
	background-color: #fff;
	color: #333;
	font-size: 20px;
	font-weight: bold;
	line-height: 26px;
}

.sidebar .widget ul {
	margin: 16px 0;
	padding: 0 0 0 16px;
}

.sidebar .widget ul li {
	margin: 0;
	padding: 0;
}

/* 新着記事 */
.sidebar .widget_new_entries ul.new-entrys {
	margin: 16px 0;
	padding: 0;
	list-style: none;
}

.widget_new_entries .new-entry {
	clear: both;
	margin: 0 0 5px;
}

.sidebar .widget_new_entries .new-entry-thumb img {
	float: left;
	width: 75px;
	height: 75px;
	margin: 3px 5px 10px 0;
}

.widget_new_entries a {
	color: #111;
	text-decoration: none;
}

.widget_new_entries a:hover {
	color: #a1db23;
}

/* 更新履歴（年ごとに折りたたみ） */
.sidebar .widget_archive,
.sidebar .widget_media_image {
	line-height: normal;
}

.sidebar .widget_archive ul.years {
	margin: 16px 0;
	padding: 0 0 0 16px;
	list-style: none;
}

.sidebar .widget_archive ul.years ul {
	margin: 0 0 16px;
	padding: 0 0 0 16px;
	list-style: none;
}

.widget_archive a.year {
	cursor: pointer;
	text-decoration: underline;
}

.widget_archive ul.years .hide {
	display: none;
}

.widget_archive a {
	text-decoration: underline;
}

/* バナー画像 */
.widget_media_image img {
	display: inline;
	max-width: 100%;
	height: auto;
	vertical-align: baseline;
}

/* ==========================================================
   フッター
   ========================================================== */
.site-footer {
	background: transparent;
}

#footer {
	clear: both;
	padding: 5px;
	background-color: #353535;
	color: #fff;
}

#footer-in {
	width: 1106px;
}

#footer a {
	color: #fff;
	text-decoration: none;
}

#footer a:hover {
	color: #a1db23;
}

#copyright {
	padding: 20px 0;
	font-size: 80%;
	text-align: center;
}

#footer-navi ul {
	margin: 12.8px 0;
	padding-left: 0;
	text-align: center;
}

#footer-navi ul li {
	display: inline;
	list-style: none;
}

#footer-navi ul li::before {
	content: "|";
	padding: 0 .6em;
}

#footer-navi ul li:first-child::before {
	content: "";
	padding: 0;
}

/* トップへ戻る */
#page-top {
	position: fixed;
	right: 10px;
	bottom: 10px;
	z-index: 100;
	visibility: hidden;
	opacity: 0;
	transition: opacity .6s, visibility .6s;
}

#page-top.is-visible {
	visibility: visible;
	opacity: 1;
}

#page-top a {
	display: block;
	padding: 7px;
	border-radius: 4px;
	background-color: #349b4a;
	color: #dfffce;
	font-size: 11px;
	line-height: 100%;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

#page-top a:hover {
	opacity: .7;
}

/* ==========================================================
   2列表示（[wc_row][wc_column] の再現）
   ========================================================== */
.wc-shortcodes-row {
	margin: 0 0 16px;
}

.wc-shortcodes-row::after {
	content: "";
	display: table;
	clear: both;
}

.wc-shortcodes-column {
	float: left;
	box-sizing: border-box;
	margin-left: 4%;
}

.wc-shortcodes-column-first {
	margin-left: 0;
}

.wc-shortcodes-one-half { width: 48%; }
.wc-shortcodes-one-third { width: 30.66%; }
.wc-shortcodes-two-third { width: 65.33%; }
.wc-shortcodes-one-fourth { width: 22%; }
.wc-shortcodes-three-fourth { width: 74%; }

/* ==========================================================
   タブレット（640〜1110px）：旧 responsive-pc.css 相当
   ========================================================== */
@media screen and (max-width: 1110px) {
	.st-inner,
	#footer-in,
	.site.grid-container {
		width: 740px;
		max-width: 100%;
	}

	.site-content {
		display: block;
	}

	.site-content .content-area,
	.right-sidebar .site-content .content-area,
	.site-content .is-right-sidebar,
	.right-sidebar .site-content .is-right-sidebar {
		width: auto;
		flex: none;
	}

	.site-content .is-right-sidebar {
		padding: 15px;
	}

	#mobile-menu {
		display: block;
	}

	#navi ul,
	.top-sns-follows {
		display: none;
	}

	#navi {
		border-bottom: 0;
	}
}

/* ==========================================================
   スマホ（639px 以下）：旧 mobile.css / narrow.css 相当
   ========================================================== */
@media screen and (max-width: 639px) {
	.st-inner,
	#footer-in,
	.site.grid-container {
		width: 100%;
	}

	#navi {
		box-shadow: 2px 2px 2px 2px #e1e1e1;
	}

	.top-title-catchphrase {
		padding-left: 10px;
		padding-right: 10px;
	}

	#site-title {
		font-size: 20px;
		margin-right: 0;
	}

	#site-description {
		font-size: 14px;
	}

	.one-container.right-sidebar .site-main,
	.site-main {
		padding: 10px;
		border: 0;
	}

	.article h1,
	.article .entry-title {
		margin-top: 6px;
	}

	.article h2 {
		margin: 30px 0;
		padding: 15px;
		font-size: 20px;
	}

	#archive-title {
		font-size: 20px;
	}

	#related-entries h2 {
		margin: 16.6px 0;
		font-size: 20px;
		line-height: 26px;
	}

	#navi {
		background-color: transparent;
	}

	.site-content .is-right-sidebar,
	.right-sidebar .site-content .is-right-sidebar {
		margin-bottom: 0;
	}

	.post-meta,
	.article .post-meta,
	.footer-post-meta {
		text-align: left;
	}

	.sns-group-viral ul.snsb li {
		width: 49%;
	}

	.sns-group-viral ul.snsb li a {
		font-size: 15px;
	}

	.article br {
		display: block;
	}

	.sidebar .widget .widget-title {
		margin-top: 18px;
		font-size: 18px;
		line-height: 23.4px;
	}

	#archive-title {
		margin: 13.4px 0;
		line-height: 26px;
	}

	.navigation {
		margin: 30px 0;
	}

	.wc-shortcodes-column,
	.wc-shortcodes-row .wc-shortcodes-column {
		float: none;
		width: 100%;
		margin-left: 0;
	}

	/* 一覧カード・関連記事（narrow.css） */
	#main .entry-card,
	#main .related-entry {
		margin-bottom: 23px;
	}

	.entry-card .entry-thumb,
	.related-entry .related-entry-thumb {
		float: left;
		margin: 5px 6px 0 0;
		padding: 0;
		text-align: center;
	}

	.related-entry .related-entry-thumb {
		margin-top: 0;
	}

	.entry-card .entry-thumb img,
	.related-entry-thumb img {
		width: 100px;
		height: 100px;
		margin-bottom: 10px;
	}

	.entry-card-content,
	.related-entry-content {
		margin-left: 110px;
	}

	.entry-card h2,
	.entry-card h2 a {
		font-size: 18px;
		line-height: 100%;
	}

	.entry-card .post-meta {
		margin: 7px 0 5px;
		font-size: 13px;
		line-height: 130%;
	}

	.entry-card .entry-snippet,
	.related-entry .related-entry-snippet {
		margin-bottom: 5px;
		font-size: 13px;
		line-height: 130%;
	}

	.entry-read a,
	.related-entry-read a {
		display: block;
		margin: 0;
		padding: 3px;
		border: 1px solid #ddd;
		border-radius: 10px;
		background-color: #eee;
		color: #111;
		font-size: 80%;
		text-align: center;
		text-decoration: none;
	}

	#page-top {
		right: 0;
		bottom: 0;
	}

	#page-top a {
		margin: 0 5px 5px 0;
		font-size: 12px;
	}
}

/* ページ送り：500px 以下は現在のページ番号と矢印だけ表示（旧サイトと同じ） */
@media screen and (max-width: 500px) {
	.pagination li {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	.pagination li.current,
	.pagination li.first,
	.pagination li.last,
	.pagination li.previous,
	.pagination li.next {
		position: static;
	}

	.pagination li.previous a {
		border-left-width: 0;
	}
}

/* ==========================================================
   日程表（My Calendar の月表示）
   旧 All-in-One Event Calendar の月表示に合わせる
   ========================================================== */
body .mc-main {
	/* My Calendar の色の変数を上書き（設定画面の「スタイル」を触らずに済むように） */
	--nav-button-bg: #fff;
	--nav-button-color: #333;
	--nav-button-border: #ccc;
	--grid-cell-border: #ddd;
	--grid-header-border: #ddd;
	--grid-header-color: #9e9e9e;
	--grid-weekend-color: #9e9e9e;
	--grid-header-bg: #f6f6f6;
	--grid-weekend-bg: #f6f6f6;
	--grid-cell-background: #fff;
	--current-day-border: transparent;
	--current-day-color: inherit;
	--current-day-bg: #ffffdd;
	--date-has-events-bg: #eaf4ff;
	--date-has-events-color: #626ba6;
	margin: 15px 0;
	font-size: 14px;
	line-height: 1.4;
}

body .mc-main thead {
	border-bottom: 1px solid #ddd;
}

/* 記事用の見出し装飾をカレンダー内では使わない */
.article .mc-main h2,
.article .mc-main h3 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: inherit;
	line-height: inherit;
}

/* 月の見出し（2026年10月） */
.article .mc-main h2.heading {
	margin: 0 0 8px;
	color: #333;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
}

/* 前月・今月・翌月のボタン */
.mc-main .my-calendar-header,
.mc-main .my-calendar-nav ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mc-main .my-calendar-nav {
	margin: 0 0 8px;
}

.mc-main .my-calendar-nav li {
	margin: 0;
}

.mc-main .my-calendar-nav .mc-navigation-button {
	margin: 0 -1px 0 0;
	padding: 6px 12px;
	border: 1px solid #ccc;
	border-radius: 0;
	background: #fff;
	color: #333;
	font-size: 12px;
	line-height: 1.4;
	cursor: pointer;
}

.mc-main .my-calendar-nav li:first-child .mc-navigation-button {
	border-radius: 4px 0 0 4px;
}

.mc-main .my-calendar-nav li:last-child .mc-navigation-button {
	border-radius: 0 4px 4px 0;
}

.mc-main .my-calendar-nav .mc-navigation-button:hover,
.mc-main .my-calendar-nav .mc-navigation-button:focus {
	background: #eee;
	color: #333;
}

.mc-main .my-calendar-nav .mc-navigation-button.mc-active {
	font-weight: bold;
}

/* 表 */
.mc-main table.my-calendar-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	table-layout: fixed;
	border: 1px solid #ddd;
}

.mc-main .my-calendar-table th,
.mc-main .my-calendar-table th.weekend-heading {
	padding: 3px 5px;
	border: 1px solid #ddd;
	background: #f6f6f6;
	color: #9e9e9e;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
}

.mc-main .my-calendar-table th abbr {
	border: 0;
	text-decoration: none;
}

.mc-main .my-calendar-table td {
	height: 95px;
	padding: 0;
	border: 1px solid #ddd;
	background: #fff;
	vertical-align: top;
}

.mc-main .my-calendar-table td.nextmonth {
	background: #f5f5f5;
}

.mc-main .my-calendar-table td.current-day,
body .mc-main .current-day:not(.day .current-day, .list .current-day) {
	background: #ffffdd;
	outline: 0;
}

.mc-main .my-calendar-table td.nextmonth .mc-date-container {
	visibility: hidden;
}

/* 前後の月のマスには予定を出さない（旧カレンダーと同じ） */
.mc-main .my-calendar-table td.nextmonth .calendar-event {
	display: none;
}

/* 日付の帯 */
.mc-main .mc-date-container {
	padding: 0 4px;
	background: #eaf4ff;
	text-align: right;
}

.mc-main .mc-date,
.mc-main .has-events .mc-date,
.mc-main td .mc-date {
	display: block;
	padding: 0;
	background: transparent;
	color: #626ba6;
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}

.mc-main .mc-date .event-icon {
	display: none;
}

/* 予定（カテゴリの色の文字。長い名前は1行で切る） */
.mc-main .calendar-event .event-title {
	margin: 0;
	font-size: 12px;
	font-weight: normal;
}

.mc-main .calendar-event .event-title button,
.mc-main .calendar-event .event-title a {
	display: block;
	width: 100%;
	overflow: hidden;
	margin: 0;
	padding: 1px 4px;
	border: 0;
	background: transparent !important;
	font-size: 12px;
	font-weight: normal;
	line-height: 1.5;
	text-align: left;
	white-space: nowrap;
	text-overflow: ellipsis;
	cursor: pointer;
}

.mc-main .calendar-event .event-title-container {
	overflow: hidden;
	text-overflow: ellipsis;
}

.mc-main .calendar-event .event-title button:hover {
	text-decoration: underline;
}

/* カテゴリの凡例（予定の無い「General」は出さない） */
.mc-main .category-key {
	margin-top: 8px;
}

.mc-main .category-key .maybe-hide,
.mc-main .category-key .cat_general {
	display: none;
}

.mc-main .category-key ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mc-main .category-key .mc-navigation-button,
.mc-main .category-key .all-categories span {
	padding: 2px 6px;
	border: 0;
	background: transparent;
	color: #333;
	font-size: 12px;
	cursor: pointer;
}

@media screen and (max-width: 639px) {
	.mc-main .my-calendar-table td {
		height: 64px;
	}

	.mc-main .calendar-event .event-title button {
		padding: 1px 2px;
		font-size: 12px;
		text-overflow: clip;
	}

	.mc-main .calendar-event .event-title-container {
		text-overflow: clip;
	}
}

.mc-main .has-events .mc-date,
.mc-main td .mc-date .mc-day-number {
	font-weight: normal;
}

.mc-main .my-calendar-nav .mc-navigation-button.mc-active,
.mc-main .my-calendar-nav .mc-navigation-button:focus {
	outline: 0;
	box-shadow: none;
}

.mc-main .category-key .all-categories span,
.mc-main .category-key .mc-active {
	border: 0;
	outline: 0;
	text-decoration: underline;
}

.mc-main .my-calendar-nav .mc-navigation-button.mc-active {
	border: 1px solid #ccc;
	background: #fff;
}

@media screen and (max-width: 639px) {
	.article .mc-main h2.heading {
		font-size: 16px;
	}

	.mc-main .my-calendar-table th {
		padding: 2px;
		font-size: 11px;
	}

	.mc-main .mc-date-container {
		padding: 0 2px;
	}

	.mc-main .mc-date,
	.mc-main td .mc-date {
		font-size: 11px;
	}

	.mc-main .my-calendar-table td {
		height: 95px;
	}
}
