@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.0.6
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/












/* サイドバーのプロフィールのフォント変更 */


body { 
	font-family: a-otf-ud-shin-go-pr6n, sans-serif !important;
	font-weight: 300 !important;
	font-style: normal;
}

.sidebar {
	font-family: a-otf-ud-shin-go-pr6n, sans-serif !important;
}

/* キーボードキー */
kbd {
	background-color: #f9f9f9;
	border: 1px solid #777;
	border-radius: 2px;
	box-shadow: 1px 2px 2px #ddd;
	font-family: inherit;
	font-size: 0.85em;
	padding: 1px 3px;
}






/* メニューデザインをマテリアル風に */
nav#navi, .menu-header .sub-menu{
    font-weight: bold;
}
.menu-header .sub-menu .item-label{
    font-size: 80%;
}
.menu-header .item-label{
    /*color: #b5b5b5 !important;*/
}
.menu-header .current-menu-item,
.menu-header .current-post-item,
.menu-header .current-menu-ancestor,
.menu-header .current-post-ancestor,
.menu-header .menu-item:hover {
    /*color: #333 !important;*/
    border-bottom: 3px solid white;
    transition: all .2s ease;
}
.menu-header .sub-menu .menu-item,
.menu-header .sub-menu .menu-item:hover{
    border-bottom: none;
}
.menu-header .current-menu-item>a .item-label,
.menu-header .current-post-item>a .item-label,
.menu-header .current-menu-ancestor>a .item-label,
.menu-header .current-post-ancestor>a .item-label,
.menu-header .item-label:hover{
    /*color: #333 !important;*/
    transition: all .2s ease;
}

/* タグクラウドのカスタマイズ */
.tagcloud a {
    background: none; /*背景を消す*/
    border: 1px solid #ccc; 
    border-radius: 20px; /*角の丸み*/
    color: #555; /*文字色*/
    display: inline-block;
    padding: 3px 10px;
    text-decoration: none;
    font-size: 13px;
    margin: 2px;
    flex: 1 1 auto;
    display: flex;
    justify-content: space-between;
}
.tagcloud a .tag-caption::before {
    content: "#"; /*アイコンの変更*/
    padding-right: 3px;
}
.tagcloud a:hover { /*マウスホバー時*/
    background: #72c7e6;
    border: 1px solid #72c7e6;
    color: #fff;
    transition: 0.5s; /*アニメーションの時間*/
}

/* サイドバーのカテゴリカスタマイズ */
.widget_categories ul li a { /*親カテゴリ用のコード*/
    color: #333;
    text-decoration: none;
    padding: 6px 0;
    display: block;
    padding-right: 4px;
    padding-left: 4px;
    border-top: 1px dotted #ccc; /*上部にボーダーを引く*/
    font-size: 16px;
}
.widget_categories ul li a::before { /*親カテゴリのアイコン*/
    font-family: FontAwesome;
    content: "\f0da";
    padding-right: 10px;
}
.widget_categories > ul > li > a:first-child { 
    border-top: none; /*最初の親カテゴリは上部ボーダーを消す*/
}
.widget_categories > ul > li > a:last-child {
    border-bottom: 1px dotted #ccc; /*最後の親カテゴリは下部ボーダーを引く*/
}
.widget_categories ul li a .post-count { /*記事数用のコード*/
    display: block;
    float: right;
    background: #ededed;
    padding: 0 1em;
    font-size: 14px;
    margin-top: .2em;
    border-radius: 4px;
}
.widget_categories ul li a:hover { /*親子共通マウスホバー時*/
    background: none;
    transition: 0.5s;
    color: #72c7e6;
}
.widget_categories ul li a:hover .post-count { /*記事数のマウスホバー時*/
    background: #72c7e6;
    color: #fff;
    transition: 0.5s;
}
.widget_categories ul li ul { /*子カテゴリのボックス*/
    border-bottom: 1px dotted #ccc;
}
.widget_categories ul li ul li a { /*子カテゴリ用のコード*/
    color: #333;
    text-decoration: none;
    padding: 0 4px 4px 4px;
    display: block;
    border: none;
}
.widget_categories ul li ul li a::before { /*子カテゴリのアイコン*/
    font-family: FontAwesome;
    content: "・";
    padding: 0;
}

