@charset "utf-8";
/*
Theme Name: Wp site general purpose theme
Description: WPサイト用汎用テーマ
Author: TM
Version: 1.231222.000
Text Domain: wp-site-gp-theme
License: このテーマは一般公開していません。このテーマを無断で使用する事を禁じます。
License URI: https://www.core-tus.com/
Theme URI: https://www.core-tus.com/
Author URI: https://www.core-tus.com/
Tags: two-columns, right-sidebar
*/



/*===================================
WP 必須スタイル */
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption,
.gallery-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}
.size-auto,
.size-full,
.size-large,
.sticky {}
.bypostauthor {}



/*===================================
WP 全体 */

/* 下層ページタイトル内 */
#sub_TH_ImgTitle .titleFlex {
	display: inline-flex;
	flex-flow: column;
	gap: 0.3em;
}
@media (min-width: 768px){
	#sub_TH_ImgTitle .titleFlex {
		justify-content: center;
		flex-flow: row wrap;
	}
}
#sub_TH_ImgTitle .icon {
	display: flex;
	align-items: center;
	font-size: 0.6em;
	padding: 0.1em 0.7em;
	border-radius: 3px;
	background-color: #303030;
}
/* サイドバー付きページ メインコンテンツ内 */
#multicolumnedContents {
	display: flex;
	justify-content: space-between;
  flex-wrap: wrap;
	gap: 30px;
}
#mainContents {
  order: 0;
	flex: 1;
  margin-bottom: 2rem;
}
#sideContents {
  order: 1;
  flex-basis: 100%;
  margin-bottom: 2rem;
}
/* メインとサイド縦並び */
@media screen and ( max-width:680.9px ){
  #sideContents {
      border: 1px solid #c5c5c5;
      border-radius: 5px;
      padding: 2rem 1.5rem 1.5rem;
  }
}
/* メインとサイド横並び */
@media screen and ( min-width:681px ){
  #mainContents {
    flex-basis: calc(100% - 260px);
  }
  #sideContents {
    flex-basis: 230px;
    padding: 0;
  }
}

/* 投稿記事内スタイル */
.contentText {
  display: flow-root;
}
.contentText p {
  margin: 0 auto 1.5em;
}
.contentText img {
	max-width: 100%;
	height: auto;
}

/* 必須米印 */
span.required {
    color: #ff0000;
    font-weight: bold;
}

/* 画像表示最大サイズ */
.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail,
.size-eyecatchPostDetail {
    max-width: 100%;
    height: auto;
}

/* 検索結果件数表示 */
.title-findNum {
	display: none;
}



/*===================================
WP メインコンテンツ （#mainContents） */

#mainContents .postPreTitleInfo ul {
	display: flex;
	gap: 0.2em;
	list-style: none;
	padding: 0;
}

/* タイトル全体 */
#mainContents .post h2 {
	font-size: 26px;
	border-bottom: 1px solid #ccc;
	margin: 0 auto 0.4em;
}
#mainContents .post h2 a {
	text-decoration: none;
	color: currentColor;
}

/* 未分類カテゴリ非表示
#mainContents .post a[href$="?cat=1"],
#mainContents .post a[href$="%e6%9c%aa%e5%88%86%e9%a1%9e/"]{
	display: none !important;
} */

/* パンくずリスト */
.breadcrumb {
	margin: 0 auto 2em;
}
#breadcrumb > ul {
	margin: 0;
	padding: 0;
}
#breadcrumb > ul > li {
	display: inline;
}
#breadcrumb > ul > li:after {
	content: ' > ';
}
#breadcrumb > ul > li:last-child:after {
	display: none;
}
#breadcrumb .pageTitle {
	display: inline-flex;
	gap: 0.4em;
}
#breadcrumb .icon {
	display: flex;
	align-items: center;
	font-size: 0.8em;
	padding: 0.1em 0.5em;
	border-radius: 3px;
	background-color: #e7e7e7;
}

/* その他 */
.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
    max-width: 100%;
    height: auto;
}


/*===================================
WP 投稿 一覧・詳細 共通 （.post） */

.post {
    margin: 0 auto 70px;
}

/* 日付・カテゴリなどの情報 */
.post .postPreTitleInfo {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.2em 1em;
	margin-bottom: 0.2em;
	font-size: 12px;
}

/* 見出し内アイコン共通 */
.post .postPreTitleInfo ul li a {
    display: inline-block;
    border-radius: 0.2em;
    padding: 0.2em 0.5em;
    font-size: 0.8em;
    vertical-align: middle;
}

/* カテゴリーアイコン */
.post .postPreTitleInfo > .postCategory a {
    border: 1px solid #9a9a9a;
    background-color: #9a9a9a;
    color: #fff;
    text-decoration: none;
}

/* タグアイコン */
.post .postPreTitleInfo > .postTags a {
    border: 1px solid #9a9a9a;
    color: #9a9a9a;
    text-decoration: none;
}

