/* ################ 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:#ff9191;
background:#333;
}
/* ＊＊＊＊＊＊ iframe ＊＊＊＊＊＊ */
iframe{max-width:100%;}

/* ＊＊＊＊＊　スピーチバブル　＊＊＊＊＊ */
#content .sb-type-std {
overflow: hidden;
padding: 1.0em;
margin: 0;
line-height: inherit;
color: inherit;
}
#content .sb-type-std,
#content .sb-type-std * { box-sizing: border-box;}

#content .sb-subtype-a > .sb-speaker,
#content .sb-subtype-c > .sb-speaker {
float: left;
margin-right: -85px;
width: 85px;
}
#content .sb-subtype-b > .sb-speaker,
#content .sb-subtype-d > .sb-speaker {
float: right;
margin-left: -85px;
width: 85px;
}

#content .sb-subtype-a .sb-icon,
#content .sb-subtype-b .sb-icon,
#content .sb-subtype-c .sb-icon,
#content .sb-subtype-d .sb-icon {
text-align: center;
height: inherit;
}
#content .sb-type-std .sb-subtype-a img.sb-icon,
#content .sb-type-std .sb-subtype-b img.sb-icon,
#content .sb-type-std .sb-subtype-c img.sb-icon,
#content .sb-type-std .sb-subtype-d img.sb-icon {
max-width:100%;
height: auto;
width: auto;
border-radius: 0;
}
#content .sb-type-std .sb-subtype-b img.sb-icon,
#content .sb-type-std .sb-subtype-d img.sb-icon {
-webkit-transform: scale(-1, 1);
        transform: scale(-1, 1);
}
#content .sb-type-std .sb-subtype-a .sb-speech-bubble,
#content .sb-type-std .sb-subtype-b .sb-speech-bubble {
font-size:1.0em;
padding: 5px 10px;
background-color: inherit;
border:none;
border-radius: 5px;
color: inherit;
}
#content .sb-type-std .sb-subtype-a .sb-content,
#content .sb-type-std .sb-subtype-b .sb-content  {
display:-webkit-box;
display:-webkit-flex;
display:flex;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
float: left;
position: relative;
border: 3px solid;
background-color: inherit;
color: inherit;
min-height:85px;
margin: 0 100px;
padding: 0;
position: relative;
width: 80%;
width:calc(100% - 100px);
border-radius: 5px;
}

#content .sb-type-std .sb-subtype-a .sb-content  {float: left;}
#content .sb-type-std .sb-subtype-b .sb-content  {float: right;}

#content .sb-type-std .sb-subtype-a .sb-content:before,
#content .sb-type-std .sb-subtype-b .sb-content:before {
content:'';
position: absolute;
top: 1.0em;
z-index: 1;
height: 0;
width: 0;
border: none;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
#content .sb-type-std .sb-subtype-a .sb-content:before {
left: 2px;
box-shadow: 0 0 0 5px #fff, -3px 3px 0 5px #f9ba58;
}
#content .sb-type-std .sb-subtype-b .sb-content:before {
right: 2px;
box-shadow: 0 0 0 5px #fff, 3px -3px 0 5px #f9ba58;
}
#content .sb-type-std > .sb-subtype-a > .sb-content:after,
#content .sb-type-std > .sb-subtype-b > .sb-content:after {display:none;}

/* GOYA DEKA */
#content .sb-type-std.goya .sb-subtype-a .sb-content,
#content .sb-type-std.goya .sb-subtype-b .sb-content  {border-color: #deee2d;}
#content .sb-type-std.goya .sb-subtype-a .sb-content:before {box-shadow: 0 0 0 5px #fff, -3px 3px 0 5px #deee2d;}
#content .sb-type-std.goya .sb-subtype-b .sb-content:before {box-shadow: 0 0 0 5px #fff, 3px -3px 0 5px #deee2d;}

/* PENI */
#content .sb-type-std.peni .sb-subtype-a .sb-content,
#content .sb-type-std.peni .sb-subtype-b .sb-content  {border-color: #2deeda;}
#content .sb-type-std.peni .sb-subtype-a .sb-content:before {box-shadow: 0 0 0 5px #fff, -3px 3px 0 5px #2deeda;}
#content .sb-type-std.peni .sb-subtype-b .sb-content:before {box-shadow: 0 0 0 5px #fff, 3px -3px 0 5px #2deeda;}


@media screen and (max-width: 720px){
   #content .sb-type-std > .sb-subtype-a > .sb-content  {margin-right: 0;}
   #content .sb-type-std > .sb-subtype-b > .sb-content  {margin-left: 0;}
}



.box29 {
    margin: 2em 0;
    background: #dcefff;
}
.box29 .box-title {
    font-size: 1.2em;
    background: #5fb3f5;
    padding: 4px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.box29 p {
    padding: 15px 20px;
    margin: 0;
}



.box27 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #62c1ce;
}
.box27 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
    font-size: 17px;
    background: #62c1ce;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box27 p {
    margin: 0; 
    padding: 0;
}

.box16{
    padding: 0.5em 1em;
    margin: 2em 0;
    background: -webkit-repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px,#e9f4ff 3px, #e9f4ff 7px);
    background: repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px,#e9f4ff 3px, #e9f4ff 7px);
}
.box16 p {
    margin: 0; 
    padding: 0;
}

.box2 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    color: #6091d3;/*文字色*/
    background: #FFF;
    border: solid 3px #6091d3;/*線*/
    border-radius: 10px;/*角の丸み*/
}
.box2 p {
    margin: 0; 
    padding: 0;
}

.box1 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    border: solid 3px #000000;
}
.box1 p {
    margin: 0; 
    padding: 0;
}