/* 記事一覧のカテゴリーの表示をカスタマイズ */
.cat-label {
    top: 0;
    left: 10px;
    border: none;
    font-size: 12px;
    color: #fff;
    background-color: #49add1;
    padding: 1px 5px;
    margin: -6px 0 0 0;
    overflow: visible;
}
.cat-label::after { /*右上に小さな三角を作る*/
    position: absolute;
    content: '';
    top: 0;
    right: -6px;
    border: none;
    border-bottom: solid 6px #3089a9; /*小さな三角の色*/
    border-right: solid 6px transparent;
}
.entry-card-thumb {
    transition-duration: 0.3s; /*アニメーションの時間*/
    box-shadow: 0px 4px 15px -5px rgba(85,85,85,0.75); /*通常時の画像の影*/
}
.entry-card-thumb:hover {
    transform: translateY(-6px); /*マウスホバーで上に移動*/
    box-shadow: 0px 8px 18px -5px rgba(85,85,85,0.75); /*マウスホバー時の画像の影*/
}
.entry-card-thumb img { /*画像下の隙間を消す*/
    vertical-align: bottom;
}
.a-wrap:hover { /*マウスホバー時の全体の背景色を消す*/
    background: none;
}
.entry-card-title {
    margin-top: 12px; /*上に余白を付ける*/
    line-height: 1.5; /*行間を広く*/
}
.entry-card-title:hover {
    color: #49add1; /*マウスホバー時の色*/
}
@media screen and (max-width: 768px){
    .entry-card-title {
        font-size: 14px; /*スマホでの文字の大きさ*/
        line-height: 1.4; /*スマホでの行間*/
    }
}
.e-card-info {
	color: #666; /*色を薄く*/
}
@media screen and (max-width: 768px){
    .e-card-info {
	font-size: 11px; /*スマホでの文字サイズ*/
    }
}

/* サイドバー設定 */
.sidebar h3 {
    background: none;
    font-size: 16px;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 0;
    text-align: center;
}
.sidebar h3::before, .sidebar h3::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 28%; /*ラインの長さ*/
    border-top: 3px solid #444d53; /*ラインの色*/
}
.sidebar h3::before {
    left: 0;
}
.sidebar h3::after {
    right: 0;
}

.nwa .author-box .author-description {
	text-align: center;
	font-size: 12px;
}

/* フッターのカスタマイズ */
#footer {
	background-color: #F4F5F7;
}
.footer-bottom-logo { /*ロゴの位置調整*/
	float: left;
	bottom: auto;
	position: static;
	margin-right: 16px;
}
.footer-bottom-content {
	text-align: left;
	float: left;
	line-height: 1.3;
}

/* 一部の行間を詰める */
.narrow_line_height {
	line-height: 1.5em;
}


/* コンタクトフォームのカスタマイズ */

