@charset "UTF-8";

/*投稿（トピックス）のみの背景指定*/
.top_topics-block,/*トップのトピックスセクション*/
.post-type-archive-post,/*archive.phpの全表示*/
.archive.category,/*archive.phpのカテゴリー表示時*/
.single-post/*シングル記事*/{
	/*background:#FCF6E9;*/
	background-image:url("../image/bg_ricepaper2_@2X.png");
	background-size: 485px auto;
	
}



/* --------------------------------------

投稿（トピックス）のwraper

-------------------------------------- */
/*主にスマホの左右padding*/
.post-wrap{
	padding-right: 6%;
	padding-left: 6%;
}

.post-content{
	background: #FFF;
	margin: auto;
	padding-top: 30px;
}
.post-content article{
		padding-left: 6%;
		padding-right: 6%;
	}

@media (min-width:769px){
	.post-content{
		max-width: 1000px;
		padding-top: 50px;
	}
	.post-content article{
		padding-left: 15%;
		padding-right: 15%;
	}
}
/* --------------------------------------

投稿（トピックス）の記事ヘッダーデザイン

-------------------------------------- */
.post-header{
	margin-bottom: 20px;
	font-family: YakuHanJP, source-han-sans-japanese, sans-serif;
}
.post-header h1{
	font-size: 2.4rem;
	margin-bottom: 20px;
}

.post-header_time-tag{
	background: #F5F1ED;
	padding: 10px 10px;
	border-radius: 3px;
	line-height: 1;
}
.post-header time{
	color: #555;
	font-size: 1.4rem;
	vertical-align: middle;
	margin-right: 10px;
}
.post-header span{
	background:#FFF;
	color: #555;
	font-size: 1rem;
	padding: 2px 10px;
	border-radius: 15px;
	font-weight: bold;
}
@media (min-width:768px){
	.post-header h1{
		font-size: 3rem;
		margin-bottom: 20px;
	}
}



/* --------------------------------------

お知らせ記事は.post-body下に設定

-------------------------------------- */

.post-body{
	font-family: YakuHanJP, source-han-sans-japanese, sans-serif;
}

/* --------------------------------------
記事ヘッダーの日付とタグ
-------------------------------------- */
.post-news-tag-header{
	display: flex;
	font-family: YakuHanJP, source-han-sans-japanese, sans-serif;
	vertical-align: baseline;
}
.post-news-tag-header time{
	font-size: 1.6rem;
	padding-right: 20px;
	letter-spacing: 0.15rem;
}
.post-news-tag-header .cat_tag{
	font-size: 1.3rem;
	background-color: #01A1E6;
	color: #FFF;
	display: block;
	text-align: center;
	width: 120px;
	line-height: 2rem;
	letter-spacing: 0.12rem;
}
/* --------------------------------------
記事ヘッダーのタイトル
-------------------------------------- */
.post-body h1{
	font-size: 2.8rem;
	line-height: 1.8;
	color:#3E3A39;
	margin: 40px 0;
	letter-spacing: 0.35rem;
	
	font-weight: 400;
	font-style: normal;
}
/* --------------------------------------
記事本文のスタイル
-------------------------------------- */
.post-body p{
	font-size: 1.6rem;
	line-height: 2;
	margin-bottom: 1em;
	letter-spacing: 0.15rem;
}

.post-body a{
	color:#006A9C;
	text-decoration:underline;
	transition-duration: 0.3s;
}
.post-body a:hover{
	color:#33009E;
}

.post-body h2{
	font-size: 2rem;
	margin-top: 3em;
	margin-bottom: 0.5em;
	font-weight: bold;
}
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6{
	font-size: 1.6rem;
	margin-top: 2em;
	margin-bottom: 0.5em;
	font-weight: bold;
}


/* --------------------------------------
キャプション
-------------------------------------- */
/*キャプション全て*/
.post-body figcaption{
	font-size: 1.2rem;
	line-height: 1.4;
	text-align: center;
}

/*テーブルのキャプション*/
.post-body .wp-block-table figcaption{
	padding-top: 5px;
}


/* --------------------------------------
リストスタイル
-------------------------------------- */

.post-body ol,
.post-body ul{
	margin-left: 2.5rem;
	margin-bottom: 1em;
}
.post-body li{
	line-height: 1.4;
	margin-bottom: 0.5em;
}
.post-body ul li{
	list-style-type:disc;
}
.post-body ol li{
	list-style-type:decimal;
}
/*入れ子（インデント）のマージン調整*/
.post-body li > ul,
.post-body li > ol{
	margin-top: 0.8rem;
}
/*入れ子の数字リストのローマン*/
.post-body li > ol > li{
	list-style-type: upper-roman;
}


/* --------------------------------------
セパレーター
-------------------------------------- */

hr.wp-block-separator{
	display: block;
}


/* --------------------------------------
テーブルデザイン
-------------------------------------- */

.post-body .wp-block-table{
	margin-bottom: 1em;
	font-size: 1.4rem;
}
.post-body .wp-block-table th{
	text-align: center;
}
/*標準テーブルのスタイル*/
.post-body .wp-block-table.is-style-regular th,
.post-body .wp-block-table.is-style-regular td{
	padding: 0.5em;
	border: 1px solid #333;
}
/*標準テーブルの見出しセル*/
.post-body .wp-block-table.is-style-regular thead{
	background: #F5F1ED;
	font-weight: bold;
}

/*ストライプスタイル共通*/
.post-body .wp-block-table.is-style-stripes th,
.post-body .wp-block-table.is-style-stripes td{
	padding: 0.8em 0.5em;
}
/*ストライプスタイルの見出しセル*/
.post-body .wp-block-table.is-style-stripes thead{
	border-bottom: 2px solid #3C3C3C;
	font-weight: bold;
}



