@charset "UTF-8";

/*----------------------------------------
box1
-----------------------------------------*/
#box2 h3 {
  margin-top: 8px;
  margin-bottom: 20px;
}

#box1 .inner,
#box2 .inner {
  display: flex;
  justify-content: space-between;
}

#box1 .inner p,
#box2 .inner p {
  width: 65%;
  text-align: left;
  margin: 0 0 20px;
}

#box1 .inner .img,
#box2 .inner .img {
  width: 30%;
}

#box1 .inner img,
#box2 .inner img {
  width: 100%;
  height: auto;
}

#box1 .red,
#box2 .red {
  color: red;
  font-weight: bold;
}

#box2 h4 {
  color: #3eb2d4;
  font-weight: bold;
  font-size: 1.75rem;
  padding: 0.25rem;
  border-bottom: 2px solid #3eb2d4;
  margin: 1rem 0 0.75rem 0;
}

#box2 p {
  margin-bottom: 15px;
}

#box2 .bold {
  font-weight: bold;
}

#box2 .box_list {
  background: #e1f5fe;
  padding: 20px;
  margin: 5px 0 15px;
}

#box2 .box_list dt {
  background: #514fb5;
  color: #fff;
  font-weight: bold;
  display: inline-block;
  padding: 5px;
  margin-bottom: 10px;
}

#box2 .roadmap-sample {
  width: 100%;
  max-width: 500px;
  margin: 10px auto;
}

#box2 .roadmap-sample img {
  width: 100%;
  height: auto;
}

#box3 .inner {
  padding: 10px 0;
  background: url(../img/top_dotline.png) bottom no-repeat;
}

#box3 .boxlink {
  width: 700px;
}

#box3 p {
  float: left;
  width: 50px;
  height: 50px;
}

#box3 dt,
#box3 dd {
  width: 635px;
  float: right;
  font-size: 15px;
  font-size: 1.5rem;
}

#box3 dl {
  width: 635px;
  float: right;
  padding-top: 3px;
}

#box3 dt img {
  vertical-align: middle;
  margin-left: 5px;
}

#box3 dd {
  font-size: 14px;
  font-size: 1.4rem;
}

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

  /*----------------------------------------
	box1
	-----------------------------------------*/
  #box1 .inner,
  #box2 .inner,
  #box3 .inner {
    margin-top: 30px;
    display: block;
  }

  #box1 .inner p,
  #box2 .inner p,
  #box3 .inner p {
    width: 100%;
  }

  #box1 .inner .img,
  #box2 .inner .img,
  #box3 .inner p img {
    width: 100%;
    height: auto;
  }

  #box3 .boxlink {
    width: 100%;
  }

  #box3 .inner {
    padding: 15px 0;
    min-height: 100px;
    margin-top: 0;
    background: url(../../img/top_dotline.png) bottom no-repeat;
  }

  #box3 .inner p {
    width: 29%;
    height: auto;
    float: left;
  }

  #box3 .inner dl {
    width: 67%;
    float: right;
  }

  #box3 .inner dt,
  #box3 .inner dd {
    width: 100%;
  }

  #box3 .inner dt {
    line-height: 1.5;
  }

  #box3 .inner dt img {
    vertical-align: middle;
    margin-left: 5px;
  }

  #box3 .inner dd {
    line-height: 1.5;
    margin-top: 5px;
  }

}

/*240523 balloon追加*/
#box2 .balloon {
  margin-bottom: 2em;
  position: relative;
}

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

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

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

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

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

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

#box2 .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;
}

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

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

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

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

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

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

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

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

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

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

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

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