/* CSS Document */
/* reset */
/*-- font --*/

body {
	font-family: Verdana, Arial, sans-serif;
	color: #333;
	line-height:1;
	-webkit-text-size-adjust: none;
}
h1, h2, h3, h4, h5, h6, th, td, strong, em, input, select {
	font-size: 100%;
	font-weight: normal;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
		margin:0;
		padding:0;
		border:0;
		outline:0;
		font-size:100%;
		vertical-align:baseline;
		background:transparent;
		font-weight:normal;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
		display:block;
}

nav ul {
		list-style:none;
}

blockquote, q {
		quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
		content:'';
		content:none;
}

a {
		margin:0;
		padding:0;
		font-size:100%;
		vertical-align:baseline;
		background:transparent;
}

/* change colours to suit your needs */
ins {
		background-color:#ff9;
		color:#000;
		text-decoration:none;
}

/* change colours to suit your needs */
mark {
		background-color:#ff9;
		color:#000; 
		font-style:italic;
		font-weight:bold;
}

del {
		text-decoration: line-through;
}

abbr[title], dfn[title] {
		border-bottom:1px dotted;
		cursor:help;
}

table {
		border-collapse:collapse;
		border-spacing:0;
}

/* change border colour to suit your needs */
hr {
		display:block;
		height:1px;
		border:0;   
		border-top:1px solid #cccccc;
		margin:1em 0;
		padding:0;
}

input, select {
		vertical-align:middle;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

ol,
ul {
	list-style-type: none;
}




/*---------------------------------------
   リッチエディタ内のベーススタイリング
---------------------------------------*/
@media screen and (min-width: 767px) {

  .sb_style h1,
  .sb_style h2,
  .sb_style h3,
  .sb_style h4,
  .sb_style h5,
  .sb_style h6 {
    box-sizing: border-box;
    line-height: 1.5;
    font-weight: 700;
  }

  .sb_style h1 {
    padding: 0 5px;
    font-size: 28px;
    padding-bottom: 8px;
    border-bottom: 1px solid #000;
  }

  .sb_style h2 {
    padding-left: 10px;
    font-size: 26px;
    border-left: 3px solid #000;
  }

  .sb_style h3 {
    font-size: 24px;
    padding: 5px 10px;
    background: #000;
  }

  .sb_style h4 {
    padding-bottom: 8px;
    font-size: 20px;
    position: relative;
  }

  .sb_style h4:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 2px;
    background: #000;
  }

  .sb_style h5 {
    font-size: 18px;
    padding: 5px 10px;
    background: #f2f2f2;
  }

  .sb_style h6 {
    font-size: 16px;
    /* color: #000; */
  }

  .sb_style ul {
    padding-left: 30px;
  }

  .sb_style ul li {
    margin-bottom: 5px;
  }

  .sb_style ol {
    padding-left: 30px;
  }

  .sb_style ol li {
    margin-bottom: 5px;
  }

}

@media screen and (max-width: 768px) {
  .sb_style table {
    width: 100% !important;
    height: auto !important;
    display: block;
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    border: none;
  }

  .sb_style tbody {
    width: 100%;
    display: table;
  }
	.sb_style table tr
	.sb_style table tr th,
	.sb_style table tr td{
		max-width: 300px;
		max-height: 300px;
		height: auto !important;
		vertical-align: top;
	}
	.sb_style table tr{
    max-height: 300px !important;
    height: auto !important;
	}
	.sb_style table tr th img,
	.sb_style table tr td  img{
    max-width: 100%;
    max-height: 300px;
	}

  .sb_style h1,
  .sb_style h2,
  .sb_style h3,
  .sb_style h4,
  .sb_style h5,
  .sb_style h6 {
    box-sizing: border-box;
    line-height: 1.5;
    font-weight: 700;
  }

  .sb_style h1 {
    padding: 0 5px;
    font-size: 6vw;
    padding-bottom: 3%;
    border-bottom: 1px solid #000;
  }

  .sb_style h2 {
    padding-left: 5%;
    font-size: 5.5vw;
    border-left: 2px solid #000;
  }

  .sb_style h3 {
    font-size: 5vw;
    padding: 3% 4%;
    background: #000;
    color: #fff;
  }

  .sb_style h4 {
    padding-bottom: 3%;
    font-size: 4.8vw;
    position: relative;
  }

  .sb_style h4:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 15%;
    height: 2px;
    background: #000;
  }

  .sb_style h5 {
    font-size: 4.5vw;
    padding: 3% 5%;
    background: #f2f2f2;
  }

  .sb_style h6 {
    font-size: 4.2vw;
  }

  .sb_style ul {
    padding-left: 30px;
  }

  .sb_style ul li {
    margin-bottom: 5px;
  }

  .sb_style ol {
    padding-left: 30px;
  }

  .sb_style ol li {
    margin-bottom: 5px;
  }

  .sb_style img {
    width: auto;
    height: auto;
		max-width: 100%;
    max-height: 300px;
  }
}

