@charset "utf-8";

/*/////////////////////////////////////////////////
//LINE風チャット画面(会話方式)を記事に表示する方法 relative
/////////////////////////////////////////////////*/

.line__container {
  width: 980px	/*コンテナー幅 980px vw:Viewport Width 70vw*/
  padding:0;
  background: #7494c0;	/*#7494c0*/
  overflow: hidden;
  max-width: 1920px;/*max-width: 70vw;  コンテナー幅400px vw:Viewport Width*/
  margin: 20px auto;/*コンテナーmargin: 20px auto*/
  font-size: 120%;
}

/* タイトル部分 */
.line__container .line__title {
  background: #273246;
  padding: 10px;
  text-align: center;
  font-size: 150%;
  color: #ffffff;
}
/* メッセージ送信部分 */
.line__container fieldset {
  font-size: 100%;
}
/* 会話部分 */
.line__container .line__contents {
  padding: 10px;
  overflow: hidden;
  line-height: 135%;
}

.line__container .scroll {
  height: 80vh;/*コンテナー　スクロール高さ500px vh:Viewport Height*/
  overflow-y: scroll;
}

/* スタンプ画像最大幅 */
.line__container .stamp img {
  max-width:150px;
}

/* 自分の会話 -------begin-----------------*/
.line__container .line__left {
    width: 100%;
    position: relative;
    display: block;
    margin-bottom: 5px;
    max-width: 90%;
    clear: both;
}
/* アイコン画像 */
.line__container .line__left figure {
    width: 50px;
    position: absolute;
    top: 15px;
    left: 0;
    padding: 0;
    margin: 0;
}
/* 正方形を用意 */
.line__container .line__left figure img{
    border-radius: 50%;
    width: 50px;
    height: 50px;
}
.line__container .line__left .line__left-text {
  margin-left: 70px;
}
.line__container .line__left .line__left-text .name {
  font-size: 100%;
  color: #ffffff;
}
.line__container .line__left .line__left-text .date {
  font-size: 100%;
  color: #ffffff;
}
/* コメントエリア */
.line__container .line__left .text {
  color: #000000;
  margin: 0;
  position: relative;
  padding: 10px;
  border-radius: 20px;
  background-color: #FFFFFF;
}
/* 吹き出し */
.line__container .line__left .text::after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: -10px;
  top: 10px;
  border-right: 20px solid #FFFFFF;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

/* 自分の会話 ---------end---------------*/

/* 相手の会話 -------begin-----------------*/
.line__container .line__right {
    width: 100%;
    position: relative;
    display: block;
    margin-bottom: 5px;
    max-width: 85%;
    clear: both;
	float: right;
    margin-right: 55px;
}
/* アイコン画像 */
.line__container .line__right figure {
    width: 50px;
    position: absolute;
    top: 15px;
    right: -50px;
    padding: 0;
    margin: 0;
}
/* コメントエリア */
.line__container .line__right .text {
  color: #000000;
  margin: 0;
  padding: 10px;
  border-radius: 20px;
  background-color: #90EE90;	/*#8de055*/	
  /*margin-left: 80px;*/
  text-align: right;	/*内容を右寄せ*/
}
/* 吹き出し */
.line__container .line__right .text::after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  right: -10px;
  top: 35px;	/*35px*/	
  border-left: 10px solid  #FFFFFF;	/*#8de055 20px*/	
  border-top: 5px solid transparent;/*10px*/	
  border-bottom: 5px solid transparent;/*10px*/
}
.line__container .line__right .right__first-text {
  margin-left: 50px;
}
.line__container .line__right .line__right-text .name {
  text-align: right;
  font-size: 100%;
  color: #ffffff;
}
.line__container .line__right .line__right-text .date {
  font-size: 100%;
  color: #ffffff;
}
/* 正方形を用意 */
.line__container .line__right figure img{
  border-radius: 50%;
  width: 50px;
  height: 50px;
}
/* 相手がスタンプを送る時 */
.line__container .line__right .stamp {
  position: relative;
  margin-left: 80px;
}
/* 既読エリア */
.line__container .line__right .date {
  content: '';
  position: absolute;
  display: block;
  width: 120px;
  text-align: right;
  left: -50px;
  bottom: 0px;
  font-size: 100%;
  color: #ffffff;
}
/* 相手の会話 -------end-------------------*/

