/*
	Theme Name: diver_child
	Template: diver
	Description:  Diverの子テーマです。
	Theme URI: http://tan-taka.com/diver/
	Author: Takato Takagi
 */

/* カスタマイズする場合にはこれより下に追記してください  */
a.page-numbers:hover {
    background: #aaa;
}

/* アニメーションボタン */
a.btn_22 {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 60%;
    margin: auto 40% auto auto ;
	padding: 1rem 3rem;
	font-weight: bold;
	border: 2px solid #FFA500;
	background: #FFA500;
	color: #fff;
	border-radius: 5px;
	transition: 0.5s;
	animation: move_d 2s infinite;
	box-shadow: 0 5px 0 rgb(209, 137, 46, 1);
	position: relative;
}
@media (min-width: 636px) and (max-width: 1179px)  {
a.btn_22 {
  font-size: 1.4rem;
}
}
@media (max-width: 635px) {
a.btn_22 {
  font-size: 1rem;
  padding: 1rem 0;
	}
}
@keyframes move_d {
    0% {box-shadow: 0 3px 0 rgb(209, 137, 46, 1); top: 0px;}
    10% {box-shadow: 0 0 0 rgb(209, 137, 46, 1); top: 3px;}
    20% {box-shadow: 0 3px 0 rgb(209, 137, 46, 1); top: 0px;}
    30% {box-shadow: 0 0 0 rgb(209, 137, 46, 1); top: 3px;}
    40%  {box-shadow: 0 3px 0 rgb(209, 137, 46, 1); top: 0px;}
}
a.btn_22:hover {
	color: #FFA500;
	background: #fff;
	border: 2px solid #FFA500;
}
/* 動画見れないボタン */
.notice-sec{
	position: relative;
	z-index:2;
}
.notice-sec .notice-form{
	width: 8rem;
	position: absolute;
	top: -120px;
	font-size: .7rem;
	right: 0%;
}
.notice-sec .notice-form button:hover{
	opacity: 0.5;
}
@media (max-width: 635px) {
.notice-sec .notice-form{
	width: 7rem;
	top: -110px;
	font-size: .6rem;
}
}
@media (max-width: 280px) {
.notice-sec .notice-form{
	width: 6rem;
	top: -110px;
	font-size: .4rem;
}
}
/* 動画見れないボタン ボタンない場合 */
.notice-sec .notice-form2{
	position: absolute;
	top: -2.5rem;
	font-size: .7rem;
	right: 0%;
	z-index:6;
}
.notice-sec .notice-form2 button:hover{
	opacity: 0.5;
}
@media (max-width: 635px) {
.notice-sec .notice-form2{
	font-size: .6rem;
}
.notice-sec .notice-form2 button {
	padding: .7rem 1rem;
}
}
@media (max-width: 280px) {
.notice-sec .notice-form2{
	font-size: .4rem;
}
}

/* サイドバー */
h2.sidebar_1 {
	color: #fff;
	background: #770d67;
	padding: 1rem!important;
	margin: -10px -10px 20px!important;
}

/* カテゴリ */
ol.cat_1{
  counter-reset:list;
  list-style-type:none;
  font: 14px/1.6 'arial narrow', sans-serif;
  padding:0;
}
ol.cat_1 li{
  position:relative;
  padding: 0 0 0 20px;
  margin: 7px 0 7px 0px;
  font-weight: bold;
  font-size:14px;
  line-height: 30px;
  // border-bottom: dashed 1px #770d67;
}
ol.cat_1 li:before{
  counter-increment: list;
  content: "";
  display: block;
  position: absolute;
  left: 0px;
  height: 0;
  width: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #770d67;
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
ol.cat_1 .child {
	padding-left: 30px;
}
ol.cat_1 .child::before {
	left: 15px;
}

/* タグ */
section.tag_area04 {
  max-width: 600px;
  margin: 0 0 10px 10px;
  position: relative;
}
body:nth-of-type(1) section.tag_area04 {
  counter-increment: section;
}
section.tag_area04:first-child {
  margin-top: 3em;
}
section.tag_area04 ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
/*====================================================================
.tag_area04
====================================================================*/
.tag_area04 ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag_area04 ul li {
  position: relative;
  margin: 0 .3em .3em 0;
}
.tag_area04 ul li a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 34px;
  padding: 0 1em;
  background-color: #fff;
  border: 1px solid  #770d67;
  border-radius: 6px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #770d67 !important;
  font-size: 12px;
  text-decoration: none;
  -webkit-transition: .2s;
  transition: .2s;
  box-sizing: border-box;
}
.tag_area04 ul li a:before {
  content: "";
  padding-right: 2px;
}
.tag_area04 ul li a:hover{
	text-decoration: underline;
}

/* WP ULIKE CSS */
.grid_post_thumbnail .post_thumbnail_wrap{
	position: relative;
}
.post_thumbnail_wrap .wpulike {
	position: absolute;
	padding: 0;
	top: 0;
	left: 0;
}
.post_thumbnail_wrap .wpulike-heart .wp_ulike_general_class {
	background-color: white;
	opacity: 70%;
	box-shadow: none;
    border-radius: 0;
    padding: 0;
	font-size: 10px;
}
.post_thumbnail_wrap  .wpulike-heart .wp_ulike_put_image:after {
    height: 10px;
}
.wpulike-heart .wp_ulike_put_image:after {
	filter: invert(44%) sepia(40%) saturate(3852%) hue-rotate(329deg) brightness(100%) contrast(111%);
}
.post_thumbnail_wrap .wpulike-heart button.wp_ulike_btn{
	padding: 10px;
}
.post_thumbnail_wrap .wpulike-heart .count-box {
	padding: 0 5px 0 0;
}

/* IFRAME CSS */
.iframe-wrapper {
  position: relative;
  padding-bottom: 50.25%;
  margin-bottom: 5%;
  height: 0;
  overflow: hidden;
  z-index:12;
}
.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index:12;
}
@media (min-width: 1180px) and (max-width: 1500px)  {
.iframe-wrapper {
  padding-top: 50%;
  padding-bottom: 33.25%;
}
}
@media (min-width: 415px) and (max-width: 1179px)  {
.iframe-wrapper {
  padding-top: 60%;
  padding-bottom: 32.25%;
  margin-bottom: -5%;
}
.iframe-wrapper iframe {
  height: 90%;
}
}
@media (max-width: 414px) {
.iframe-wrapper {
  padding-top: 30%;
  padding-bottom: 54.25%;
}
}
