/*
# Copyright (C) 2018 IBRAIN. All Rights Reserved. 
# 無断転載を禁じます。 
*/

/*
Theme Name: funpunyawa
*/

/* -----------------------------------
■共通設定
----------------------------------- */

*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}


html {
	/* 文字の大中小がある場合、bodyに設定したサイズが上書きされるため「html」に設定。 */
	font-size: 120%;
}

body {
	margin: 0;
	padding: 0;
	letter-spacing: 0.05em;
	/* フォント関係の処理の追加（※header で googleフォントの Kosugi Maru 読み込んでいる） */
	font-family: 'Kosugi Maru', sans-serif;
	/* ここまで */
}

header, main, aside, footer{
    display: block;
	margin: 0;
    padding: 0;
}

a {
	-webkit-transition: all 0.5s ease-out;  /* Saf3.2+, Chrome */
	-moz-transition: all 0.5s ease-out;  /* FF4+ */
	-ms-transition: all 0.5s ease-out;  /* IE10? */
	-o-transition: all 0.5s ease-out;  /* Opera 10.5+ */
	transition: all 0.5s ease-out;
}

a:link {
	color:#3333FF;
	text-decoration: underline;
}
a:visited {
	color:#3333FF;
	text-decoration: underline;
}
a:hover, a:active, a:focus {
	color:#DD5555;
	text-decoration: none;
}


a img{
	-webkit-transition: all 0.5s ease-out;  /* Saf3.2+, Chrome */
	-moz-transition: all 0.5s ease-out;  /* FF4+ */
	-ms-transition: all 0.5s ease-out;  /* IE10? */
	-o-transition: all 0.5s ease-out;  /* Opera 10.5+ */
	transition: all 0.5s ease-out;
}
a:hover img{
	opacity: 0.5;
}

ul{
	font-size:100%;
}
ul li{
	font-size:100%;
}
ul li ul{
	font-size:100%;
}
ul li ul li{
	font-size:100%;
}
ul li ul li ul{
	font-size:100%;
}
ul li ul li ul li{
	font-size:100%;
}

img{
	max-width:100%;
	height:auto;
}

/* ↓安易に設定するとレイアウト（アクセシビリティボタンなど）に影響（メイン内のみに効かせる）　 */

main ul,main ol{
	margin-bottom:20px;
}
main ul li,main ol li{
	line-height: 1.5em;
	margin-bottom: 10px;
}
main ol{
	margin-left:0;
}
main ol li{
	margin-left:0.5em;
	padding-left:0;
}
main img{
	max-width:100%;
	height:auto;
}


/* -----------------------------------
■カスタムテーマ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;
}
 
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
 
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 {
    background: #eee;
    border: 1px solid #ddd;
    max-width: 96%;
    padding: 10px;
}
 
.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 {
    margin: 0;
    padding: 5px 0;
}

/* -----------------------------------
■基本レイアウト
----------------------------------- */

/* ページTOP */
#pageTop a {
	font-family: "Sawarabi Mincho", serif;
	z-index: 999999;
	right: 2.5%;
	bottom: 5%;
	position: fixed;
	display: inline-block;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: #FFF;
	text-decoration: none;
	color: #131719;
	border: 1px solid rgba(0,0,0,1);
	box-sizing: content-box;
}
#pageTop a:hover {
	background: #881100;
	color: #FFF;
}

#pageTop a span {
	position: absolute;
	display: inline-block;
	left: 0;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	width : 150px;
	text-align: center;
	font-size: 18px;
	line-height: 1.3;
}
#pageTop a span::after{
	position: absolute;
	margin: auto;
	content: "";
	vertical-align: middle;
}
#pageTop a span::after{
	top: -24px;
	right: 0;
	left: 0;
	width: 11px;
	height: 11px;
	border-top: 2px solid #881100;
	border-right: 2px solid #881100;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
#pageTop a:hover span::after{
	border-color: #FFF;
}

/* -----------------------------------
■ヘッダー
----------------------------------- */

/* ヘッダ詳細 */