/* 先輩の会話 左-------begin-----------------*/
.line__container .left__first {
    width: 100%;
    position: relative;
    display: block;
    margin-bottom: 5px;
    max-width: 90%;
    clear: both;
}
/* アイコン画像 */
.line__container .left__first figure {
    width: 50px;
    position: absolute;
    top: 15px;
    left: 0;
    padding: 0;
    margin: 0;
}
/* 正方形を用意 */
.line__container .left__first figure img{
    border-radius: 50%;
    width: 50px;
    height: 50px;
}
.line__container .left__first .left__first-text {
  margin-left: 70px;
}
.line__container .left__first .left__first-text .name {
  font-size: 100%;
  color: #ffffff;
}
.line__container .left__first .left__first-text .date {
  font-size: 100%;
  color: #ffffff;
}
/* コメントエリア */
.line__container .left__first .text {
  margin: 0;
  position: relative;
  padding: 10px;
  border-radius: 20px;
  background-color: #FFCCFF;	/*#FFFF99#ffc0cb*/
}
/* 吹き出し */
.line__container .left__first .text::after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: -10px;
  top: 10px;
  border-right: 20px solid #FFFFFF;	/*#ffc0cb#FFFF99*/
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
/* 先輩の会話 左---------end---------------*/

/* 先輩の会話 右-------begin-----------------*/
.line__container .right__first {
    width: 100%;
    position: relative;
    display: block;
    margin-bottom: 5px;
	max-width: 85%;
    clear: both;
	float: right;
    margin-right: 55px;
}
/* アイコン画像 */
.line__container .right__first figure {
    width: 50px;
    position: absolute;
    top: 15px;
    right: -55;
    padding: 0;
    margin: 0;
}
/* コメントエリア */
.line__container .right__first .text {
  margin: 0;
  padding: 10px;
  border-radius: 20px;
  background-color: #FFFF99;		/*#ffc0cb*/
  /*margin-left: 80px;*/
  text-align: right;	/*内容を右寄せ*/

}
/* 吹き出し */
.line__container .right__first .text::after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  right: -10px;
  top: 35px;
  border-left: 20px solid #FFFFFF;		/*#FFFF99 #FFFF99#ffc0cb*/
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.line__container .right__first .right__first-text {
  margin-left: 50px;
}
.line__container .right__first .right__first-text .name {
  text-align: right;
  font-size: 100%;
  color: #ffffff;
}
.line__container .right__first .right__first-text .date {
  font-size: 100%;
  color: #ffffff;
}
/* 正方形を用意 */
.line__container .right__first figure img{
  border-radius: 50%;
  width: 50px;
  height: 50px;
}
/* 相手がスタンプを送る時 */
.line__container .right__first .stamp {
  position: relative;
  margin-left: 80px;
}
/* 既読エリア */
.line__container .right__first .date {
  content: '';
  position: absolute;
  display: block;
  width: 120px;
  text-align: right;
  left: -50px;
  bottom: 0px;
  font-size: 100%;
  color: #ffffff;
}
/* 先輩の会話 右---------end---------------*/
/* コメント右---------begin---------------*/
.line__container .line__contents .right__first .rightcomment {
	text-align: right;
	color: #ffffff;
}
/* 画像 */
.line__container .line__contents .right__first .rightimg{
    max_width: 100%;
    height: auto;
}

/* コメント右---------end---------------*/
/* コメント左---------begin---------------*/
.line__container .line__contents .left__first .leftcomment {
	text-align: left;
	color: #ffffff;
}
/* 画像 */
.line__container .line__contents .left__first .leftimg{
    max_width: 100%;
    height: auto;
}

/* コメント左---------end---------------*/
/* 先輩の会話 右---------end---------------*/
/* コメント右---------begin---------------*/
.line__container .line__contents .line__right .rightcomment {
	text-align: right;
	color: #ffffff;
}
/* 画像 */
.line__container .line__contents .line__right .rightimg{
    max_width: 100%;
    height: auto;
}
/* コメント右---------end---------------*/
/* コメント左---------begin---------------*/
.line__container .line__contents .line__left .leftcomment {
	text-align: left;
	color: #ffffff;
}


/* 画像 */
.line__container .line__contents .line__left .leftimg{
    max_width: 100%;
    height: auto;
}



/* コメント左---------end---------------*/

/*片側だけ角丸に*/
.btn-right-radius {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 0.25em 0.5em;
  text-decoration: none;
  color: #00BCD4;
  background: #ECECEC;
  border-radius: 0 15px 15px 0;
  transition: .4s;
}

.btn-right-radius:hover {
  background: #636363;
}
/*上だけ角丸*/
.btn-top-radius {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 8px 10px 5px 10px;
  text-decoration: none;
  color: #FFA000;
  background: #fff1da;
  border-bottom: solid 4px #FFA000;
  border-radius: 15px 15px 0 0;
  transition: .4s;
}

.btn-top-radius:hover {
  background: #ffc25c;
  color: #FFF;
}
/*ステッチ角丸*/
.btn-stitch {
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  background: #668ad8;
  color: #FFF;
  border-radius: 4px;
  box-shadow: 0px 0px 0px 5px #668ad8;
  border: dashed 1px #FFF;
}