/* --------------------------------------
フォトギャラリー
-------------------------------------- */

/*素のULのマージンリセット*/
.post-body ul.blocks-gallery-grid{
	margin: 0;
}
/*サファリのバグとり*/
.blocks-gallery-grid .blocks-gallery-image figure, .blocks-gallery-grid .blocks-gallery-item figure, .wp-block-gallery .blocks-gallery-image figure, .wp-block-gallery .blocks-gallery-item figure{
	height: auto!important;
}
.blocks-gallery-grid.is-cropped .blocks-gallery-image a, .blocks-gallery-grid.is-cropped .blocks-gallery-image img, .blocks-gallery-grid.is-cropped .blocks-gallery-item a, .blocks-gallery-grid.is-cropped .blocks-gallery-item img, .wp-block-gallery.is-cropped .blocks-gallery-image a, .wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a, .wp-block-gallery.is-cropped .blocks-gallery-item img{
	height: auto!important;
}

/*カラムの下マージン（主に600以下）*/
.post-body .wp-block-column{
	margin-bottom: 2rem;
}
@media (min-width:769px){
	.post-body .wp-block-column{
		margin-bottom: 0;
	}
}


/* --------------------------------------
メディア文章
-------------------------------------- */
/*ブロック下のマージン*/
.wp-block-media-text{
	margin-bottom: 2em;
}


/* --------------------------------------
一覧に戻るのリンク
-------------------------------------- */
.btn_back-postlist{
	margin-top: 60px;
	padding: 30px 0;
	border-top: 1px solid #DDDDDD;
	border-bottom: 1px solid #DDDDDD;
	text-align: center;
	vertical-align: baseline;
}

.btn_back-postlist a:before{
	content: "arrow_back_ios";
	font-family: "Material Icons";
	font-size: 1.4rem;
	color: #01A1E6;
}
.btn_back-postlist a:hover{
	color: #01A1E6;
}

/* --------------------------------------


お知らせ（投稿）一覧ページのスタイル


-------------------------------------- */
ul.post-list {
	margin: 0;
	
}
.post-list li{
	border-top: 1px dotted #CCC;
	position: relative;
	padding: 20px 0;
	list-style-type: none!important;
}
.post-list li:last-child{
	border-bottom: 1px dotted #CCC;
}

.time-tag{
	display: flex;
	font-family: YakuHanJP, source-han-sans-japanese, sans-serif;
	vertical-align: baseline;
	margin-bottom: 5px;
}
.time-tag time{
	padding-right: 20px;
}

/*タグ：お知らせ（通常）のカラー*/
.cat_tag{
	font-size: 1.2rem;
	background-color: #01A1E6;
	color: #FFF;
	text-align: center;
	width: 120px;
	line-height: 2rem;
	letter-spacing: 0.12rem;
	margin-right: 20px;
}
/*タグ：重要なお知らせのカラー*/
.cat_tag.important{background: #D60003;}
/*タグ：入試関連のカラー*/
.cat_tag.exam{background: #D5629E;}

/*タグ：保護者向け-通常のお知らせ*/
.cat_tag.news{background: #6BBAA4;}
/*タグ：保護者向け-重要なお知らせ*/
.cat_tag.news-imp{background: #D5629E;}


.post-list li a:hover{
	color:#01A1E6;
}

/*768以上で隠す*/
@media (min-width:768px){
	.post-list li{
		display: flex;
		align-items: flex-start;
	}
	.time-tag{
		margin-bottom: 0;
	}
}

.post-list a[target$="_blank"]::after {
	padding-left: .5em;
	content: url("icons/up-right-from-square-solid.svg");
	display: inline-block;
}

.post-list a[href$=".pdf"]::after {
	padding-left: .5em;
	content: url("icons/file-pdf-regular.svg");
	display: inline-block;
}
.post-list a[href$=".doc"]::after,
.post-list a[href$=".docx"]::after {
	padding-left: .5em;
	content: url("icons/file-word-regular.svg");
	display: inline-block;
}
.post-list a[href$=".xls"]::after,
.post-list a[href$=".xlsx"]::after {
	padding-left: .5em;
	content: url("icons/file-excel-regular.svg");
	display: inline-block;
}
.post-list a[href$=".ppt"]::after,
.post-list a[href$=".pptx"]::after {
	padding-left: .5em;
	content: url("icons/file-pdf-regular.svg");
	display: inline-block;
}


/* --------------------------------------


ページナビプラグイン スタイル


-------------------------------------- */
.wp-pagenavi{
	text-align: center;
	position: relative;
	padding-top: 50px;
	padding-bottom: 25px;
}
.wp-pagenavi .pages{
	font-size: 1.2rem;
	color: #666;
	vertical-align: middle;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}
.previouspostslink,
.nextpostslink{
	padding: 3px 7px;
	font-size: 2rem;
}
a.previouspostslink,
a.nextpostslink{
	color:#989898;
	display: inline-block;
}
a.previouspostslink:hover,
a.nextpostslink:hover{
	color:#01A1E6;
}
.wp-pagenavi .current{
	color: #666;
}
.wp-pagenavi .page,
.wp-pagenavi .current{
	border: 1px solid #CBCBCB;
	padding: 3px 7px;
	border-radius: 3px;
	margin: 0 2px;
}
.wp-pagenavi a.page{
	color: #FFF;
	background-color: #82C0DA;
	border: #82C0DA;
}
.wp-pagenavi a.page:hover{
	background-color: #01A1E6;
}
.wp-pagenavi a{
	text-decoration: none;
}