@charset "UTF-8";

#box1 .img,
#box2 .img {
  width: 100%;
  vertical-align: bottom;
}

#box1 .inner,
#box2 .inner {
  margin-bottom: 15px;
}

#box2 .ctaBtn {
  display: block;
  box-sizing: border-box;
  width: 80%;
  max-width: 300px;
  margin: 0 auto 15px;
  border: none;
  border-radius: 10em;
  background: linear-gradient(to right,
      rgba(151, 200, 240, 0.7),
      rgba(33, 116, 240, 0.7));
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
}

#box2 .ctaBtn a {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  font-weight: bold;
  text-align: center;
  color: #fff;
}

/* ==========================================================
	PC閲覧用 481px以上
========================================================== */
@media screen and (min-width: 481px) {
  .title h2 {
    font-size: 0.9em;
  }

  #box1 .img,
  #box2 .img {
    width: 240px;
    float: right;
    margin: 0 0 20px 20px;
  }

  .balloon {
    margin-bottom: 2em;
    position: relative;
  }

  .balloon:before,
  .balloon:after {
    clear: both;
    content: "";
    display: block;
  }

  .balloon figure {
    width: 60px;
    height: 60px;
  }

  .balloon-image-left {
    float: left;
    margin-right: 20px;
  }

  .balloon-image-right {
    float: right;
    margin-left: 20px;
  }

  .balloon figure img {
    width: 100%;
    height: 100%;
    border: 1px solid #aaa;
    border-radius: 50%;
    margin: 0;
  }

  .balloon-image-description {
    padding: 5px 0 0;
    font-size: 10px;
    text-align: center;
  }

  .balloon-text-right,
  .balloon-text-left {
    position: relative;
    padding: 10px;
    border: 1px solid;
    border-radius: 10px;
    max-width: -webkit-calc(100% - 120px);
    max-width: calc(100% - 120px);
    display: inline-block;
  }

  .balloon-text-right {
    border-color: #aaa;
  }

  .balloon-text-left {
    border-color: #aaa;
  }

  .balloon-text-right {
    float: left;
  }

  .balloon-text-left {
    float: right;
  }

  .balloon p {
    margin: 0 0 20px;
  }

  .balloon p:last-child {
    margin-bottom: 0;
  }

  /* 三角部分 */
  .balloon-text-right:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #aaa;
    top: 10px;
    left: -20px;
  }

  .balloon-text-right:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #fff;
    top: 10px;
    left: -19px;
  }

  .balloon-text-left:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-left: 10px solid #aaa;
    top: 15px;
    right: -20px;
  }

  .balloon-text-left:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-left: 10px solid #fff;
    top: 15px;
    right: -19px;
  }

  .balloon-text-left {
    background-color: #e4f6ff;
  }

  .balloon-text-left:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-left: 10px solid #e4f6ff;
    top: 15px;
    right: -19px;
  }
}

/* ==========================================================
	SP閲覧用 480px以下
========================================================== */
@media screen and (max-width: 480px) {

  #box1 .inner,
  #box2 .inner {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  #box1 p,
  #box2 p {
    margin-top: 10px;
    padding-bottom: 10px;
  }

  #box1 img,
  #box2 img {
    width: 100%;
  }

  .balloon {
    margin-bottom: 2em;
    position: relative;
  }

  .balloon:before,
  .balloon:after {
    clear: both;
    content: "";
    display: block;
  }

  .balloon figure {
    width: 60px;
    height: 60px;
  }

  .balloon-image-left {
    float: left;
    margin-right: 20px;
  }

  .balloon-image-right {
    float: right;
    margin-left: 20px;
  }

  .balloon figure img {
    width: 100%;
    height: 100%;
    border: 1px solid #aaa;
    border-radius: 50%;
    margin: 0;
  }

  .balloon-image-description {
    padding: 5px 0 0;
    font-size: 10px;
    text-align: center;
  }

  .balloon-text-right,
  .balloon-text-left {
    position: relative;
    padding: 10px;
    border: 1px solid;
    border-radius: 10px;
    max-width: -webkit-calc(100% - 120px);
    max-width: calc(100% - 120px);
    display: inline-block;
  }

  .balloon-text-right {
    border-color: #aaa;
  }

  .balloon-text-left {
    border-color: #aaa;
  }

  .balloon-text-right {
    float: left;
  }

  .balloon-text-left {
    float: right;
  }

  .balloon p {
    margin: 0 0 20px;
  }

  .balloon p:last-child {
    margin-bottom: 0;
  }

  /* 三角部分 */
  .balloon-text-right:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #aaa;
    top: 10px;
    left: -20px;
  }

  .balloon-text-right:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #fff;
    top: 10px;
    left: -19px;
  }

  .balloon-text-left:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-left: 10px solid #aaa;
    top: 15px;
    right: -20px;
  }

  .balloon-text-left:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-left: 10px solid #fff;
    top: 15px;
    right: -19px;
  }

  .balloon-text-left {
    background-color: #e4f6ff;
  }

  .balloon-text-left:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-left: 10px solid #e4f6ff;
    top: 15px;
    right: -19px;
  }
}