a.p:hover {     position: relative;     text-decoration: none; }
a.p span {     display: none;     position: absolute;     top: 1em;     left: 0; }
a.p:hover span {    border: none;     display: block;   margin-top: -250px;
  margin-bottom: 0px; margin-right: 0px;  width: 314px;    }

.cateword {
    position: relative;
}
.cateword span.remark1 {
    display: none;
}
.cateword a:hover span.remark1 {
    background: none repeat scroll 0 0 #EEFFEE;
    border: 1px solid #CCCCCC;
    color: #000000;
    display: block;
    line-height: 1.2em;
    margin: 0.5em;
    padding: 0.5em;
    position: absolute;
    top: -270px;
    width: 334px;
    height:255px;
}
.cateword span.remark2 {
  display: none;
}
.cateword a:hover span.remark2 {
  background: none repeat scroll 0 0 #EEFFEE;
  border: 1px solid #CCCCCC;
  color: #000000;
  display: block;
  line-height: 1.2em;
  margin: 0.5em;
  padding: 0.5em;
  position: absolute;
  top: -270px;
  left: -150px;
  width: 334px;
  height:255px;
}
.cateword span.remark3 {
  display: none;
}
.cateword a:hover span.remark3 {
  background: none repeat scroll 0 0 #EEFFEE;
  border: 1px solid #CCCCCC;
  color: #000000;
  display: block;
  line-height: 1.2em;
  margin: 0.5em;
  padding: 0.5em;
  position: absolute;
  top: -270px;
  left: -220px;
  width: 334px;
  height:255px;
}
.cateword span.remark {
  display: none;
}
.cateword a:hover span.remark {
  background: none repeat scroll 0 0 #EEFFEE;
  border: 1px solid #CCCCCC;
  color: #000000;
  display: block;
  line-height: 1.2em;
  margin: 0.5em;
  padding: 0.5em;
  position: absolute;
  top: -270px;
  left: -100px;
  width: 334px;
}

.cateword span.remark_m1 {
  display: none;
}
.cateword a:hover span.remark_m1 {
  background: none repeat scroll 0 0 #EEFFEE;
  border: 1px solid #CCCCCC;
  color: #000000;
  display: block;
  line-height: 1.2em;
  margin: 0.5em;
  padding: 0.5em;
  position: absolute;
  top: -270px;
  width: 155px;
}
.cateword span.remark_m2 {
display: none;
}
.cateword a:hover span.remark_m2 {
background: none repeat scroll 0 0 #EEFFEE;
border: 1px solid #CCCCCC;
color: #000000;
display: block;
line-height: 1.2em;
margin: 0.5em;
padding: 0.5em;
position: absolute;
top: -270px;
left: -150px;
width: 155px;
}
.cateword span.remark_m3 {
display: none;
}
.cateword a:hover span.remark_m3 {
background: none repeat scroll 0 0 #EEFFEE;
border: 1px solid #CCCCCC;
color: #000000;
display: block;
line-height: 1.2em;
margin: 0.5em;
padding: 0.5em;
position: absolute;
top: -270px;
left: -220px;
width: 155px;
}
.cateword span.remark_m {
display: none;
}
.cateword a:hover span.remark_m {
background: none repeat scroll 0 0 #EEFFEE;
border: 1px solid #CCCCCC;
color: #000000;
display: block;
line-height: 1.2em;
margin: 0.5em;
padding: 0.5em;
position: absolute;
top: -270px;
left: -100px;
width: 155px;
}

.cateword span.jetegami1 {
  display: none;
}
  .cateword a:hover span.jetegami1 {
  background: none repeat scroll 0 0 #EEFFEE;
  border: 1px solid #CCCCCC;
  color: #000000;
  display: block;
  line-height: 1.2em;
  margin: 0.5em;
  padding: 0.5em;
  position: absolute;
  top: -270px;
  left: -10px;
  width: 160px;
  height:218px;
}

img[usemap]{
  max-width: 100%;
  height: auto;
}
/*/////////////////////////////////////////////////
//LINE風チャット画面(会話方式)を記事に表示する方法 relative
/////////////////////////////////////////////////*/
input, select, textarea,li {
  font-size: 150%;
}
input.addr {
  width:100%;
}

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

/* タイトル部分 */
.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;
}

/* 自分の会話 */
.line__container .line__left {
    width: 100%;
    position: relative;
    display: block;
    margin-bottom: 5px;
    max-width: 80%;
    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 {
  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;
}

/* 相手の会話 */
.line__container .line__right {
    position: relative;
    display: block;
    margin: 5px 0;
    max-width: 75%;
    float: right;
    margin-right: 15px;
    clear: both;
}

/* コメントエリア */
.line__container .line__right .text {
  padding: 10px;
  border-radius: 20px;
  background-color: #8de055;
  margin: 0;
  margin-left: 80px;
}



/* 吹き出し */
.line__container .line__right .text::after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  right: -10px;
  top: 10px;
  border-left: 20px solid #8de055;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
/* 正方形を用意 */
.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;
}

/*片側だけ角丸に*/
.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;
  font-weight: bold;
  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;
}
/*テキストや吹き出しを配置します。*/
.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-center {
  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-center > div{
  text-align: center;
  position: relative;
  top: 10px;
  padding-left: 70px;
  padding-right: 70px;
}

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

.fukidashi-box-center 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;
  }
  
  .fukidashi-box {
    width: 170px;
    height: 235px;
  }
  .fukidashi-box-right {
    width: 314px;
    height: 235px;
  }
  .fukidashi-box-center {
    width: 314px;
    height: 235px;
  }
  .fukidashi-box > div {
    top: 10px;
  }
  .fukidashi-box-right > div {
    top: 10px;
  }
  .fukidashi-box-center > div {
    top: 10px;
  }
  .fukidashi-box p {
    font-size: 13px;
  }

  .fukidashi-box-right p {
    font-size: 13px;
  }
  .fukidashi-box-center 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: 100vw;	/*コンテナー幅 980px vw:Viewport Width*/
}

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

}
