/* アイコン付き会話 */
.speech_baloon{
font-size: 0.9em;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-pack:start;
-webkit-justify-content:flex-start;
justify-content:flex-start;
-webkit-box-align: start;
-webkit-align-items: flex-start;
align-items: flex-start;
margin:1.0em auto;
width:100%;
}
.speech_baloon.left{
-webkit-box-orient:horizontal;
-webkit-box-direction:normal;
-webkit-flex-direction:row;
flex-direction:row;
}
.speech_baloon.right{
-webkit-box-orient:horizontal;
-webkit-box-direction:reverse;
-webkit-flex-direction:row-reverse;
flex-direction:row-reverse;
}
.speech_baloon figure.icon{
text-align: center;
width:68px;
margin:0 1.0em;
}
.speech_baloon figure.icon > .icon-box{
display:inline-block;
position:relative;
text-align: center;
overflow: hidden;
border-radius: 100px;
border: solid 2px;
margin:0;
background-color:currentColor;
width:68px;
height:68px;
padding:2px;
}
.speech_baloon figure.icon > span:after{
content:'';
position:absolute;
left:0;top:0;
width:100%;height:100%;
border-radius: 100px;
box-shadow:inset 0 0 0 2px #fff;
}

.speech_baloon figcaption.name {font-weight: bold;}
.speech_baloon .mess{
position: relative;
color:#444;
border:solid 2px;
border-color:inherit!important;
border-radius: 6px;
min-height:60px;
max-width: calc(100% - 100px);
min-width:4.0em;
padding:0.25em 0.5em;
}
.speech_baloon .mess:before{
content: '';
position: absolute;
top:30px;
line-height: 0;
height: 0;
width:0;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.speech_baloon.left .mess:before{left:0;}
.speech_baloon.right .mess:before{right:0;}


/* キャラクターアイコン */
.speech_baloon.blue {color:#4faacc;border-color:#4faacc;}
.speech_baloon.blue.left .mess:before{box-shadow: 1px -1px 0 5px #fff,-1px 1px 0 5px #4faacc;}
.speech_baloon.blue.right .mess:before{box-shadow: -1px 1px 0 5px #fff,1px -1px 0 5px #4faacc;}

.speech_baloon.red {color:#f18b90;border-color:#f18b90;}
.speech_baloon.red.left .mess:before{box-shadow: 1px -1px 0 5px #fff,-1px 1px 0 5px #f18b90;}
.speech_baloon.red.right .mess:before{box-shadow: -1px 1px 0 5px #fff,1px -1px 0 5px #f18b90;}

.speech_baloon.purple {color:#8b81ff;border-color:#8b81ff;}
.speech_baloon.purple.left .mess:before{box-shadow: 1px -1px 0 5px #fff,-1px 1px 0 5px #8b81ff;}
.speech_baloon.purple.right .mess:before{box-shadow: -1px 1px 0 5px #fff,1px -1px 0 5px #8b81ff;}

.speech_baloon.gray {color:#949494;border-color:#949494;}
.speech_baloon.gray.left .mess:before{box-shadow: 1px -1px 0 5px #fff,-1px 1px 0 5px #949494;}
.speech_baloon.gray.right .mess:before{box-shadow: -1px 1px 0 5px #fff,1px -1px 0 5px #949494;}



/* 装飾枠 */
.gray_box{
      background-image:
        url(/wp-content/uploads/2016/12/gray_border_lt.png),
        url(/wp-content/uploads/2016/12/gray_border_rt.png),
        url(/wp-content/uploads/2016/12/gray_border_lb.png),
        url(/wp-content/uploads/2016/12/gray_border_rb.png),

          url(/wp-content/uploads/2016/12/gray_border_top.png),
          url(/wp-content/uploads/2016/12/gray_border_bottom.png),
          url(/wp-content/uploads/2016/12/gray_border_left.png),
          url(/wp-content/uploads/2016/12/gray_border_right.png);
      background-repeat: no-repeat ,no-repeat,no-repeat,no-repeat,repeat-x,repeat-x,repeat-y,repeat-y;
      background-position: left top,right top,left bottom,right bottom,top,bottom,left,right;

margin:2.0em 0;
      padding:30px;
    }

/*まとめ枠*/
.matome_box_navy,
.matome_box_gold {
position: relative;
padding:0 2em;
margin: 48px auto;
}
.matome_box_navy {border: 3px solid #002e5b;}
.matome_box_gold {border: 3px solid #f2e181;}

.matome_ttl {
display: table;
font-weight: bold;
font-size: 1.2em;
color: #000000;
margin: -0.8em 0 0;
background: #fff;
padding: 0 8px;
}
.matome_ttl:before {
content: "\f0a4";
padding-right:0.33em;
font-family: FontAwesome;
font-weight:  normal;
}

/* ポストカード */
.postcard-gray{
color: #fff;
font-size: 1.5em;
background-color: #bbbcb7;
text-align: center;
background-image: url(https://oasobigokoro.com/wp-content/uploads/2016/12/postcard_lt.png),
url(https://oasobigokoro.com/wp-content/uploads/2016/12/postcard_rt.png),
url(https://oasobigokoro.com/wp-content/uploads/2016/12/postcard_lb.png),
url(https://oasobigokoro.com/wp-content/uploads/2016/12/postcard_rb.png),
url(https://oasobigokoro.com/wp-content/uploads/2016/12/postcard_tb.png),
url(https://oasobigokoro.com/wp-content/uploads/2016/12/postcard_tb.png),
url(https://oasobigokoro.com/wp-content/uploads/2016/12/postcard_lr.png),
url(https://oasobigokoro.com/wp-content/uploads/2016/12/postcard_lr.png);
background-repeat: no-repeat ,no-repeat,no-repeat,no-repeat,repeat-x,repeat-x,repeat-y,repeat-y;
background-position: left top,right top,left bottom,right bottom,top,bottom,left,right;
padding: 28px 37px;
margin: 0 5%;
border-style:  solid ;
border-width:20px 60px;
border-color:#bbbcb7;
border-radius: 8px;
}
@media only screen and (max-width: 767px) {
  .postcard-gray{border-width:5px;}
}
@media only screen and (max-width: 480px) {
  .postcard-gray{
  width: 100%;
  margin: 0;
  font-size: 1.1em;
  }
}

/*吹き出し部分*/
.baloon{
background-color: #fff;
font-size: 1.2em;
position: relative;
display:inline-table;
border: solid 2px #ccc;
border-radius: 8px;
padding: 0.5em;
margin: 1.0em 120px;
box-shadow: 3px 3px 3px 1px #e5e5e5;
}
.baloon:before{
content: '';
background-image: url(images/face.png);
background-size: cover;
width:86px;
height:86px;
position: absolute;
left:-120px;
top:50%;
margin-top:-43px;
display: block;
}
.baloon:after{
content: '';
background-color: #fff;
display: block;
height: 10px;
width: 10px;
margin-top: -5px;
border-left: solid 2px #ccc;
border-bottom: solid 2px #ccc;
position: absolute;
top: 50%;
left: -8px;
transform: rotate(45deg);
}
@media only screen and (max-width: 480px) {
  .baloon{margin: 1.0em 1.0em 1.0em 60px; }
  .baloon:before {
    content: '';
    width: 43px;
    height: 43px;
    position: absolute;
    left: -60px;
    top: 50%;
    margin-top: -21.5px;
    display: block;
  }
}
/* ----------------------- AddQuick ---------------------- */
.blue[rel]:not(:hover){color: #306fef;}

/* 公式用ボタン */
.solid_btn{
  position:relative;
    display: table;
    font-size:1.33em;
    font-weight: bold;
    line-height: 1.25;
    text-decoration: none;
    text-align: center;
    color:#fff;
    background: #306fef;
    background-image: linear-gradient(to top,#184ebb,#2864de 5%,#407fff 95%,#b1cbff);
    min-width: 220px;
    margin:1.0em auto;
    padding: 0.75em 1em 0.75em 2em;
    border-radius:6px;
    box-shadow: 0px 2px 2px 0 rgba(0, 0, 0, 0.25);
    transition: none;
}
.solid_btn:hover{
  color:#fff;
  background-image: none;

  box-shadow: inset 0px 2px 2px 0 rgba(0, 0, 0, 0.25);
  transform: translateY(4px);
  opacity:1;
}
.solid_btn:before {
  position: absolute;
  left:0.5em;
  top:50%;
  margin-top:-0.5em;
  content:'\f0da';
  font:normal 1.8em FontAwesome;
  padding-right:0.5em;
}
/* 付箋ボタン */
.tag_btn{
    display: inline-block;
    margin-left: 1.0em;
    margin-right:1.0em;
    padding: 0.5em 1em;
    text-decoration: none;
    background: #f7f7f7;
    border-left: solid 6px;
    color: #ff7c5c;
    font-weight: bold;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
    transition: none;
}
.tag_btn:hover {
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(2px);
}
.tag_btn:before {
  content:'\f0a4';
  font:normal 1.0em FontAwesome;
  margin-left: -0.5em;
  padding-right:0.5em;
}
/* 真円ボタン */
.round_btn{
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: center;
  justify-content: center;

  position: relative;
  margin:1.0em auto;
  height:200px;
  width:200px;
  font-size: 1.5em;
  font-weight: bold;
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
  color:#fff;
  background: #306fef;
  background-image: linear-gradient(to bottom,#2864de,#407fff);
  border-radius: 100px;
  box-shadow:
  inset 0 6px 3px 0 rgba(255,255,255,0.1),
  inset 0 -3px 1px  0 rgba(0,0,0,0.1),
  inset 0 0 0 35px #306fef,
  0 2px 1px 0 rgba(0,0,0,0.5);
  transition: none;
}
.round_btn:hover{

  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
  color:#fff;
  border-radius: 100px;
  box-shadow:
  inset 0 3px 1px  0 rgba(0,0,0,0.1),
  inset 0 0 0 35px #306fef;
  opacity: 0.90;
  transform: translateY(4px);
}
.round_btn .seal {
  display: block;
  text-align: center;
}
.round_btn .seal:before {
  position: absolute;
  margin-top:-1.0em;
  margin-left:2.0em;
  content:'\f0a4';
  display: block;
  font:normal 1.0em FontAwesome;
  transform: rotate(45deg);
}
@media only screen and (max-width: 480px) {
  .round_btn{
    height:160px;
    width:160px;
  }
}

/* ------------------ [ プラグイン ] TOC+ -----------------------*/
#toc_container {padding: 1.0em;}
.contracted{min-width: 50%;}
#toc_container > p.toc_title{
position: relative;
border-bottom: dashed 2px #00507d;
font-size: 1.1em;
padding: 0.5em 0;
}
#toc_container > p.toc_title:before{
content: '\f0f6';
font-family: FontAwesome;
margin-right: 1.0em;
}
span.toc_toggle > a {color: #d01822;}
.contracted p{text-align: left!important;}

#toc_container  a ,
#toc_container  a:hover {text-decoration: none;}
#toc_container > ul > li{
position: relative;
font-size: 1.0em!important;
line-height: 1.5em;
padding: 0.5em 0 0.5em 0.75em;
}
#toc_container > ul > li > a {
color:#001038;
font-weight: bold;
padding: 0.25em 0 0.25em 1.0em;
box-shadow: inset 0px -1px 0 0 #001038;
}
#toc_container > ul > li > a > span.toc_number {
position: absolute;
display: block;
box-sizing: content-box;
text-align: center;
width:1.0em;
height: 1.0em;
line-height: 1.0em;
padding:0.25em;
color:#fff;
left:0;
background: #001038;
border-radius: 2.0em;
}
#toc_container > ul > li > ul {
margin-left: -1.0em;
margin:0.25em 0 0.5em 0;
padding:0;
}
#toc_container > ul > li > ul li {
font-size: 1.0rem;
margin:0.75em 0 0.75em 0.5em;
}
#toc_container > ul > li > ul li:before {
position: static;
background: transparent;
font-family: FontAwesome;
content:'\f0a4';
}

#toc_container > ul > li > ul a {
color: #575757;
font-size: 0.9em;
line-height: 1.0em;
padding-bottom: 0.25em;
text-decoration: none;
border-bottom: dashed 1px!important;
}
#toc_container > ul > li > ul a > span.toc_number{display: none;}

/* ################ Wordpress Add Custom CSS 色設定 ############### */
form#worpress_custom_css_form tr,
form#worpress_custom_css_form td{
display:block;
}
form#worpress_custom_css_form textarea{
height:500px;
font-size:13px;
font-family: Verdana;
color:#fff;
background:#002e5b;
}
