@charset "UTF-8";
body {
  margin: 0;
  background: #b3f2ff;
}

.container {
  padding: 32px;
}

.messages {
  margin: 0;
  padding: 0;
  list-style: none;
}

.messages li {
  display: flex;
}

.messages li + li {
  margin-top: 32px;
}

li.right-side {
  flex-direction: row-reverse;
}

.pic {
  width: 80px;
  text-align: center;
}

.pic img {
  width: 80px;
  height:80px;
  border-radius: 50%;
	
}

.txt {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  max-width: 60%;
  line-height: 1.8;
  position: relative; /* 相対位置 */	
}

.txt::before {
  content: '';
  width: 0;
  height: 0;
  border: 8px solid transparent;
  position: absolute; /* 絶対位置 */
}

/* 吹き出しの三角を作成する */
.left-side .txt::before {
  top: 12px;
  left: -16px;
  border-right-color: #fff;
}

/* 吹き出しの三角を作成する */
.right-side .txt::before {
  top: 12px;
  right: -16px;
  border-left-color: #fff;
}

h3.corner{
	position: relative;
  padding: 1rem 2rem calc(1rem + 8px);
  background: #ffffe6;
	color:#3d4d99;
}
h3.corner:before {
  position: absolute;
  top: -7px;
  left: -7px;
  width: 95%;
  height: 95%;
  content: '';
  border: 4px solid #ffa64d;
	padding-left: 30px;
	
}

h2 {
  position: relative;
  padding: 1rem 2rem calc(1rem + 8px);
  background: #ffffe6;
	color:#3d4d99;
}

h2:before {
  position: absolute;
  top: -7px;
  left: -7px;
  width: 100%;
  height: 100%;
  content: '';
  border: 4px solid #ffa64d;
}

h3.kennai{
	padding: 1em;
margin: 2em auto;
color: #3d4d99;
width:93%;
background: #ffffe6;
border-top: solid 5px #ffa64d;
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
	padding-top: 1em;
}

body{
	font-family:YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}

img.topbutton{
	width: 200px;
	padding-bottom: 40px;
	padding-left: 90px;
}