@charset "UTF-8";

/*----------------------------------------
box1
-----------------------------------------*/
#box1 .flexbox {
  margin-bottom: 25px;
}

#box1 .flexbox p {
  width: 100%;
  margin-bottom: 15px;
}

#box1 .flexbox figure {
  width: 100%;
  margin-bottom: 15px;
}

#box1 .flexbox figure img {
  width: 100%;
  height: auto;
}
#box1 .moviebox{
  margin-bottom: 25px;
}
#box1 .moviebox iframe,
#box1 .moviebox p{
  margin-bottom: 15px;
}
#box1 .moviebox iframe{
  width: 100%;
}
#box1 .linkbox {
  display: flex;
  align-items: center;
}

#box1 .linkbox figure {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

#box1 .linkbox figure img {
  width: 100%;
  height: auto;
}

@media screen and (min-width: 481px) {
  #box1 .flexbox {
    display: flex;
    justify-content: space-between;
  }

  #box1 .flexbox p {
    width: 65%;
  }

  #box1 .flexbox figure {
    width: 30%;
  }
}

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

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

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

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

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

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

  .profile figure {
    width: 48%;
    float: left;
    margin-bottom: 15px;
  }

  .profile figure img {
    width: 100%;
    height: auto;
    border: 1px solid #CCCCCC;
  }

  .profile dl {
    width: 48%;
    float: right;
    padding-bottom: 15px;
    margin-top: -5px;
  }

  .profile dt {
    display: none;
  }

  .profile dd span {
    background: #b4b4b4;
    color: #FFFFFF;
    padding: 1px 6px;
  }

  .profile dd.even {
    margin-top: 5px;
  }

  .profile dd.odd {
    margin-top: 5px;
    line-height: 1.4;
  }

  .profile dd span {
    background: #b4b4b4;
    color: #FFFFFF;
    padding: 1px 6px;
  }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@media print,
screen and (min-width: 481px) {
  .profile figure {
    float: left;
  }

  .profile figure img {
    width: 286px;
    height: auto;
    border: 1px solid #CCCCCC;
  }

  .profile dl {
    width: 384px;
    float: right;
  }

  .profile dt {
    font-size: 20px;
    font-size: 2.0rem;
    padding: 3px 0;
    border-bottom: 2px solid #d5d5d5;
  }

  .profile dd.even {
    margin-top: 15px;
  }

  .profile dd.odd {
    margin-top: 10px;
    line-height: 1.4;
  }

  .profile dd span {
    background: #b4b4b4;
    color: #FFFFFF;
    padding: 1px 6px;
  }
}