header {
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

.headerNest {
	width: 90%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 40px 0;
	text-align:center;
}

/* -----------------------------------
■コンテンツ
----------------------------------- */

.contentsNest {
	width: 90%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0;
}
.contentsHead{
	background:#881100;
	background:#043b83;
	background:#002288;
	background:#11AAEE;
	text-align:center;
}
.contentsHead .contentsNest {
	width: 100%;
}
.contentsMain{
	background:#CCCCFF;
	text-align:center;
}
.contentsMainNest{
	position:relative;
	max-width: 1600px;
	width: 100%;
	background:#FFFFFF;
	text-align:center;
	margin: 0 auto;
	padding: 10px auto 0;
}
.contentsMainNest:before{
	position:absolute;
	content:"　";
	top:0;
	left:0;
	width:5%;
	height:100%;
	background: linear-gradient(90deg, #CCCCFF, #FFFFFF);
	background: -moz-linear-gradient(0deg, #CCCCFF, #FFFFFF);
	background: -webkit-linear-gradient(0deg, #CCCCFF, #FFFFFF);
	background: -ms-linear-gradient(0deg, #CCCCFF, #FFFFFF);
}
.contentsMainNest:after{
	position:absolute;
	content:"　";
	top:0;
	right:0;
	width:5%;
	height:100%;
	background: linear-gradient(270deg, #CCCCFF, #FFFFFF);
	background: -moz-linear-gradient(180deg, #CCCCFF, #FFFFFF);
	background: -webkit-linear-gradient(180deg, #CCCCFF, #FFFFFF);
	background: -ms-linear-gradient(180deg, #CCCCFF, #FFFFFF);
}

/* メイン詳細 */

main {
	width: 100%;
	margin: 0 auto;
}

/* -----------------------------------
■フッター
----------------------------------- */

/* フッター詳細 */

footer {
    text-align: center;
    background:#000000;
}

.footerNest {
	width: 90%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0.8em 0;
	color:#FFFFFF;
	font-size:90%;
}
.footerFlex {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: center;
}
.footerBlockA {
	order: 3;
	flex-basis: 96px;
}
.footerBlockB {
	order: 2;
	flex-basis: auto;
}
.footerBlockC {
	order: 1;
	flex-basis: 96px;
}

/* -----------------------------------
■見出し
----------------------------------- */

/* ◆見出し◆ */
.catCaption{
	font-family: "Sawarabi Mincho", serif;
	text-align: center;
	font-weight: normal;
	color: #FFFFFF;
	font-size: 55px;
	letter-spacing: 1em;
	margin: 0;
	padding: 0.7em 0 0.7em 0;
	line-height: 1.2;
}
[data-ruby] {
	position: relative;
}
[data-ruby]::before {
	content: attr(data-ruby);
	position: absolute;
	top: -0.5em;
	left: 0;
	right: 0;
	margin: auto;
	font-size: 0.3em;

	letter-spacing: 0em;
	text-indent: -3.33em;
}
#breadcrumb [data-ruby]::before {
	display:none;
}


h1 {
	width:100%;
	font-family: "Sawarabi Mincho", serif;
	font-size: 33px;
	font-weight: normal;
	color: #000000;
	line-height: 1.5;
	text-align:left;
	margin:0 auto 40px;
	padding: 0;
}
.contentsMainNest h1{
	width:78%;
}

h2 a:link {
	text-decoration: none;
}
h2 a:visited {
	text-decoration: none;
}
h2 span {
	font-size: 19px;
	color: #333;
	padding-left: 0.5em;
}

h2 {
	width:100%;
	font-family: "Sawarabi Mincho", serif;
	font-size: 28px;
	font-weight: normal;
	color: #000000;
	line-height: 1.5;
	text-align:left;
	margin:0 auto 40px;
	padding: 0;
}
.contentsMainNest h2{
	width:78%;
}

h4 {
	font-size: 1.125em;
	color: #090;
	line-height: 1;
}

p {
	font-size: 1.125em;
	line-height: 2.2;
}

h5 {
	font-size: 0.93375em;
}

h6 {
	font-size: 0.084375em;
}

ul,ol {
	font-size: 1.125em;
}

table {
	font-size: 1.0125em;
}

.textCenter {
	text-align: center;
}

.textRight {
	text-align: right;
}

blockquote {
	position: relative;
	width:78%;
	padding: 2em;
	background: #F1EEE8;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 40px;
}

blockquote p {
	width: 100% !important;
    position: relative;
    padding: 0;
    margin: 1em 0;
}

blockquote:after{
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    border-width: 0 0 40px 40px;
    border-style: solid;
    border-color: transparent #ffffff;
}

blockquote *:last-child {
    margin-bottom: 0 !important;
}


blockquote.nisshiBlockquote {
	background: #E9E7F1;
}

/* -----------------------------------
■汎用
----------------------------------- */

.contentsMainNest p{
	width:78%;
	margin:0 auto 40px;
	font-family: "Sawarabi Mincho", serif;
	font-size:114%;
	line-height:2;
	text-align:left;
}

.contentsMainNest ol{
	width:78%;
	margin:0 auto 40px;
	font-family: "Sawarabi Mincho", serif;
	font-size:114%;
	line-height:2;
	text-align:left;
}


.mainLine{
	width:100%;
	height:0;
	border-top:3px solid #000000;
	margin:80px auto;
}
.mainArea{
	width:78%;
	margin:0 auto;
}

/* -----------------------------------
■トップページ
----------------------------------- */

.gosechiLink{
	width:100%;
	max-width:906px;
	font-size:90%;
	padding-top:1em;
	margin:0 auto 3em;
	text-align:right;
}
.gosechiLink a:link {
	color:#333333;
}
.gosechiLink a:visited {
	color:#333333;
}

.contentsMainNest p.topInfo{
	font-family: 'Kosugi Maru', sans-serif;
	font-size:108%;
	color:#333333;
	padding:0;
}
.topLinkBorder img{
    -webkit-box-sizing: content-box;
       -moz-box-sizing: content-box;
         -o-box-sizing: content-box;
        -ms-box-sizing: content-box;
            box-sizing: content-box;
	border:2px solid #000000;
}
.topFlexContainer {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}
.topFlexContainer div{
	width:49%;
}
.contentsMainNest p.topCaption{
	font-size:180%;
	font-weight:normal;
}
.contentsMainNest p.topCaption rp, .contentsMainNest p.topCaption rt{
	font-size:35%;
	font-weight:normal;
}

.topCounterArea {
	width: 100%;
	margin: 80px auto 40px auto;
}
.topCounterArea img {
	margin: 0 auto;
}

.topLv01 {
	padding-left: 3em;
}
span.topLv02 {
	padding-left: 6.25em;
	display: block;
	line-height: 2;
	margin: 10px 0 40px 0;
}

/* ~~ スマホ ~~ */
@media screen and (max-width:767px) {

	.topLv01 {
		padding-left: 1em;
		padding-right: 1em;
	}
	span.topLv02 {
		padding-left: 0em;
		padding-right: 0em;
	}

}


/* -----------------------------------
■一年日誌
----------------------------------- */

p.nisshiText {
	font-family: 'Kosugi Maru', sans-serif;
	text-align: center;
	color: #2B2A6D;
	font-weight: bold;
}

/* ~~ 追加 ~~ */
.nisshiBlockquote p {
    line-height: 1.666em!important;
}

/* -----------------------------------
■書籍
----------------------------------- */
.amazonLinkArea {
	background: #0c2b89;
	width: 78%;
	margin: 0 auto;
	padding: 1em 2em;
	color: #FFF;
	box-sizing: border-box;
}
.amazonLinkArea p{
	width: 100%;
	margin-bottom: 0;
}
.amazonLinkArea a{
	color: #FFFFFF;
	text-decoration: underline;
}
.amazonMain {
	text-align: center;
	font-size: 120%;
	word-break:break-all;
}

.tocArea {

}
.tocArea p {
	line-height: 1.5;
	margin-bottom: 20px;
}
.tocArea ol {
	line-height: 1.5;
	margin-bottom: 20px;
}

.tocLv01 {
	padding-left: 3em;
}
.tocLv02 {
	padding-left: 9em;
}
span.tocLv02 {
	padding-left: 6em;
	display: block;
	line-height: 1.5;
	margin: 20px 0;
}
.tocLv03 {
	padding-left: 10em;
}

/* ~~ スマホ ~~ */
@media screen and (max-width:767px) {

	.amazonLinkArea {
		width: 100%;
		font-size: 80%;
		padding: 1em;
	}
	
	.tocArea {
		font-size: 80%;
	}

	.tocLv01 {
		padding-left: 1em;
	}
	.tocLv02 {
		padding-left: 2em;
	}
	span.tocLv02 {
		padding-left: 1em;
	}
	.tocLv03 {
		padding-left: 3em;
	}

}


/* -----------------------------------
■中面
----------------------------------- */

.backBtn{
	width:6.5em;
	font-family: "Sawarabi Mincho", serif;
	border:1px solid #000000;
	margin:0 auto 80px;
}
.backBtn a{
	display:block;
	padding:0.5em 0;
}
.backBtn a:link {
	color:#000000;
	text-decoration: none;
}
.backBtn a:visited {
	color:#000000;
	text-decoration: none;
}
.backBtn a:hover, .backBtn a:active, .backBtn a:focus {
	background:#CCCCCC;
}

/* -----------------------------------
■投稿一覧
----------------------------------- */
.listArea{
	width:78%;
	margin:0 auto;
	font-family: "Sawarabi Mincho", serif;
}
.listArea ul{
	list-style:none;
	margin:0;
	padding:0;
}
.listArea ul li{
	text-align:left;
	border-bottom:1px dashed #aaaaaa;
	padding:20px 10px 25px;
}
.listArea ul li div.listTitleArea{
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: flex-end;
}
.listArea ul li div.listTitle{
	font-size:28px;
}
.listArea ul li div.listDay{
	color:#999999;
}
.listArea ul li div.listExcerpt{
	font-size:85%;
	margin-top:0.5em;
}

/* ◆罫線◆ */

/* 罫線：A */
.hrDesignA {
	border: none;
	margin: 30px auto;
	border-bottom: 4px solid #090;
}

/* ◆キャッチコピー◆ */
.catchCopyArea {
	display: block;
	width: 100%;
	padding: 0.5em;
	background-color: #99CC00;
	color: #FFF;
}

/* ◆アイキャッチ画像◆ */
.eyeCatchArea img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto 30px auto;
}

/* ◆リンクエリア◆ */
.linkArea {
	display: block;
	width: 100%;
	text-align: right;
}
.linkArea a {
	text-decoration: none;
	display: inline-block;
	width: auto;
	margin: 0 0 1em 1em;
	padding: 0.5em 1em;
	background-color: #99CC00;
	color: #FFF;
	border-radius: 5px;
}


/* ◆一年日誌の前へ次へ◆ */
.nisshiLinkArea {
	font-family: "Sawarabi Mincho", serif;
	margin: 100px auto 50px auto;
	padding:0 20px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
}
.nisshiLinkArea form {
	width: auto;
}
.nisshiLinkArea form input[type="submit"] {
	font-size:90%;
    background: none repeat scroll 0 0 #FFF;
	border: 1px solid #000;
    color: #333;
    display: block;
    padding: 0.8em 1em;
    text-decoration: none;
}
.nisshiLinkArea form input[type="submit"]:hover {
    background-color: #CCCCCC;
    color: #000;
    transition-duration: 500ms;
    transition-property: all;
    transition-timing-function: ease;
}

/* ◆投稿の前へ次へ◆ */
.postLinkArea {
	font-family: "Sawarabi Mincho", serif;
	margin: 100px auto 50px auto;
	padding:0 20px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
}

.postLinkArea a {
	font-size:90%;
    background: none repeat scroll 0 0 #FFF;
	border: 1px solid #000;
    color: #333;
    display: block;
    padding: 0.8em 1em;
    text-decoration: none;
}
.postLinkArea a:hover {
    background-color: #CCCCCC;
    color: #000;
    transition-duration: 500ms;
    transition-property: all;
    transition-timing-function: ease;
}

/* ◆ページネーション◆ */
.pagination {
	font-family: "Sawarabi Mincho", serif;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 40px 0;
	position: relative;
	font-size: 13px;
}

.pagination span, .pagination a {
	display: block;
	width: auto;
	margin: 4px;
	padding: 8px;
	border: 1px solid #000000;
	background-color: #fff;
	text-decoration: none;
	text-align: center;
	line-height: 16px;
	color: #000000;
}

/* ページ番号 */
.pagination .pager{
	width: 32px;
}

/* ホバー時 & 現在のページ */
.pagination a:hover,
.pagination .current {
	color: #000000;
	border-color: #000000;
	background-color: #CCCCCC;
}

/* 前へ */
.pagination a.prev {
	margin-right: 16px;
}
/* 次へ */
.pagination a.next {
	margin-left: 16px;
}
/* 最初へ */
.pagination a.first {}
/* 最後へ */
.pagination a.last {}

/* Page x / y */
.pagination span.page_num {
	display: none;
}

/* パンくずリスト */
#breadcrumb {
	font-size:90%;
	text-align:left;
	margin: 0;
	padding: 1em 0 80px 1em;
}
#breadcrumb ul{
	padding: 0;
	margin:0;
}
#breadcrumb li{
	display:inline;
	list-style: none;
}
#breadcrumb li:after{
	content: '>';
	padding: 0 10px;
	color: #555;
}
#breadcrumb li:last-child:after{
	content: '';
}
#breadcrumb li a {
	text-decoration: none;
}
#breadcrumb li a:hover {
	text-decoration: underline;
}

