@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){
  /*必要ならばここにコードを書く*/
}

.page-template-page-glp1-search .main,
.page-template-page-online-pill-search .main,
.page-template-page-after-pill-search .main
{
  background: none;
  padding: 0;
  max-width: 620px;
}

.page-template-page-glp1-search .entry-content,
.page-template-page-online-pill-search .main .entry-content,
{
  margin: 0;
}

.search-wrap
{
  position: relative;
  background: #fff;
  padding: 20px 25px;
  border-radius: 5px;
}
.search-title
{
  color: #1D92FF;
  font-size: 14px;
  margin: 0;
  padding: 0;
}
.search-box label
{
  font-size: 12px;
  font-weight: bold;
  margin: 0 0 10px 0;
}
.sc_clear
{
  width: 140px;
  padding: 5px;
  background-color: #ffffff;
  color: #707070;
  border: 1px solid #BBBBBB;
  border-radius: 5px;
  text-align: center;
  box-sizing: border-box;
  margin: 20px 10px 0 0;
  font-size: 17px;
  cursor: pointer;
}
.sc_submit
{
  margin: 20px 0 0 0;
  width: 140px;
  padding: 5px;
  background-color: #E8F4FF;
  color: #1D92FF;
  border-radius: 5px;
  text-align: center;
  box-sizing: border-box;
  font-size: 17px;
  border: none;
  cursor: pointer;
}
.fold-tab
{
  position: absolute;
    width: 80px;
    height: 35px;
    bottom: -16px;
    background-color: #ffffff;
    text-align: center;
    color: #1d92ff;
    font-size: 12px;
    border-radius: 0 0 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.tab-icon.dn
{
  transform:rotate(180deg);
}

.result-box
{
  border: dotted 1px #1180ff;
    padding: 30px;
    margin: 30px auto;
    background-color: #ffffff;
    box-sizing: border-box;
    font-size: 17px;
}
.article .result-box p
{
  margin-bottom: 20px;
}
.glp1_search_img,
.online_pill_search_img
{
  margin: 0 auto 20px;
  width: 300px;
  display: block;
}
.glp1_search_noimg,
.online_pill_search_noimg
{
    width: 300px;
    height: 300px;
    background-color: #ececec;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}
.result-title
{
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 20px;
}
.stars
{
  color: #df8901;
}
.result-details
{
  display: flex;
  flex-wrap:wrap;
  margin: 0 auto 20px;
}
.article dl.result-detail
{
  margin: 0 0 10px;
  width: 50%;
  display: flex;
  border-bottom: solid 1px #e8f4ff;
  font-size: 12px;
  line-height: 18px;
}
.article dl.result-detail dt
{
    line-height: 25px;
    background-color: #e8f4ff;
    border: solid 1px #e8f4ff;
    border-bottom: none;
    padding: 0 5px;
    color: #1180ff;
    width: 8em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.article dl.result-detail dd
{
  margin: 0;
  padding: 0 10px;
  width: calc(100% - 8em - 10px);
  display: flex;
  align-items: center;
}
.glp1_search_result_official,
.glp1_search_result_detail,
.online_pill_search_result_official,
.online_pill_search_result_detail
{
  padding: 10px 45px;
  position: relative;
  text-align: center;
  width: 50%;
  border-radius: 20px;
  display: block;
  text-decoration: none;
}
.glp1_search_result_official,
.online_pill_search_result_official
{
  background-color: #1180ff;
  border: 1px solid #1180ff;
  color: #ffffff;
  margin: 0 auto 20px auto;
}
.glp1_search_result_detail,
.online_pill_search_result_detail
{
  background-color: #ffffff;
  border: 1px solid #1180ff;
  color: #1180ff;
  margin: 0 auto;
}
.glp1_search_result_official:hover,
.glp1_search_result_detail:hover,
.online_pill_search_result_official:hover,
.online_pill_search_result_detail:hover
{
  text-decoration: none;
}
.glp1_search_result_official:hover,
.online_pill_search_result_official:hover
{
  background: #fff;
  border: 1px solid #1180ff;
  color: #1180ff;
}
.glp1_search_result_detail:hover,
.online_pill_search_result_detail:hover
{
  background: #1180ff;
  color: #fff;
}
.glp1_search_result_official::after,
.glp1_search_result_detail::after,
.online_pill_search_result_official::after,
.online_pill_search_result_detail::after
{
  content: " ";
  display: block;
  height: 6px;
  margin-top: -4px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 6px;
}
.glp1_search_result_official::after,
.glp1_search_result_detail:hover::after,
.online_pill_search_result_official::after,
.online_pill_search_result_detail:hover::after
{
  border-right: solid 2px #FFF;
  border-top: solid 2px #FFF;
}
.glp1_search_result_detail::after,
.glp1_search_result_official:hover::after,
.online_pill_search_result_official:hover::after,
.online_pill_search_result_detail:after
{
  border-right: solid 2px #1180ff;
  border-top: solid 2px #1180ff;
}
.pill_star
{
display: inline-block;
    height: 18px;
    position: relative;
    width: 100px;
	margin:0 0 0 0.5em;
}
.star_over
{
	    position: absolute;
    top: 0;
    left: 0;
}
p:empty
{
display:none;
}
/* animation keyframes */
.pekopeko
{
  animation: pekopeko 2s infinite;
}
@keyframes pekopeko {
  0% {
    box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
    top: 0px;
  }

  10% {
    box-shadow: 0 0 0 rgb(0, 0, 0, 0.3);
    top: 3px;
  }

  20% {
    box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
    top: 0px;
  }

  30% {
    box-shadow: 0 0 0 rgb(0, 0, 0, 0.3);
    top: 3px;
  }

  40% {
    box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
    top: 0px;
  }
}


.reflection {
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.reflection:after {
  content: "";
  height: 100%;
  width: 30px;
  position: absolute;
  top: -180px;
  left: 0;
  background-color: #fff;
  opacity: 0;
  -webkit-transform: rotate(45deg);
  -webkit-animation: reflection 2s ease-in-out infinite;
}
@keyframes reflection {
  0% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }

  80% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }

  81% {
    -webkit-transform: scale(4) rotate(45deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

.auraBtn {
  position: relative;
  /*幅サイズを変更する場合は下記数値を変更ください*/
  width: 82%;
  /*ボタンの外側の余白 1番目の値は上下余白、2番目の値は左右余白auto（=中央揃えするため）*/
  margin: 1.5em auto;
  font-size: 16px;
}
/*ボタンが広がるアニメーション（1番目）*/
.auraBtn:before {
  /*アニメーションの設定 変更する場合は該当場所を修正してください。
   アニメーション名、動きの速さ.2s（=0.2秒）、動き具合、動く回数*/
  animation: auraBtn 2s ease-out infinite
}
/*ボタンが広がるアニメーション（2番目）*/
.auraBtn:after {
  /*アニメーションの設定 変更する場合は該当場所を修正してください。
 	 アニメーション名、動きの速さ.2s（=0.2秒）、動き具合、動くタイミング1s(=1秒後）、動く回数*/
  animation: auraBtn 2s ease-out 1s infinite
}
.auraBtn:before,
.auraBtn:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /*ボタンの角丸*/
  border-radius: 100vh;
  /*広がるボタンの色(green, red, blue以外の場合はここを修正してください）*/
  background: #25cad4;
  /*広がるボタンの初期位置*/
  transform: translate3d(0, 0, 0);
}
.auraBtn a {
  /*文字の色*/
  color: #fff;
  /*文字の太さ*/
  font-weight: 600;
  display: block;
  /*内側の余白　1番目の値は上下余白、2番目の値は左右余白*/
  padding: 20px 0;
  /*ボタンの角丸*/
  border-radius: 100vh;
  /*ボタン内テキストの水平方向の位置*/
  text-align: center;
  /*リンクの装飾*/
  text-decoration: none;
  /*ボタンの色(green, red, blue以外の場合はここを修正してください）*/
  background: #25cad4;
  position: relative;
  z-index: 1;
}

@keyframes auraBtn {

  /*アニメーション初期（0秒の時）*/
  0% {
    /*拡大率　（1=100％）*/
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
    /*透明度（0=透明、1=不透明）*/
    opacity: 1
  }

  /*1.8秒時*/
  90% {
    /*透明度*/
    opacity: .1
  }

  /*アニメーション最後（2秒時）*/
  to {
    /*拡大率　1番目の値はX軸、2番目の値はY軸*/
    -webkit-transform: scale(1.2, 1.5);
    transform: scale(1.2, 1.5);
    /*透明度*/
    opacity: 0
  }
}

/*ボタン右側の矢印の設定*/
.auraBtn a span {
  display: block;
  position: relative;
}

.auraBtn a span:after {
  content: "";
  position: absolute;
  /*矢印の位置*/
  top: calc(50% - 4px);
  right: 25px;
  /*矢印の横幅*/
  width: 8px;
  /*矢印の高さ*/
  height: 8px;
  /*矢印の線　太さ、線種、色*/
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  /*矢印の回転角度*/
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg)
}


/*緑色でpekopekoさせる*/
.pekoBtn {
  position: relative;
  /*幅サイズを変更する場合は下記数値を変更ください*/
  width: 82%;
  /*ボタンの外側の余白 1番目の値は上下余白、2番目の値は左右余白auto（=中央揃えするため）*/
  margin: 1.5em auto;
  font-size: 16px;
}

.pekoBtn:before,
.pekoBtn:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /*ボタンの角丸*/
  border-radius: 100vh;
}

.pekoBtn a {
  /*文字の色*/
  color: #fff;
  /*文字の太さ*/
  font-weight: 600;
  display: block;
  /*内側の余白　1番目の値は上下余白、2番目の値は左右余白*/
  padding: 20px 0;
  /*ボタンの角丸*/
  border-radius: 100vh;
  /*ボタン内テキストの水平方向の位置*/
  text-align: center;
  /*リンクの装飾*/
  text-decoration: none;
  /*ボタンの色(green, red, blue以外の場合はここを修正してください）*/
  background: #53db56;
  position: relative;
  z-index: 1;
}

/* animation 二つ目 keyframes */
.pekopeko-2
{
  animation: pekopeko-2 2s infinite;
}
@keyframes pekopeko-2 {
  0% {
    box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
    top: 0px;
    border-radius: 100vh;
  }

  10% {
    box-shadow: 0 0 0 rgb(0, 0, 0, 0.3);
    top: 3px;
    border-radius: 100vh;
  }

  20% {
    box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
    top: 0px;
    border-radius: 100vh;
  }

  30% {
    box-shadow: 0 0 0 rgb(0, 0, 0, 0.3);
    top: 3px;
    border-radius: 100vh;
  }

  40% {
    box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
    top: 0px;
    border-radius: 100vh;
  }
}

/* animation 三つ目 keyframes　pekopeko-２に連動させて動くけど影なし */
.pekopeko-3
{
  animation: pekopeko-3 2s infinite;
}
@keyframes pekopeko-3 {
  0% {
    box-shadow: 0 3px 0 rgb(0, 0, 0, 0);
    top: 0px;
  }

  10% {
    box-shadow: 0 0 0 rgb(0, 0, 0, 0);
    top: 3px;
  }

  20% {
    box-shadow: 0 3px 0 rgb(0, 0, 0, 0);
    top: 0px;
  }

  30% {
    box-shadow: 0 0 0 rgb(0, 0, 0, 0);
    top: 3px;
  }

  40% {
    box-shadow: 0 3px 0 rgb(0, 0, 0, 0);
    top: 0px;
  }
}