﻿
.container-b {
  font-family: "Yu Gothic", YuGothic, Verdana, 'Hiragino Kaku Gothic ProN','Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'メイリオ', Meiryo, sans-serif;
  text-align: center;
  padding-top: 0px;
}

/* ここから下がボタンのCSS　*/
.btn-jj {
  display: inline-block;
  width: 30%;
  text-align: center;
  background-color: #f5f5f5;
  border: 2px solid #a9a9a9;
  font-size: 13px;
  color: #a9a9a9;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 5px;
  border-radius: 20px;
  position: relative;
}

.btn-jj span {
  position: relative;
  z-index: 1;
}

.btn-jj::before,
.btn-jj::after {
  content: "";
  display: block;
  background-color: #FFF;
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  transition: .2s;
}
.btn-jj::before {
  left: 0;
}
.btn-jj::after {
  right: 0;
}

.btn-jj:hover:before,
.btn-jj:hover:after {
  width: 0;
  background-color: #000;
}

.btn-jj:hover {
  color: #000;
}



.btn-jj-b {
  display: inline-block;
  width: 30%;
  text-align: center;
  background-color: #000;
  border: 2px solid #000;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 5px;
  border-radius: 5px;
  position: relative;
}

.btn-jj-b span {
  position: relative;
  z-index: 1;
}

.btn-jj-b::before,
.btn-jj-b::after {
  content: "";
  display: block;
  background-color: #696969;
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  transition: .2s;
}
.btn-jj-b::before {
  left: 0;
}
.btn-jj-b::after {
  right: 0;
}

.btn-jj-b:hover:before,
.btn-jj-b:hover:after {
  width: 0;
  background-color: #696969;
}

.btn-jj-b:hover {
  color: #696969;
}



/* 吹き出し風のボックス  */

.box_cloud {
    position: relative;
    margin: 0em 0px 15em 0;
    padding: 1em 2em;
    background: #fff;
    border: solid 3px #000;/*線*/
    border-radius: 30px;
}
.box_cloud:before{
    font-family: FontAwesome;
    content: "\f111";
    position: absolute;
    font-size: 15px;
    bottom: -90px;
    color: #000;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}
.box_cloud:after{
    font-family: FontAwesome;
    content: "\f111";
    position: absolute;
    font-size: 23px;
    bottom: -73px;
    color: #000;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}
.box_cloud p {
    margin: 0; 
    padding: 0;
}


/*---------- ボタン装飾 ------------*/

.roulette {
        border:1px solid #000000;
        font-size:20px;
        font-weight:bold;
	    height:11em;
        width:700px;
        display: table-cell;
        vertical-align: middle;
      }

input[type="button"] {
   /* input要素のうちtype属性値がbuttonのものに対して装飾 */
   border: 2px solid #000; /* 枠線 */
   border-radius: 2em;      /* 角丸 */
}
input[type="button"]:hover {
   /* マウスが載ったとき */
   border: 2px solid #000;
   border-radius: 2em;      /* 角丸 */
}
input[type="button"]:active {
   /* クリックされたとき */
   border: 2px solid skyblue;
   border-radius: 2em;      /* 角丸 */
}

.box_jj_sec {
    position: relative;
    margin: 1em 0;
    padding: 1.5em 1.5em;
    border: solid 3px #c0c0c0;
    border-radius: 12px;
}
.box_jj_sec .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 18px;
    background: #FFF;
    color: #c0c0c0;
    font-weight: bold;
}
.box_jj_sec p {
    margin: 0; 
    padding: 0;
}