/*-----------------------------
* Responsive Breakpoints
* 1001px +          Desktop+
* 0px - 1000px      SmartPhone - Tablet - Desktop
* 782px - 1000px    Tablet - Desktop
* 0px - 781px       Tablet
* 681px - 781px     SmartPhone - Tablet
* 0px - 680px       SmartPhone
------------------------------*/
/*----- Block - Balloon */
.wp-block-nishiki-blocks-pro-balloon {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}
.wp-block-nishiki-blocks-pro-balloon figure {
  margin: 0;
}
.wp-block-nishiki-blocks-pro-balloon figcaption {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  margin-top: 0.2rem;
}
.wp-block-nishiki-blocks-pro-balloon p {
  word-break: break-all;
}
.wp-block-nishiki-blocks-pro-balloon p.text {
  position: relative;
  text-align: left;
}
.wp-block-nishiki-blocks-pro-balloon .image {
  flex-basis: 96px;
  flex-shrink: 0;
  text-align: center;
}
.wp-block-nishiki-blocks-pro-balloon .image .icon {
  vertical-align: bottom;
  max-width: 64px;
}
.wp-block-nishiki-blocks-pro-balloon.animation-vibration p {
  display: inline-block;
  animation: vibration 0.1s infinite;
}
.wp-block-nishiki-blocks-pro-balloon.type-serif p {
  border-radius: 0.4em;
  padding: 1.1rem 1.4rem;
  /*margin:1.5rem 0;*/
}
.wp-block-nishiki-blocks-pro-balloon.type-serif p::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 20px solid transparent;
}
.wp-block-nishiki-blocks-pro-balloon.type-think p {
  border-radius: 2rem;
  padding: 1.1rem 1.4rem;
  /*margin:1.5rem 0;*/
}
.wp-block-nishiki-blocks-pro-balloon.type-think p::before {
  position: absolute;
  content: "";
  border-radius: 50%;
  width: 20px;
  height: 20px;
  background: inherit;
}
.wp-block-nishiki-blocks-pro-balloon.type-think p::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  width: 10px;
  height: 10px;
  background: inherit;
}
.wp-block-nishiki-blocks-pro-balloon.balloon-left.type-serif .image {
  margin-right: 2rem;
}
.wp-block-nishiki-blocks-pro-balloon.balloon-left.type-serif p::after {
  left: 0;
  top: 50%;
  border-right-color: inherit;
  border-left: 0;
  margin-top: -20px;
  margin-left: -20px;
}
.wp-block-nishiki-blocks-pro-balloon.balloon-left.type-think .image {
  margin-right: 2.5rem;
}
.wp-block-nishiki-blocks-pro-balloon.balloon-left.type-think p::before {
  left: -22px;
  top: 7px;
}
.wp-block-nishiki-blocks-pro-balloon.balloon-left.type-think p::after {
  left: -35px;
  top: 20px;
}
.wp-block-nishiki-blocks-pro-balloon.balloon-right {
  flex-direction: row-reverse;
}
.wp-block-nishiki-blocks-pro-balloon.balloon-right.type-serif .image {
  margin-left: 2rem;
}
.wp-block-nishiki-blocks-pro-balloon.balloon-right.type-serif p::after {
  right: 0;
  top: 50%;
  border-left-color: inherit;
  border-right: 0;
  margin-top: -20px;
  margin-right: -20px;
}
.wp-block-nishiki-blocks-pro-balloon.balloon-right.type-think .image {
  margin-left: 2.5rem;
}
.wp-block-nishiki-blocks-pro-balloon.balloon-right.type-think p::before {
  right: -22px;
  top: 7px;
}
.wp-block-nishiki-blocks-pro-balloon.balloon-right.type-think p::after {
  right: -35px;
  top: 20px;
}

@media only screen and (max-width:680px) {
  .wp-block-nishiki-blocks-pro-balloon {
    display: block;
  }
  .wp-block-nishiki-blocks-pro-balloon .image {
    max-width: 96px;
    margin-bottom: 1rem;
  }
  .wp-block-nishiki-blocks-pro-balloon.balloon-left.type-serif p {
    display: inline-block;
  }
  .wp-block-nishiki-blocks-pro-balloon.balloon-left.type-serif p::after {
    top: 0;
    left: 2.9rem;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-bottom-color: inherit;
    border-top: 0;
    margin-left: -20px;
    margin-top: -20px;
  }
  .wp-block-nishiki-blocks-pro-balloon.balloon-left.type-think p {
    display: inline-block;
  }
  .wp-block-nishiki-blocks-pro-balloon.balloon-left.type-think p::before {
    left: 36px;
    top: -8px;
  }
  .wp-block-nishiki-blocks-pro-balloon.balloon-left.type-think p::after {
    left: 47px;
    top: -20px;
  }
  .wp-block-nishiki-blocks-pro-balloon.balloon-right {
    text-align: right;
  }
  .wp-block-nishiki-blocks-pro-balloon.balloon-right.type-serif .image {
    margin-left: auto;
    margin-right: 0;
  }
  .wp-block-nishiki-blocks-pro-balloon.balloon-right.type-serif p {
    display: inline-block;
  }
  .wp-block-nishiki-blocks-pro-balloon.balloon-right.type-serif p::after {
    top: 0;
    right: 2.9rem;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-bottom-color: inherit;
    border-top: 0;
    margin-left: -20px;
    margin-top: -20px;
  }
  .wp-block-nishiki-blocks-pro-balloon.balloon-right.type-think .image {
    margin-left: auto;
    margin-right: 0;
  }
  .wp-block-nishiki-blocks-pro-balloon.balloon-right.type-think p {
    display: inline-block;
  }
  .wp-block-nishiki-blocks-pro-balloon.balloon-right.type-think p::before {
    right: 36px;
    top: -8px;
  }
  .wp-block-nishiki-blocks-pro-balloon.balloon-right.type-think p::after {
    right: 47px;
    top: -20px;
  }
}
