/*共通*/

.allbox{
	max-width: 900px;
	margin: 0 auto;
}

.flex{
  display: flex;
  justify-content: space-between;
  text-align: center;
}	

.mt-30{
	margin-top: 30px;
}

.mt-50{
	margin-top: 50px;
}

.mt-80{
	margin-top: 80px;
}

.mt-100{
	margin-top: 100px;
}

.catch{
    text-align: center;
    color: #00a0d2;
    letter-spacing: 0.08em;
    line-height: 1.2;
	font-size: 40px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 900;
}

.contents {
    width: 100%;
    max-width: 1080px;
    margin: 50px auto;
}

.contents .box {
    position: relative;
    margin: 0 auto;
    height: auto;
}

.contents .box p {
	font-family: ryo-gothic-plusn, YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-weight: bold;
	line-height: 1.6;
    position: absolute;
    right: 0%;
    background-color: rgba(255, 255, 255, 0.65);
    z-index: 100;
    top: 50px;
    width: 55%;
    height: 300px;
    padding: 30px;
    box-sizing: border-box;
    text-align: justify;
	align-content: center;
}

.midashi{
	margin-top: 150px;
	font-size: 16px;
    color: #FFF;
    padding: 10px 15px;
    margin-top: 40px;
    line-height: 1.5em;
    margin-bottom: 30px;
    border-top: 1px dotted #1F1F1F;
    border-bottom: 1px dotted #1F1F1F;
	background: #1F1F1F;
}
.midashi1,.midashi2{
	margin-top: 150px;
	font-size: 18px;
    margin-bottom: 30px;
	font-weight: 700;
	line-height: 1.5;
	padding: 1rem 4rem;
	text-align: left;
	letter-spacing: 0.1em;
	border-radius: 0.5rem;
}

.midashi1{
	color: #fff;
    background: #78d0e7;
    box-shadow: 0 5px 0 #36a0bc;	
}
.midashi2{
	color: #333;
	background: #fff100;
    box-shadow: 0 5px 0 #ccc100;
}

.blank{
	margin-top: 8em;
}


/*--------------------------------------
ボタン 緑色（中央寄せ）
--------------------------------------*/
.button1,
a.button1,
button.button1 {
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

.button1-wrap {
  margin: 30px 0;
  text-align: center; 
}

a.button1-c {
    width: 100%;
    position: relative;
    padding: 0.25rem 2rem 0.5rem 3.5rem;
    color: #fff;
    background: #78d0e7;
    -webkit-box-shadow: 0 5px 0 #36a0bc;
    box-shadow: 0 5px 0 #36a0bc;
}

a.button1-c span {
  position: absolute;
  top: -10px;
  left: calc(50% - 150px);
  display: block;
  width: 300px;
  padding: 0.2rem 0;
  color: #333;
  border: 2px solid #333;
  border-radius: 0.5rem;
  background: #fff;
  -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

a.button1-c:hover {
  font-size: 1.7rem;
  -webkit-transform: translate(0, 0px);
  transform: translate(0, 0px);
  color: #fff;
  background: #78d0e7;
  -webkit-box-shadow: 0 2px 0 #36a0bc;
  box-shadow: 0 2px 0 #36a0bc;
}

a.button1-c:hover:before {
  left: 2rem;
}
/*--------------------------------------
ボタン 黄色（中央寄せ）
--------------------------------------*/
.button3,
a.button3,
button.button3 {
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

.button3-wrap {
  margin: 30px 0;
  text-align: center; 
}

a.button3-c {
    width: 100%;
    position: relative;
    padding: 0.25rem 2rem 0.5rem 2.1rem;
    color: #333;
    background: #fff100;
    -webkit-box-shadow: 0 5px 0 #2c9d60;
    box-shadow: 0 5px 0 #ccc100;
}

a.button3-c span {
    position: absolute;
    top: -10px;
    left: calc(50% - 150px);
    display: block;
    width: 300px;
    padding: 0.2rem 0;
    color: #333;
    border: 2px solid #333;
    border-radius: 0.5rem;
    background: #fff;
  -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

a.button3-c:hover {
  font-size: 1.7rem;
  -webkit-transform: translate(0, 0px);
  transform: translate(0, 0px);
  color: #333;
  background: #fff100;
  -webkit-box-shadow: 0 2px 0 #ccc100;
  box-shadow: 0 2px 0 #ccc100;
}

a.button3-c:hover:before {
  left: 2rem;
}

/*タグデザイン*/
.badge-group{
  width: 500px;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.badge-item{
  margin-top: 10px;
  margin-right: 8px;
  margin-bottom: 12px;
  border-radius: 4px;
  background:#FF4B86;
  box-shadow: 0 2px 2px rgba(0, 0, 0, .4);
  padding: 8px 10px;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

/*ボックスデザイン*/
.box_ttl {
    position: relative;
    padding: 1rem;
    border-radius: 10px;
    border: 3px solid #FFDFEA;
    background-color: #FFDFEA;
    color: #333;
	text-align: center;
	margin-bottom: 20px;
}

.box_ttl::before {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 3px solid #212121;
    content: '';
}

.box_ttl p {
    line-height: 2;
	text-align: center;
	margin-bottom: 16px;
	font-weight: bold;
}

/*吹き出し*/
/* ----- 共通 ----- */

.talk {
margin-bottom: 0px;
}

.talk figure img {
width: 100%;
height: 100%;
border: 2px solid #9ce191;
border-radius: 50%;
margin: 0;
}

/* 画像の下のテキスト */
.talk-imgname {
padding: 5px 0 0;
font-size: 10px;
text-align: center;
}

p.talk-text {
margin: 0 0 8px;
}

p.talk-text:last-child {
margin-bottom: 0px;
}

/* 回り込み解除 */
.talk:after,.talk:before {
clear: both;
content: "";
display: block;
}

/* ----- 左の場合 ----- */

/* 左画像 */
.talk-Limg {
margin-left: 4px;
margin-top: -1px;
float: left;
width: 50px;
height: 50px;
}

/* 左からの吹き出しテキスト */
.talk-Ltxt {
color: #444;
position: relative;
margin-left: 65px;
margin-bottom: 5px;
padding: 1.2em;
border: 3px solid #9ce191;
background-color: #fff;
border-radius: 5px;
}

/* 左の三角形を作る */
.talk-Ltxt:before {
position: absolute;
content: '';
border: 10px solid transparent;
border-right: 10px solid #9ce191;
top: 15px;
left: -20px;
}

.talk-Ltxt:after {
position: absolute;
content: '';
border: 10px solid transparent;
border-right: 10px solid #fff;
top: 15px;
left: -16px;
}



/*-----------------------------------------------------*/
/* デスクトップ */
/*-----------------------------------------------------*/


@media only screen and (min-width: 769px) {
	

	
}

/*-----------------------------------------------------*/
/* スマホ用のCSS */
/*-----------------------------------------------------*/
@media (max-width: 600px) {
	
	.catch{
		font-size: 20px;
	}

	.contents .box p {
		top: 100%;
		width: 100%;
		height: auto;
	}
	

.blank{
	margin-top: 20em;
}

}