/* -----------------------------------
■画像をレスポンシヴ対応にする場合
----------------------------------- */

.imgResponsiveArea {
	margin: 1em 0;
	text-align: center;
}

.imgResponsiveArea img {
	margin: 0 auto;
	display: block;
	max-width: 100%;
	height: auto;
}

.imgResponsive {
	display: block;
	max-width: 100%;
	height: auto;
}

/* -----------------------------------
■レスポンシブ対応
----------------------------------- */

.smOnly, .smOnly2 {
	display: none;
}
.smBlock {
	display: inline;
}

/* ~~ PCのみ特殊 ~~ */
@media screen and (min-width:768px) {
	h1.nisshiH1 {
		font-size: 39.6px;
	}
	p.nisshiText {
		font-size: 135%;
	}
	blockquote.nisshiBlockquote {
		font-size: 150%;
	}
}

/* ~~ スマホ ~~ */
@media screen and (max-width:767px) {

	html {
		font-size: 200%;
	}
	
	.pcOnly {
		display: none;
	}

	.smOnly {
		display: inline;
	}
	.smBlock {
		display: block;
	}
	
	/* フッター */
	
	.footerFlex {
		display: block;
	}
	.footerBlockC {
		margin-top: 0.8em;
	}
	
	/* ページTOP */
	
	#pageTop a span {
		top: 50%;
		font-size: 27px;
		line-height: 1;
	}
	
	#pageTop a span::after{
		top: -30px;
		right: 0;
		left: 0;
		width: 16px;
		height: 16px;
		border-top: 2px solid #881100;
		border-right: 2px solid #881100;
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	/* メイン詳細 */

	main {
		width: 100%;
		margin: 0 auto;
	}
	.contentsMainNest p{
		width:90%;
	}
	.mainArea{
		width:100%;
	}
	.contentsMainNest p.topInfo{
		width:90%;
	}
	
	/* トップページ */
	.topLinkBorder img{
		-webkit-box-sizing: border-box;
	       -moz-box-sizing: border-box;
	         -o-box-sizing: border-box;
	        -ms-box-sizing: border-box;
	            box-sizing: border-box;
	}
	
	/* 一覧 */
	.listArea{
		width:90%;		
	}
	.listArea ul li div.listTitleArea{
		display: block;
	}
	.listArea ul li div.listTitle{
		font-size: 38px;
		margin-bottom: 0.5em;
	}
	.listArea ul li div.listDay{
		text-align: right;
		font-size: 85%;
	}

	.topFlexContainer{
		display: block;
	}
	.topFlexContainer div{
		width: 100%;
		margin-bottom: 40px;
	}
	.topFlexContainer div img{
		width: 67.336%;
	}
	
	/* ◆見出し（px指定は1.5倍、ここで指定しないem指定は自動で2倍に）◆ */
	.catCaption {
		font-size: 60px;
	}
	h1 {
		font-size: 54px;
	}
	.contentsMainNest h1{
		width:90%;
	}
	h2 {
		font-size: 46px;
	}
	.contentsMainNest h2{
		width: 90%;
	}
	
	.contentsMainNest p {
		font-size:129.6%;
	}
	.contentsMainNest p.topExplan {
		font-size:120%;
	}
	
	blockquote {
		padding: 1.5em;
		width: 90%;
	}
	
	p.nisshiText {
		text-align: left;
	}

	/* ◇ページャ◇ */
	.pagination {
	     font-size: 20px;
	}
	.pagination span, .pagination a {
	    margin: 5px;
	    padding: 15px;
	    line-height: 30px;
	}
	/* ページ番号 */
	.pagination .pager{
	    width: 60px;
	}
	/* ホバー時 & 現在のページ */
	.pagination a:hover,
	.pagination .current  {
	}
	/* 前へ */
	.pagination a.prev {
		font-size: 20px;
	    margin-right: 15px;
	}
	/* 次へ */
	.pagination a.next {
		font-size: 20px;
	    margin-left: 15px;
	}
	/* 最初へ */
	.pagination a.first {
		font-size: 20px;
	}
	/* 最後へ */
	.pagination a.last {
		font-size: 20px;
	}
	/* Page x / y */
	.pagination span.page_num {
	    display: none;
	}

}

/* 段落のスペース調整 */
p + h2{
	margin-top:45px;
}
ul + h2{
	margin-top:45px;
}
ol + h2{
	margin-top:45px;
}
table + h2{
	margin-top:45px;
}