@media (max-width: 767.9px){
	.postPreTitleInfo :is(.postCategory, .postTags) {
		flex: 1 0 auto;
	}
	#mainContents .postPreTitleInfo ul,
	.post .postPreTitleInfo ul li {
		flex: 1 0 auto;
	}
	.post .postPreTitleInfo > :is(.postCategory, .postTags) a {
		text-align: center;
		width: 100%;
	}
}

/* アイキャッチ画像 */
.post .postCatchImg img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid #e1e1e1;
}

/* 本文 */
.post .contentText .leadMoreBox {
	text-align: right;
	font-size: 1.1em;
	font-weight: bold;
	margin-top: 1em;
}




/*===================================
WP 投稿 一覧 （.postList） */

.postList .postContent {
	display: grid;
	gap: 1em;
}
@media (min-width: 767px){
	.postList .contentText {
		flex-basis: 100%;
	}
	.postList .postContent {
		display: flex;
	}
	.postContent .postCatchImg {
		flex: 0 0 150px;
	}
}




/*===================================
WP 投稿 一覧 SNS ボタン */

.addtoany_share_save_container.addtoany_content_bottom {
    margin: 20px auto 0;
}
.addtoany_list.a2a_kit_size_32 a>span {
    height: 22px;
    line-height: 22px;
    width: 22px;
}
span.a2a_count {
    line-height: 22px!important;
    height: 22px!important;
    font-size: 10px!important;
}




/*===================================
WP 投稿 一覧 ページネーション （.paginateParent） */

.paginateParent {
text-align: center;
}

.pagination {
	display: inline-flex;
	gap: 2px;
	padding: 20px 0;
	position: relative;
	font-size: 11px;
	line-height: 13px;
}
 
.pagination :is(span, a) {
	display: block;
	padding: 6px 9px 5px 9px;
	text-decoration: none;
	width: auto;
	color: #fff;
	background: #555;
}

.pagination :is(a:link, a:visited) {
	color: #fff;
}
 
.pagination :is(a:hover, .current) {
	color:#fff;
	background: #3279BB;
}




/*===================================
WP 投稿 詳細 （.postDetail） */

.single .postDetail .post {
    margin-bottom: 0;
}

/* アイキャッチ画像 */
.single .postDetail .postCatchImg {
	margin: 0 auto 1em;
	width: 100%;
	text-align: center;
}
.single .postDetail .postCatchImg img {
	width: 100%;
	height: auto;
	max-height: 500px;
	object-fit: cover;
	object-position: center;
}

/* 本文 */
@media (max-width: 767.9px){
	.wp-block-image :is(.alignleft, .alignright) {
		width: 100%;
	}
	.wp-block-image :is(.alignleft, .alignright) img {
		width: 100%;
	}
}

/* 記事内分割ページネーションボタン */
.link_page_navi {
	padding: 1em 0 0;
	text-align: center;
}
.link_page_navi li {
	display: inline-block;
	padding: 0 0.5em;
	background-color: #ccc;
}

/* SNSボタン */
/* AddToAny Share Buttons */
.single .addtoany_share_save_container.addtoany_content_bottom {
    border-top: 1px solid #ccc;
    padding: 20px 0;
    margin: 80px auto 40px;
    text-align: right;
}
/* WP Social Bookmarking Light */
.single .wp_social_bookmarking_light:before {
    content: "";
    display: block;
    border-top: 1px solid #ccc;
    margin: 40px auto 0;
    padding: 10px;
}

/* コメント基本 */
#comments .comments_list {
    padding: 0;
    list-style: none;
}
#comments input,
#comments textarea {
    padding: 0.5em;
}

/* コメント入力欄 */
#comments #respond {
    margin: 30px auto;
}
#comments #respond form textarea {
    width: 100%;
}
#comments #respond form > p > label:first-child {
    display: block;
    margin: 0.5em auto 0;
}
#comments #respond form .form-submit {
    margin: 1em auto;
}

/* コメント一覧 */
#comments {
	padding: 0 0 20px;
	margin: 20px auto;
	border-bottom: 1px solid #ccc;
}
#comments .vcard {
    margin: 0 auto 5px;
}
#comments .reply {
    margin: 5px auto auto;
}
#comments .comments_list {
    margin: 0;
}
#comments .comments_list .children {
	margin-left: 2em;
	list-style: none;
	padding-left: 0;
}
#comments .comments_list .comment {
    margin: 1em auto;
}
#comments .comment-meta {
    display: inline-block;
    font-size: 0.7em;
    padding: 0.2em 1em;
    border-radius: 0.2em;
    margin: 1em 0;
    border: 1px solid #ccc;
    background-color: #fff;
}
#comments .comment-body {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    padding: 1em;
    color: initial;
}
#comments .comment-body a {
    color: initial;
}
#comments_link {
    display: table;
    width: 100%;
}
#comments_link a {
    display: table-cell;
    width: 50%;

    text-align: center;
}
#comments h3 {
    padding: 0.2em 0em;
    font-size: 1em;
    border-bottom: 2px solid #ccc;
    margin: 0 auto 0.4em;
}
#comments .comment-notes {
    font-size: 0.8em;
}
#comments label {
    font-size: 0.9em;
}