.wpcf7 {
	background-image: url(https://aayamato.com/wp-content/uploads/2020/08/postcard_frame2.svg);
	background-size: contain;
	background-repeat: no-repeat;
	padding: 20px 50px;
}
.wpcf7 textarea {
	resize: none;
	background: transparent;
	font-family: inherit;
	width: 100%;
	margin-top: 5px;
	border: dashed 2px #5f5f5f;
	outline: none;
}

.wpcf7 input[type="text"], input[type="email"] {
	background: transparent;
	outline: none;
	border: none;
	width: 75%;
}
.wpcf7 ::placeholder {
	color: #aaa;
}

.wpcf7 .form-underline {
	padding-bottom: 5px;
	border-bottom: dashed 2px #5f5f5f;
}

.wpcf7 input[type=submit] {
	font-family: FontAwesome;
	width: 15%;
	min-width: 9em;
}

/* 記事タイトルのカスタマイズ */


.article h1 {
	border: none; /* Cocoon親テーマCSSリセットのため */
	width: 100%;
	position: relative;
	/* margin: 1.8em 0 1.2em; */
	padding: 12px 10px 10px 10px;
}

.article h1:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 5px;
	left: 0;
	background: -webkit-repeating-linear-gradient(135deg, #fff, #fff 3px, #0086AB 3px, #0086AB 6px, white 6px, white 9px, #DA6272 9px, #DA6272 12px);
	background: repeating-linear-gradient(135deg, #fff, #fff 3px, #0086AB 3px, #0086AB 6px, white 6px, white 9px, #DA6272 9px, #DA6272 12px);
	bottom: -4px;
}



.date-tags {
    line-height: .8;
	color: #aaa; /* 文字色を薄くする */
}
.post-date, .post-update {
	padding: 2px;
    display: inline;
}

/* 記事見出しカスタマイズ */
.article h2 {
	margin-top: 2em;
	padding: 0;
    background: none;
}
.article h2 {
  padding: 0.25em 0.5em;/*上下 左右の余白*/
  background: transparent;/*背景透明に*/
  border-left: solid 2px #30A3B3;/*左線*/
}

.article h3 {
    border: none;
    padding: 0;
	/* margin-left: 0.4em; */
}
.article h3 {
	border-bottom: dashed 1.5px #30A3B3;
	padding-bottom: 0.4em;
}

.article h4 {
    border: none;
	margin-left: 0em;
	margin-bottom: 0.2em;
}


/* 目次カスタマイズ */
.toc {
    border: 1px solid #666; /*全体の枠線の色*/
    font-size: 0.9em;
    line-height: 1.5;
    padding: 0;
    margin-bottom: 1em;
    display: block; /*横幅いっぱいに広げる*/
}
.toc-title {
    background: #666; /*目次タイトルの背景色*/
    color: #fff; /*目次タイトルの文字色*/
    font-size: 1.1em;
    text-align: center;
    padding: 6px 16px;
}
.toc-title::before {
    font-family: FontAwesome;
    content: '\f0ca'; /*目次タイトルのアイコン*/
    margin-right: 0.5em;
}
.toc-content {
    padding: 8px;
}
.toc ul li a, .toc ol li a {
    display: block;
    border-bottom: 1px dashed #666; /*h3以下の下側ボーダー*/
    margin-left: -20px;
    padding-left: 20px;
}
.toc ul.toc-list>li, .toc ol.toc-list>li {
    margin-top: 1em;
}
.toc ul.toc-list>li>a, .toc ol.toc-list>li>a {
    border-bottom: 2px solid #666; /*h2の下側ボーダー*/
    font-weight: bold;
}

/* ヘッダの背景を透明に */


.wp-block-separator.is-style-dots:before {
	content: "* * *"!important;
	font-size: 16px!important;
	color: #959595!important;
}


/* よくわからんけどラベルボックスのpaddingをいれたい */
.label-box-content {
	padding: 2em;
}
.label-box-label-text {
	background-color: white;
}

/* 動画を中央に配置 */
.video-container {
	margin: 0px auto;
}

/* citeがあるときに、blockquoteのあとのpに余計な空白がある */

.article blockquote:before, .entry-content blockquote:after {
  position: absolute;
  width: 0.5em;
  color: #a08010;
  background: white;
}

.article blockquote:before {
  height: 0.5em;
  left: -.1em;
  top: -0.2em;
}

.article blockquote:after {
  right: -.1em;
  bottom: -0.6em;
  line-height: 1em;
}

.article blockquote p:last-of-type {
	margin-bottom: 0.6em;
}
.article blockquote p:last-child {
		margin-bottom: 1.2em;
}

.article blockquote p {
	margin-left: 0.6em;
	margin-right: 0.6em;
	margin-bottom: 1.2em;
}


.article blockquote {
  border-color: #a08010;
  background: white;
  padding-bottom: 0;
}

.article blockquote cite {
	font-style: normal;
}


p.has-background {
	padding: 21px;
}