.btn-stitch:hover {
  border: dotted 1px #FFF;
}

/*角丸のフラットボタン*/
.btn-gradient-radius {
  display: inline-block;
  padding: 7px 20px;
  border-radius: 25px;
  text-decoration: none;
  color: #FFF;
  background-image: linear-gradient(45deg, #FFC107 0%, #ff8b5f 100%);
  transition: .4s;
}

.btn-gradient-radius:hover {
  background-image: linear-gradient(45deg, #FFC107 0%, #f76a35 100%);
}

/*シンプルな円形*/
.btn-circle-border-simple {
  display: inline-block;
  text-decoration: none;
  color: #668ad8;
  width: 120px;
  height: 120px;
  line-height: 120px;
  border-radius: 50%;
  border: solid 2px #668ad8;
  text-align: center;
  vertical-align: middle;
  overflow: hidden;
  font-weight: bold;
  transition: .4s;
}

.btn-circle-border-simple:hover {
  background: #b3e1ff;
}
.box12{
  background-color:#EEFFFF;
}
.message{
  color:#FFF;
}
/*テキストや吹き出しを配置します。*/
.text {
  background-color:#fff;
  border:solid 2px #000;
  margin:0;
  padding:3px 10px;
}
 
.top-left {
  left:-6px;
  position:absolute;
  top:-2px;
  transform:skew(-15deg);
}
 
.bottom-right {
  bottom:-2px;
  position:absolute;
  right:-6px;
  transform:skew(-15deg);
}
 
.speech {
  background-color:#fff;
  border:solid 2px #000;
  border-radius:12px;
  display:inline-block;
  margin:.5em;
  padding:.5em 1em;
  position:relative;
}
 
.speech:before {
  border:solid 12px transparent;
  border-left:solid 12px #000;
  border-top:solid 12px #000;
  bottom:-24px;
  content:"";
  height:0;
  left:24px;
  position:absolute;
  transform:skew(-15deg);
  width:0;
}
 
.speech:after {
  border:solid 10px transparent;
  border-left:solid 10px #fff;
  border-top:solid 10px #fff;
  bottom:-19px;
  content:"";
  height:0;
  left:27px;
  position:absolute;
  transform:skew(-15deg);
  width:0;
}

.img-campus {
  width: 314px;
  margin: 0px auto 10px;
  /*background: url('https://incloop.com/wp-content/uploads/2017/04/03_背景.jpg');*/
  background-repeat: no-repeat;
  background-size: auto;
  border: solid 3px;
}

.fukidashi-box {
  width: 170px;
  height: 235px;
  /*background: url('https://incloop.com/wp-content/uploads/2017/04/02_雲みたいな吹き出し.png');*/
  background-repeat: no-repeat;
  background-size: cover;
}

.fukidashi-box-right {
  width: 314px;
  height: 235px;
  /*background: url('https://incloop.com/wp-content/uploads/2017/04/02_雲みたいな吹き出し.png');*/
  background-repeat: no-repeat;
  background-size: cover;
}

.fukidashi-box > div{
  text-align: right;
  position: relative;
  top: 10px;
}

.fukidashi-box-right > div{
  text-align: right;
  position: relative;
  top: 10px;
  padding-left: 140px;
}

.fukidashi-box p {
  font-size: 14px;
  margin: 5px;
  line-height: normal;
  padding-left: 5px;
}

.fukidashi-box-right p {
  font-size: 14px;
  margin: 5px;
  line-height: normal;
  padding-left: 5px;
}

.img-campus img {
  width: 314px;
  margin: auto auto auto 120px;
  display: block;
}

@media screen and (max-width : 450px) {
  .img-campus {
    width: 314px;	/*width: 314px*/
  }
  
  .fukidashi-box {
    width: 170px;
    height: 235px;
  }
  .fukidashi-box-right {
    width: 314px;
    height: 235px;
  }
  .fukidashi-box > div {
    top: 10px;
  }
  .fukidashi-box-right > div {
    top: 10px;
  }

  .fukidashi-box p {
    font-size: 13px;
  }

  .fukidashi-box-right p {
    font-size: 13px;
  }

  .img-campus img {
    width: 314px;
    margin: auto auto auto 10px;
  }
}



/*ここからタブレット用（481px～800px）環境の設定############################
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (min-width:481px) and (max-width:800px){
.line__container {
  width: 80vw;	/*コンテナー幅 980px vw:Viewport Width width: 100vw;*/
}

}
/*ここからスマートフォン用（480px以下）環境の設定$$$$$$$$$$$$$$$$$$$$$$$$$$
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (max-width : 480px){
.line__container {
  width: 80vw;	/*コンテナー幅 980px vw:Viewport Width width: 100vw;*/
}

}