/* 次の記事・前の記事ページ送り */
.paging {
    width: 100%;
    display: table;
    table-layout: fixed;
    font-size: 1.2em;
    line-height: 1.5;
}
.paging > div {
    display: table-cell;
}
.paging .next {
	text-align: right;
}
.paging .prev a {
	padding: 2em 2em 2em 0;
}
.paging .next a {
	padding: 2em 0 2em 2em;
}




/*===================================
WP サイドバー （#sideContents, Wordpress 標準 / カスタム 共通） */

#sideContents {
  font-size: 0.9em;
  list-style: none;
}

/* リスト項目 */
.sideContent,
.widget {
	margin: 0 auto 4em;
}
.sideContent ul,
.widget ul {
	margin: 0 auto 1.5em 5px;
	list-style: none;
	padding: 0;
}
.sideContent ul li,
.widget ul li {
	/* padding: 0 0 0.5em; */
	border-bottom: 1px dotted #ccc;
	margin-bottom: 0.65em;
}
.sideContent ul li a,
.widget ul li a {
	color: currentColor;
	display: inline-block;
	padding: 0 0 0.5em;
}
.sideContent ul .children {
    margin-left: 1em;
    margin-bottom: 0;
}
.sideContent ul .children .cat-item {
	border-bottom: none;
	border-top: 1px dotted #ccc;
	padding: 0.5em 0 0;
	margin: 0;
}
.sideContent .postTypeItem {
	margin: 0 0 1.5em 5px;
	/*background-color: #f9f9f9;*/
}
.sideContent .postTypeItem ul,
.widget .postTypeItem ul {
	margin-bottom: 0;
	margin-left: 15px;
}

.searchformOptionItem {
	display: flex;
	gap: 5px;
	align-items: center;
	justify-content: space-between;
	margin: 6px 0;
}
.searchItemTitle {
	display: flex;
	align-items: baseline;
	flex: 1 0 max-content;
	line-height: 1;
	white-space: nowrap;
}

/* タイトル */
.widget-title {
	display: flex;
	gap: 0.5em;
	align-items: baseline;
	font-size: 1.4em;
	margin-bottom: 1.1em;
}
.widget-title::after {
	content: '';
	border: none;
	border-top: 1px solid #919090;
	flex: 1;
}
/*h3.widget-title-sub {
	display: flex;
	gap: 0.3em;
	font-size: 1em;
	margin: 0 0 0.5em;
}
h3.widget-title-sub::before {
	content: '■';
}*/
.widget-title-sub {
	display: inline-block;
	padding: 0.5em 0.5em 0.3em;
	line-height: 1;
	background-color: #6c6c6c;
	color: #fff;
	font-size: 0.7em;
	font-weight: normal;
	margin: 0 0 1.1em;
}

/* タグクラウド */
ul.wp-tag-cloud li {
    display: inline-block;
    border: none;
    padding: 0.1em;
}
.wp-tag-cloud .tag-cloud-link {
	padding: 0;
	line-height: 1;
}

/* 新着記事一覧 */
.widget_widgetitemphotorecent .post_list > a {
	display: flex;
	gap: 0.8em;
	align-items: center;
	color: currentColor;
}
.widget_widgetitemphotorecent .wp-post-image {
	display: block;
	border: 1px solid #d7d7d7;
}




/*===================================
WP サイドバー （#sideContents, カスタム） */

/* 検索フォーム */
.side-Theme #sidesearchform .searchformItem {
    margin-left: 5px;
}
.side-Theme #sidesearchform .searchformItem form {
	width: 100%;
}
.side-Theme #sidesearchform .inputs {
	display: flex;
	gap: 5px;
}
.side-Theme #sidesearchform :is(.s, .search-field) {
	flex-grow: 1;
  border: 1px solid #D6D6D6;
  margin: 0;
  height: 24px;
  width: 170px;
  vertical-align: middle;
}
.side-Theme #sidesearchform :is(.searchsubmit, .search-submit) {
  border: 1px solid #999;
  background: #484848;
  padding: 3px 0;
  color: #FFF;
  font-size: 0.9em;
  width: 48px;
  cursor: pointer;
}
.side-Theme #sidesearchform .postform {
  height:24px;
  width: calc(100% - 5em);
  float: none;
  display: inline-block;
}




/*===================================
WP サイドバー （#sideContents, Wordpress 標準） */

/* 検索バー */
.side-WP #searchform {
    margin: 0 auto 10px;
}
.side-WP #searchform > div {
    overflow: hidden;
}
.side-WP #searchform > div > * {
    display: block;
    float: left;
}
.side-WP #searchform > div > *:first-child,
.side-WP #searchform > div > *:last-child {
    width: calc((100% - 170px) / 2);
}
.side-WP #searchform > div > *:last-child {
    cursor: pointer;
}
.side-WP #searchform > div > *:nth-child(2) {
    width: 160px;
    margin: 0 3px;
}

/* タイトル */
.side-WP #sideContents .widget-title {
    font-size: 1.4em;
    margin: 0 auto 0.5em;
    border-width: 4px;
}