/* ------------------------------
for pc
------------------------------ */
.article_content a,
.article_footer a {
  text-decoration: underline;
}
.article_head .article_category{
  float: right;
  margin-top: 1.5em;
  height: 2em;
  width: auto;
}
.article_head .article_date {
  font-size: 16px;
  font-weight: bold;
  padding-top: 1em;
}
.article_head .article_title {
  font-size: 18px;
}

.article_content {
  padding-top: 1em;
}
.article_content a{
  word-break: break-all;
}
.article_content img{
  height: auto;
  max-width: 100%;
}
.article_content dl.conversation dt{
  float:left;
}
.article_content dl.conversation dd{
  margin-left:70px;
}
.article_content .mov_village{
  border:solid 1px #f1f1f1;
  padding:15px;
}
.article_content h2{
  font-size: 14px;
}
.article_content iframe{
  max-width: 100%;
}
.article_content table {
  margin: 1em 0;
}
.article_content table tr th{
  padding-right: 1em;
  white-space: nowrap;
}
.article_content .video{
    max-width: 640px;
    position: relative;
    width: 100%;
}
.article_content .video::after{
    content: "";
    display: block;
    padding-top: 56.25%;
}
.article_content .video iframe{
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}
.article_footer .profile {
  background-color: #f1f1f1;
  display: none;
  line-height: 180%;
  margin-bottom: 3em;
  padding: 2em;
}
.article_footer .profile.prof1,
.article_footer .profile.prof2,
.article_footer .profile.prof3,
.article_footer .profile.prof4 {
  display: block;
}

.article_footer .profile .face_photo {
  background-size: cover;
  background-position: center center;
  border-radius: 50%;
  display: block;
  float: left;
  width: 20%;
}
.article_footer .profile .face_photo::after {
  content: "";
  display: block;
  padding-top: 100%;
}
.article_footer .profile .photo_exists {
  margin-left: 23%;
}
.article_footer .profile .posturl {
  word-break: break-all;
}
.article_footer .profile .proftext {
  padding-top: 1em;
}

/*------------------------------
fukidashi
-------------------------------*/
.kaiwa{
  margin-bottom: 40px;
}
.kaiwa-img-left{
  margin: 0;
  float: left;
  width: 75px;
  height: 75px;
}
.kaiwa-img-right{
  margin: 0;
  float: right;
  width: 75px;
  height: 75px;
}
.kaiwa figure img{
  width: 100%;
  height: 100%;
  border: 1px solid #aaa;
  border-radius: 50%;
  margin: 0;
}
.kaiwa-img-description{
  padding: 5px 0 0;
  font-size: 10px;
  text-align: center;
}
.kaiwa-text-right{
  position: relative;
  margin-left: 100px;
  margin-right: 100px;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 5px;
}
.kaiwa-text-left{
  position: relative;
  margin-right: 100px;
  margin-left:100px;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 5px;
}
p.kaiwa-text{
  margin: 0 0 20px;
}
p.kaiwa-text:last-child{
  margin-bottom: 0;
}
.kaiwa-text-right:before{
  position: absolute;
  content: "";
  border: 10px solid transparent;
  border-right: 10px solid #aaa;
  top: 15px;
  left: -20px;
}
.kaiwa-text-right:after{
  position: absolute;
  content: "";
  border: 10px solid transparent;
  border-right: 10px solid #fff;
  top: 15px;
  left: -19px;
}
.kaiwa-text-left:before{
  position: absolute;
  content: "";
  border: 10px solid transparent;
  border-left: 10px solid #aaa;
  top: 15px;
  right: -20px;
}
.kaiwa-text-left:after{
  position: absolute;
  content: "";
  border: 10px solid transparent;
  border-left: 10px solid #fff;
  top: 15px;
  right: -19px;
}
.kaiwa:after, .kaiwa:before{
  clear: both;
  content: "";
  display: block;
}

/* ------------------------------
insert prof box
------------------------------ */
.insert_prof_box{
	background-color: #f4f4f4;
	margin: 4em auto;
	padding: 2em;
	display: flex;
}
.insert_prof_box h3{
	font-weight: normal;
	font-size: 14px;
	padding-bottom: 1em;
}
.insert_prof_box .fig_text{
	width: 65%;
	padding: 0 2em;
}
.insert_prof_box .fig_pic{
	width: 30%;
	text-align: center;
}
.insert_prof_box .fig_pic img{
	border-radius: 50%;
	margin: 0;
}

/* ------------------------------
for mobile
------------------------------ */
@media screen and (max-width: 767px) {
  .article_head .article_category{
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
  .article_content {
    font-size: 14px;
  }
  .article_footer .profile .face_photo {
    float: none;
    margin: 0 auto 1em auto;
    width: 50%;
  }
  .article_footer .profile .photo_exists {
    margin-left: 0;
  }
  .kaiwa-img-left,
  .kaiwa-img-right{
    width: 60px;
    height: 60px;
  }
  .kaiwa-text-right{
    margin-left: 80px;
  }
  .kaiwa-text-left{
    margin-right: 80px;
  }
  .kaiwa-text-right{
    margin-right:0px;
  }
  .kaiwa-text-left{
  margin-left: 0px;
  }
	/* ------------------------------
	insert prof box
	------------------------------ */
	.insert_prof_box{
		display: block;
	}
	.insert_prof_box .fig_text{
		width: 100%;
		padding: 0;
	}
	.insert_prof_box .fig_pic{
		width: 100%;
	}
}
