@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

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

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

.cca1 {
    list-style-type: none;
}

.cca1 {
    margin-bottom: 5px;
    padding: .5em .7em;
    border-left: 5px solid #2589d0;
    background-color: #f2f2f2;
    font-weight: 600;
}



.heart-button {
  cursor: pointer;
  position: relative;
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;
  display: inline-block;
  background: #ef4b53;
  color: #fff !important;
  font-size: 20px;
line-height: 1;
  letter-spacing: 0.1em;
  padding: 0.8em 2.4em;
  border-radius: 5px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.heart-button:hover {
  background-color: #fff !important;
  border-color: #ef4b53;
  color: #ef4b53 !important;
}

.heart-button::before, .heart-button::after {
  content: "";
  background-image: url('https://web-dev.tech/wp-content/themes/swell_child/img/icon/heart.svg');
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  left: -12px;
  opacity: 0;
}

.heart-button::after {
  top: auto;
  left: auto;
  right: -14px;
  bottom: -6px;
  transform: scale(-1, 1);
  background-image: url('https://web-dev.tech/wp-content/themes/swell_child/img/icon/heart-reverse.svg');
}

.heart-button:hover::before {
  animation: heart 1.5s infinite ease-out;
}

.heart-button:hover::after {
  animation: heart 1.5s 0.2s infinite ease-out;
}

@keyframes heart {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateY(-20px) scale(1.4);
    opacity: 0;
  }
}

@media screen and (max-width: 768px) {

  .heart-button {
    background-color: #fff !important;
    border-color: #ef4b53;
    color: #ef4b53 !important;
  }

  .heart-button::before {
    animation: heart 1.5s infinite ease-out;
  }

  .heart-button::after {
    animation: heart 1.5s 0.2s infinite ease-out;
  }
}


a.btn_03 {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 90%;
	margin: auto;
	padding: 1rem 4rem;
	font-weight: bold;
	border: 2px solid #0053b3;
	color: #0053b3;
	border-radius: 100vh;
	transition: 0.5s;
}
a.btn_03:hover {
	color: #fff;
	background: #0053b3;
}


.ttwari {
	width: 50%;
}









.button-54 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 250px;
    margin: 0 auto;
    padding: .9em 3em .9em 2em;
    border: 1px solid #2589d0;
    border-radius: 5px;
    background-color: #fff;
    color: #2589d0;
    font-size: 1em;
}

.button-54::after {
    position: absolute;
    right: 2em;
    transform: translateY(-50%);
    transform-origin: left;
    width: 2em;
    height: .5em;
    background-color: #2589d0;
    clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
    content: '';
    transition: transform .3s;
}

.button-54:hover::after {
    transform: translateY(-50%) scaleX(1.4);
}


















/*カテゴリーウィジェットのデザインのカスタマイズ（アイコン）*/
/*ここから*/
.cf .widget_categories ul {
	font-size: 18px;
}

.cf .widget_categories > ul > li > ul {
	padding-left: 1.75em;
}

.cf .widget_categories > ul > li > ul > li ul {
	padding-left: 1.55em;
}

.cf .widget_categories a {
	padding: 4px;
	color: #686868;
	font-weight: 600;
	letter-spacing: 1px;
	transition: all 0.3s ease-in-out;
}

.cf .widget_categories a:hover {
	color: #686868;
	background-color: transparent;
	box-shadow: 0px 1px 4px 1px rgba(0,0,0,0.3), 0px 0px 4px 1px rgba(0,0,0,0.3);
}

.cf .widget_categories > ul > li > a {
	padding-top: 6px;
	font-size: 1.1em;
	padding-left: 2.1em;
}

.cf .widget_categories > ul > li > ul > li > a {
	padding-top: 5px;
	font-size: 1em;
	padding-left: 2em;
}

.cf .widget_categories > ul > li > ul > li > ul li a {
	font-size: 0.9em;
	padding-left: 2em;
}

/*アイコン管理*/
.cf .widget_categories a::after {
	position: absolute;
	top: 0;
	left: 0;
	color: #686868;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}

.cf .widget_categories > ul > li > a::after {
	content: '\f138';
	margin-top: 0.24em;
	margin-left: 0.62em;
}

.cf .widget_categories > ul > li > ul > li a::after {
	content: '\f111';
	font-size: 0.66em;
}

.cf .widget_categories > ul > li > ul > li > a::after {
	margin-top: 0.82em;
	margin-left: 1.14em;
}

.cf .widget_categories > ul > li > ul > li > ul > li a::after {
	margin-top: 0.82em;
	margin-left: 1.2em;
}

/*画面サイズがスマホの時の調節*/
@media screen and (max-width: 480px) {
	.cf .widget_categories ul {
		font-size: 16px;
	}

	.cf .widget_categories > ul > li > ul > li a::after {
		margin-top: 0.34em;
	}

	.cf .widget_categories > ul > li > ul > li > a::after {
		margin-top: 0.74em;
	}

	.cf .widget_categories > ul > li > ul > li > ul > li a::after {
		margin-top: 0.72em;
	}
}
/*ここまで*/