@import url('https://fonts.googleapis.com/css2?family=Quicksand&family=Zen+Kaku+Gothic+New&family=Yomogi&display=swap');

*,::after,::before{box-sizing:border-box}
*{margin: 0; padding: 0;}
ol,ul{list-style:none}
img{max-width:100%}
table{border-collapse:collapse}
textarea{white-space:revert}

:root{
--one-color: #d7ebfe; /* 一人目(左)カラー */
--two-color: #f1abcd; /* 二人目(右)カラー */
--zero-color: #d3d3d8; /* 三人目(吹出しなし)カラー */
--onetext-color: #31414A; /* 一人目文字色 */
--twotext-color: #31414A; /* 二人目文字色 */
--zerotext-color: #333333; /* 三人目文字色 */
}

body{
  <!--background-image:  radial-gradient( var(--one-color) 2px, transparent 2px), radial-gradient( var(--two-color) 2px, transparent 2px);-->
  background-size: 40px 40px;
  background-position: 0 0,20px 20px;
background-color: #fff;
font-family: 'Quicksand','Zen Kaku Gothic New', sans-serif;
font-size:0.85em;
line-height:1.5;
margin: 0;
padding: 0;
}

a{
text-decoration:none;
color: #999;
}

.wrp{
background: #fff;
width: 90%;
max-width: 600px;
margin: 0 auto 10px;
padding: 10px;
}

header{
background: #fff;
font-family: 'Yomogi';
font-size:1em;
text-align: center ;
font-weight: bold;
height: 170px;
margin: 30px auto;
padding: 10px;
}

.q2-4 {
height: 0;
}

.hidari{
  color: var(--one-color);
}
.hidari::before {
  background-image: url('../image/s.png');  /* 一人目(左)のアイコン画像 */
}
.hidari::after {
  content: "サボ";  /* 一人目の名前 */
}

.migi{
  color: var(--two-color);
}
.migi::before {
  background-image: url('../image/f.png');  /* 二人目(右)のアイコン画像 */
}
.migi::after {
  content: "フレイヤ";  /* 二人目の名前 */
}

.icon {
  display: inline-block;
  position: relative;
  width: 70px;
  height: 70px;
}

.icon::before{
  background-size: contain;
  content: "";
  top: 0;
}

.icon::after{
  position: absolute;
  display: inline-block;
  top: 75px;
}

.icon::before, .icon::after{
  position: absolute;
  display: inline-block;
  left: 0;
  width: 70px;
  height: 70px;
}

.cross {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 2px;
  background: #333;
  transform: rotate(45deg);
  vertical-align: middle;
  margin-top: -40px;
}
.cross::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  transform: rotate(90deg);
}

hr {
height: 8px;
border: none;
border-top: dotted 2px #000;
margin:30px auto;
}

h1{
font-family: 'Yomogi';
font-size: 1.5em;
color: #000;
margin: 5px;
}

h2{
font-family: 'Yomogi';
font-size:1.2em;
}

h3{
font-family: 'Yomogi';
font-size:1.2em;
}

p{
margin: 10px;
}

.text{
padding: 0.5em;
font-size: 0.95em;
}

.waku{
  position: relative;
  margin: 2em;
  padding: 20px;
  border-radius: 10px;
}

/* 一人目(左)の吹き出し設定 */

.one {
  color: var(--onetext-color);
  background-color: var(--one-color);
}

.one::before{
  left: 20px;
  top: -15px;
  border-left: 20px solid var(--one-color);
  border-top: 20px solid var(--one-color);
  border-right: 20px solid transparent;
  border-bottom: 20px solid transparent;
  transform: rotate(45deg);
}

.one::after{
  left: 35px;
  top: -20px;
  border-left: 20px solid #fff;
  border-top: 20px solid #fff;
  border-right: 20px solid transparent;
  border-bottom: 20px solid transparent;
  transform: rotate(45deg);
}


/* 二人目(右)の吹き出し設定 */

.two {
  color: var(--twotext-color);
  background-color: var(--two-color);
}

.two::before{
  right: 20px;
  top: -15px;
  border-right: 20px solid var(--two-color);
  border-top: 20px solid var(--two-color);
  border-left: 20px solid transparent;
  border-bottom: 20px solid transparent;
  transform: rotate(-45deg);
}

.two::after{
  right: 35px;
  top: -20px;
  border-right: 20px solid #fff;
  border-top: 20px solid #fff;
  border-left: 20px solid transparent;
  border-bottom: 20px solid transparent;
  transform: rotate(-45deg);
}

/* 三人目の枠設定(吹出しなし枠のみ) */

.zero {
  color: var(--zerotext-color);
  background-color: var(--zero-color);
}

/* 枠の共通設定 */

.waku::before,.waku::after
{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
}

footer{
font-family: 'Yomogi';
text-align: center ;
margin: 50px auto 20px;
}

input, textarea {
width: 85%;
border: solid 1px #333;
background: #fff;
margin: 1em;
padding: 2px;
}
textarea{
height: 5em;
}

