/* カスタム CSS をここに入力してください */
/* グローバルメニュー */
.global-nav li ul li a { padding: 0.4em 0.4em; }
.global-nav, 
.global-nav-in li a { background: #7a6bad; }
.global-nav-in ul { border-left: 1px solid #fff; }
.global-nav-in li { border-right: 1px solid #fff; }
.global-nav-in li { font-size:0.9em;}
.global-nav-in li a:hover, 
.global-nav-in li a:active, 
.global-nav-in li a:focus { background: #eee; }


/* フォント */
.main-body h1{
	margin: 0px 0px 10px;
	padding: 0px 18px;
	background: #369d70;
	color: #fff;
	font-size: 1.5em;
	background-color:#7a6bad;/*色を変える*/
}

.main-body h2{
	margin: 5px 0 10px;
	padding: 0px 5px 15px;
	font-size: 1.3em;
	padding: 1px 20px !important;/*枠を広げる*/
	border-radius: 5px;/*角を丸く*/
	background-color:#7a6bad;/*色を変える*/
}

.main-body h3{
	margin: 10px 0 10px;
	padding: 0 0 1px;
	border-bottom: 1px solid #7a6bad;
	font-weight: bold;
	font-size: 1.3em;
  color: #696969;

}

.main-body h4{
	margin: 10px 0px 10px;
	padding: 0px 0px 1px;
	border-left: 8px solid #7a6bad;
  border-bottom: 1px dashed #7a6bad;
	font-weight: bold;
	font-size: 1.25em;
  color: #696969;
}

.main-body h5{
	margin: 10px 0 10px;
	padding: 0 0 1px;
	border-left: 8px solid #dc143c;
	font-weight: bold;
	font-size: 1.2em;
}

.main-body h6{
	margin: 10px 0 10px;
	padding: 0 0 1px;
	font-weight: bold;
	font-size: 1.2em;
  color: #4169e1;
}
/*記事タイトルや基本単位毎の最初の見出し*/
.section-wrap .section-title{
	line-height: 1.5;
	margin: 0 0 0.5em;
	padding: 0;
	border: none;
	background: transparent;
	color: #696969;
  font-weight: bold;
	font-size: 1.5em;
}

.main-body .section-title a{
	color: #333;
	text-decoration: none;
}

.main-body .section-title a:hover,
.main-body .section-title a:active,
.main-body .section-title a:focus{
	color: #f60;
	text-decoration: underline;
}

.sub-conts .section-wrap .section-in .section-title,
.sub-conts .section-wrap .article-header .section-title{
	margin: 0 -20px 30px;
	padding: 0 0 11px;
	border-bottom: 1px solid #ccc;
	font-weight: normal;
	font-size: 1.125em;
}
/*--------------------------------------------------------
テンプレートレイアウト
--------------------------------------------------------*/

.site-header-in,
.global-nav-in,
.main-image-in,
.main-image-in-text,
.main-image-in-text-cont,
.main-body-in,
.site-footer-in,
.col1 .breadcrumbs,
.main-image-in-text.wide .main-image-in-text-cont,
.col1 .section-wrap,
.col1 .float-area,
.col1 .section-wrap.wide .section-in,
.col1 .main-body .archive-title{
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 960px; /*サイトの横幅。これより小さければレスポンシブ*/
	margin: auto;
}
.main-image-in img{
	width: 100%;
}
.main-image-in.wide,
.main-image-in-text.wide{
	width: 100%;
}

.main-body .rank-title{
	margin-top: 1em;
}
/*--------------------------------------------------------
メインビジュアル
--------------------------------------------------------*/

.main-image{
	margin-bottom: 0em;
}

.main-image-in-text{
	background-repeat: no-repeat;
	background-size: cover;
}

.main-image-in-text-cont{
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 3em;
}

.main-image-in-text.wide .main-image-in-text-cont{
	width: 960px;
}

.main-image-in-text p:last-child{
	margin-bottom: 0;
}

.main-copy{
	margin-bottom: 20px;
	font-size: 3em;
	text-align: center;
}

.sub-copy{
	font-size: 1.5em;
	text-align: center;
}
/*--------------------------------------------------------
メインコンテンツ
--------------------------------------------------------*/
.main-conts{
	line-height: 1.8;
}

.col1 .main-conts{
	margin-bottom: 40px;
}

/*コンテンツの基本単位（「section-wrap」＋「section-in」でコンテンツを覆う）*/
.section-wrap{
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin-bottom: 30px;
	padding: 40px;
	border: none;
}

.section-wrap.wide{
	border-right: 0;
	border-left: 0;
}

.section-wrap .section-in,
.float-area{
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.float-area{
	margin-bottom: 10px;
}

/*1カラムレイアウト*/
.col1 .section-wrap,
.col1 .float-area{
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.col1 .section-wrap{
	padding: 0px 0px;
}

.col1 .section-wrap.wide{
	width: 100%;
	padding: 40px 0;
}

.col1 .section-wrap.wide .section-in{
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding: 30px 0;
}

/*2カラムレイアウト（リバース）*/
.col2r .main-conts{
	float: right;
	width: 60%;
}

.col2r .sub-conts{
	float: left;
	width: 35%;
}


/*コンテンツの外にある見出し*/
.main-body .archive-title{
	margin: 0 0 30px;
}

.col1 .main-body .archive-title{
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
}

/*--------------------------------------------------------
メインボディ
--------------------------------------------------------*/

.main-body{
	margin-top: 1em;
	padding-bottom: 30px;
}

.no-gn .main-body{
	margin-top: 0;
}

.lp.no-gn .main-body{
	margin-top: 2em;
}

/*--------------------------------------------------------
パンくずリスト
--------------------------------------------------------*/

.breadcrumbs-in{
	margin: 0.5em 0;
	padding: 0;
	color: #999;
}

/*--------------------------------------------------------
フッター
--------------------------------------------------------*/
.site-footer{
	background: #796bad;
	color: #fff;
}

/*--------------------------------------------------------
文字を下に回り込ませない
--------------------------------------------------------*/
.content_l {
/*  padding: 0 0 0 340px; */
  position: relative;
  overflow: hidden;
}
.content_l img {
  position: absolute;
  left: 10px;
  top: 10px;
}
.content p {
  max-width: 30px;
  overflow: hidden;
}
.content_r {
  padding: 0 340 0 0px;
  position: relative;
  overflow: hidden;
}
.content_r img {
  position: absolute;
  right: 10px;
  top: 20px;
}

/* テスト */
* {
	  margin: 0;
	  padding: 0;
	}
	.m-box {
	  width: 100%;
	  margin: 20px auto 0;
	  padding: 20px 20px;
	}
.photo {
	float:left;
	max-width:350px;
	height:auto;
	padding: 20px;
	background:fff;
	text-align:center;
	}
	.text {
	float:right;
  padding: 0 10 0 10px;
	max-width:650px;
	}
	.clearfix:after {
	  content: "";
	  display: block;
	  height: 0;
	  visibility: hidden;
	  clear: both;
	}
	.clearfix {
	  display: inline-table;
	}
	/* Hides from IE-mac \*/
	* html .clearfix {
	  height: 1%;
	}
	.clearfix {
	  display: block;
	}
	/* End hide from IE-mac */

/*——フォントサイズ変更▼————*/
.section-wrap .section-in .section-title,
	.section-wrap .article-header .section-title{
		margin: 15px -15px 0;
		padding: 15px;
		font-size: 1.3em;
	}

	.main-body h1,
	.main-body h2{
		font-size: 1.3em;
	}
	
.main-body h1,
.main-body h2,
.main-body h3{
font-size: 1.2em;
}
.main-body h4,
.main-body h5,
.main-body h6{
font-size: 1.1em;
}
/*——フォントサイズ変更▲————*/

/*--------------------------------------------------------
テーブル指定
--------------------------------------------------------*/
table{
	border-collapse: collapse;
	border-spacing: 0;
	border-width: 4px;
	border-color: #fff;
}

td,
th{
	padding: 1 0 1 6px;
 	border-width: 4px;
	border-color: #fff;
}

/*--------------------------------------------------------
contact form 7 指定
--------------------------------------------------------*/

input[type="text,tel"]
{
    background-color: #fff;
    color: #000;
    width: 80%;
}

.wpcf7 .required {
color: #ff99ff;
}

.wpcf7 text[name="calculated tl_total"] {
	 width: 10%;
}

/*-----　contact form 7 テーブル　-----------*/
table.table01 {
	width:80%;
	border-right:#7a6bad solid 0px;
	border-collapse: collapse;
}
table.table01 thead th {
	background:#7a6bad;
	color:#FFF;
	padding:5px 10px;
	border-right:#FFF solid 1px;
	border-bottom:#FFF solid 1px;
}
table.table01 thead th:last-child {
	border-right:#7a6bad solid 0px;
}
table.table01 tbody th {
	background:#7a6bad;
	color:#FFF;
	padding:5px 10px;
	border-bottom:#FFF solid 1px;
	vertical-align:top;
}
table.table01 tbody tr:last-child th {
	border-bottom:#7a6bad solid 0px;
}
table.table01 tbody td {
	background:#FFF;
	padding:5px 10px;
	border-left:#7a6bad solid 0px;
	border-bottom:#7a6bad solid 0px;
	vertical-align:top;
}
 
@media screen and (max-width: 640px) {
table.table01 thead {
	display:none;
}
table.table01 tbody th {
	display:block;
}
table.table01 tbody td {
	display:block;
}
table.table01 tbody td::before {
	content: attr(label);
	float: left;
	clear:both;
	font-weight:bold;
}
table.table01 tbody td p {
	padding-left:6em;
}
}