/* 
Theme Name: FLOW-FLEX 1.5
Theme URI: http://www.flow-web.jp/
Version:1.5b(e)
 */
 
  /** * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) * http://cssreset.com */html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {	margin: 0;	padding: 0;	border: 0;	font-size: 100%;	font: inherit;	vertical-align: baseline;}/* HTML5 display-role reset for older browsers */article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {	display: block;}body {	line-height: 1;}ol, ul {	list-style: none;}blockquote, q {	quotes: none;}blockquote:before, blockquote:after,q:before, q:after {	content: '';	content: none;}table {	border-collapse: collapse;	border-spacing: 0;}
 
@charset "utf-8";

/*全体の調整*/

:root{
	--maincolor: #087F3F;
	--lightcolor: #EEFBF3;
	--pointcolor: #A7C7DC;
	--whitecolor: #FFFFFF;
	--blackcolor: #333333;
}

body{
	margin: 0;
	background-color: var( --whitecolor);
	font-family: "Noto Sans JP", "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	position : relative;
	word-break: break-all;
	}

a {
	color: #0645AD;
	text-decoration: none;
}

a:visited{
	color: #0645AD;
}

a:hover{
	color: #E1E1E1;
}

a img{
	border-style: none;
}

b, strong{
	font-weight: bold;
}

img{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: bottom;
}

a:hover img{
	transition: 0.3s;
	opacity: 0.5;
}

.center{
	text-align: center;
}

.spimg{
	display: none;
}

/*上下の余白*/
.pad10{
	padding: 10px 0;
}

.pad20{
	padding: 20px 0;
}

.pad30{
	padding: 30px 0;
}

.pad50{
	padding: 50px 0;
}

.padt10{
	padding-top: 10px;
}

.padt20{
	padding-top: 20px;
}

.padt30{
	padding-top: 30px;
}

.padt50{
	padding-top: 50px;
}

.padb10{
	padding-bottom: 10px;
}

.padb20{
	padding-bottom: 20px;
}

.padb30{
	padding-bottom: 30px;
}

.padb50{
	padding-bottom: 50px;
}

.marb10{
	margin-bottom: 10px;
}

.marb20{
	margin-bottom: 20px;
}

.marb30{
	margin-bottom: 30px;
}

.marb50{
	margin-bottom: 50px;
}

/*PCのコンテンツ横幅*/

#container{
	margin: 0;
}

.inner{
	margin: 0 auto;
	max-width: 1280px;
	padding: 0 20px;
}

.wid640{
	max-width: 640px;
	margin: 0 auto;
}

.wid720{
	max-width: 720px;
	margin: 0 auto;
}

.wid960{
	max-width: 960px;
	margin: 0 auto;
}

/* ▽ヘッダー部 */

header {
	margin: 0;
	padding: 0 0 30px;
	background-image: url(images/main_bg.jpg);
	background-position: center;
	background-size: cover;
}

.naviheader, .whiteheader {
	margin: 0;
	padding: 0;
}

.header-box, .header-button-box {
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
}

.headerbuttonbox-l{
	flex: 2;
	min-width:300px;
}

.headerbox-l{
	
}

.headerbox-l img, .headerbuttonbox-l img{
	max-width:100%;
}

.headerbox-r{
	
}

.headerbuttonbox-m{
	flex: 6;
	margin-right: 20px;
}

header #header-title, .naviheader #header-title{
	background-color: var( --whitecolor);
}

header #header-title .inner, .naviheader #header-title .inner{
	display: flex;
	justify-content: space-between;
}

#header-title h1, #header-title .hx{
	font-size: 1.25em;
	margin: 0;
	padding: 20px 0;
	font-weight: bold;
}

#header-title h1 a, #header-title .hx a{
	text-decoration: none;
	color: var( --maincolor);
}

.header-button {
	padding: 20px 0;
	float: right;
	display: flex;
	justify-content: space-between;
}

.hb-left{
	
}

.hb-right{
	
}

.hb-number{
	color: var(--maincolor);
	font-size: 225%;
	font-weight: bold;
	margin-right: 20px;
}

.hb-number a{
	color: var(--maincolor);
}

.hb-info{
	font-size:12px;
	margin-top: 5px;
}

.simple-button {
	font-size: 1.1em;
	display: block;
	width: 100%;
	padding: 14px 20px;
	text-align: center;
	text-decoration: none;
	color: var( --whitecolor);
	background: var(--maincolor);
	border-radius: 0px;
	margin-top: 6px;
	box-sizing: border-box;
	border: 2px solid var( --maincolor);
}

.threebox-button{
	font-weight: bold;
	font-size: 1.1em;
	display: block;
	padding: 16px 20px;
	text-align: center;
	border: 1px solid var( --whitecolor);
}

.simple-button:hover, .threebox-button:hover {
	color: var( --maincolor);
	background-color: var( --whitecolor);
	cursor: pointer;
	text-decoration: none;
}

.simple-button a, a .threebox-button{
	color: var( --whitecolor);
}

.threebox-button:hover a{
	color: var( --maincolor);
}

/*ナビゲーション*/
#menubtn, nav.btnmenu {
	display: none;
}

nav.menu, nav.btnmenu {
	font-size: 1em;
	margin: 0;
	padding: 0;
	background-color: var(--whitecolor);
}

nav.menu ul, nav.btnmenu ul{
	margin: 0;
	padding: 0 20px;
	list-style: none;
	display: flex;
	justify-content: space-between;
}

nav.menu ul li, nav.btnmenu ul li{

}

nav.menu ul li a , nav.btnmanu ul li a{
	display: block;
	padding: 16px 0;
	text-decoration: none;
	text-align: center;
	color: var(--blackcolor);
}

nav.menu ul li a:hover, .main-navi ul li.current-menu-item a:hover, nav.btnmenu ul li a:hover{
	font-weight: bold;
}

nav.menu ul li.current-menu-item a, nav.btnmenu ul li.cureent-menu-item a{
}

nav.menu ul, nav.btnmenu ul{*zoom:1;
}

/*シンプルナビゲーション*/

nav.smenu {
	float: right;
	font-size: 0.9em;
	margin: 0;
	padding: 0;
	display: block;
}

nav.smenu ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

nav.smenu ul li{
	float: left;
}

nav.smenu ul li a {
	display: block;
	padding: 20px 16px;
	text-decoration: none;
	text-align: center;
	color: #555555;
	font-weight: bold;
	-webkit-transition: all 0.6s ease;
	-moz-transition: all 0.6s ease;
	-o-transition: all 0.6s ease;
	transition: 0.6s ease;
}

nav.smenu ul li a:hover, nav.menu ul li.current-menu-item a:hover{
	color: #CCCCCC;
}

nav.smenu ul li:last-child a:hover{
	color: #CCCCCC;
}

nav.smenu ul li.current-menu-item a{
}

nav.smenu ul:after {
	content: "";
	display: block;
	clear: both;
}

nav.smenu ul{
	*zoom:1;
}

.fixed{
	position: fixed;
	top: 0;
	z-index: 100;
	-webkit-box-shadow: 0px 4px 4px #CCCCCC;
	box-shadow: 0px 4px 4px #CCCCCC;
}

/* ヘッダー(画像) */
#header-image{
	display: block;
	background-size: cover;
	background-position: 25% 75%;
	background-image: url(images/main_bg.jpg);
}

#header-image_mini{
	display: block;
	background-size: cover;
	background-position: 60% 75%;
	background-image: url(images/main_bg.jpg);
}

#header-image img, #header-image_mini img{
	max-width: 100%;
	height: auto!important;
}

.mainimage-mini{
	padding-top: 0;
}

/* ヘッダー(白ボックス) */
.band{
	background-image: url(images/main_bg.jpg);
	background-position: 25% 25%;
	background-size: cover;
}

.subband{
	background-image: url(images/main2_bg.jpg);
	background-position: 25% 25%;
	background-size: cover;
}

.band-inner{
	margin: 0 auto;
	max-width: 1280px;
	padding: 0;
}

#header-whitebox{
	display: flex;
	justify-content: space-between;
}

.header-tba{
	flex: 5;
	background-color: rgba(255,255,255,0.75);
	margin:60px;
	padding: 40px;
}

.header-tba img{
	max-width: 100%;
}

.header-tbb{
	flex: 5;
	position: relative;
	margin:60px;
}

.tbb-item{
    position: absolute;
    right: 0;
    bottom: 0;
}

.tbb-item img{
	max-width: 100%;
}

/* ヘッダー(テキスト) */
#header-text, #subheader-text{
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 70vh;
	min-height: 480px;
}

#subheader-text{
	height: 30vh;
	min-height: 200px;
}

.herohead, .subherohead{
	color: var(--maincolor);
	text-shadow: 2px 2px 2px var( --whitecolor);
	font-size: 42px;
	letter-spacing: 0.075em;
	margin-left: 0.075em;
	margin-top: 100px;
	line-height: 1.5;
}

.subherohead{
	margin-top: 0;
}

.subherohead img{
	max-width: 40%;
}

#header-text p, #subheader-text p{
	font-size: 20px;
	color: var(--maincolor);
	text-shadow: 2px 2px 2px var( --wahitecolor);
	line-height: 1.6;
}

/* パンくずリスト */
.breadcrumbs{
	font-size: 0.875em;
	padding: 20px 0 0;
}

.breadcrumbs a{

}

/*▽コンテンツ部*/

#content {
	margin: 0;
}

#content .inner{
	display: flex;
	justify-content: space-between;
}

#content-left{
	margin: 20px 0 40px;
	width: 62.5%;
}

/*トップページLP*/

/*上から*/
.movimg{
	opacity: 0;
	transition: 1s;
	transform: translate(0,80px); 
	-webkit-transform: translate(0,80px); 
}
.movimg-go{
	opacity: 1.0;
	transform: translate(0,0); 
	-webkit-transform: translate(0,0);
}

/*左から*/
.sidimg{
	opacity: 0;
	transition: 1s;
	transform: translate(-120px,0); 
	-webkit-transform: translate(-120px,0); 
}
.sidimg-go{
	opacity: 1.0;
	transform: translate(0,0); 
	-webkit-transform: translate(0,0);
}

/*右から*/
.rigimg{
	opacity: 0;
	transition: 1s;
	transform: translate(120px,0); 
	-webkit-transform: translate(120px,0); 
}
.rigimg-go{
	opacity: 1.0;
	transform: translate(0,0); 
	-webkit-transform: translate(0,0);
}

/*フェードイン*/
.fadimg{
	transition: .8s;
	opacity: 0;
}

.fadimg-go{
	opacity: 1.0;
}

/*背景色*/
.bg-white{
	background-color: var( --whitecolor);
}

.bg-maincolor{
	background-color: var(--maincolor);
}

.bg-lightcolor{
	background-color: var(--lightcolor);
}

.bg-point{
	background-color: var(--pointcolor);
}

.bg-case{
	background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)), url(images/main_bg2.jpg);
	background-position: center;
	background-size: cover;
}

.case-box{
	background-color: rgba(255,255,255,0.8);
	padding:40px;
}

/*ボックス*/
.boxes219, .boxes246, .boxes264, .boxes255, .boxes237 , .boxes3, .boxes4{
	display: flex;
	justify-content: space-between;
}

.boxes237{
	align-items: center;
}

.boxes219 img, .boxes246 img, .boxes264 img, .boxes255 img, .boxes237 img, .boxes3 img, .boxes4 img{
	max-width: 100%;
	height: auto;
}

.boxes3 a{
	color: var( --whitecolor);
}

.box219a {
	flex: 7;
}

.box219b {
	flex: 93;
}

.box246a, .box264b{
	flex: 4;
}

.box246b{
	flex: 6;
	padding-left: 20px;
}

.box264a{
	flex: 6;
	padding-right: 20px;
}

.box255a, .box255b{
	flex: 5;
}

.box255a{
	padding-right: 20px;
}

.box255b{
	padding-left: 20px;
}

.box237a{
	flex: 3;
}

.box237b{
	flex: 7;
}

.box3a, .box3b, .box3c{
	flex: 1;
}

.box3b, .box3c{
	padding-left: 40px;
}

.box4a, .box4b, .box4c, .box4d{
	flex: 1;
}

.box-title{
	color: var( --whitecolor);
	font-size: 1.5em;
	font-weight: bold;
	padding-bottom: 20px;
	text-align: center;
}

.circleimage{
	width: 70%;
}

img.box-circle {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.whitebox{
	background-color: var( --whitecolor);
	border: 1px solid var( --maincolor);
}

.whitebox h3{
	margin:20px 20px 0 0;
}

#top-lp .whitebox p{
	padding: 0 20px 0 0;
}

.whitebox-next{
margin: 0 auto;
width: 0;
height: 0;
border-style: solid;
border-width: 15px 25px 0 25px;
border-color: var( --maincolor) transparent transparent transparent;
}

/*FLEXボックス*/
.flexiblebox{
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
}

.fbox-in{
	flex: 0 1 340px;
	margin-bottom: 20px;
}

.fbox-in img{
	max-width: 100%;
}

/*問い合わせボックス*/
.contact-box, .contact-topbox{
	background-color: #FFFFFF;
	padding: 30px;
}

.contact-topbox{
	margin-top: 100px;
}

#header-text .contact-box, #header-text .contact-topbox{
	text-align: left;	
}

.contact-topbox{
	background-color: rgba(255,255,255,0.8);
}

.contact-box img, .contact-topbox img{
	max-width: 100%;
	height: auto;
}

.cb-officename{
	font-size: min(2.5vw, 24px);
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
}

.cb-title{
	color: var( --blackcolor);
	font-size: min(1.5vw,16px);
	line-height: 1.6;
	text-align: center;
}

.cb-main{
	margin: 10px 0;
	text-align: center;
	font-size: min(2vw, 20px);
	font-weight: bold;
}

.cb-text{
	text-align: center;
	margin-top:10px;
}

.cb-number{
	color: var(--maincolor);
	margin-left: 1em;
	font-weight: bold;
}

#top-lp .contact-box p{
	margin: 0;
	line-height: 1;
}

.boxshadow{
	-webkit-box-shadow: 15px 15px var( --lightcolor);
	box-shadow: 15px 15px var( --lightcolor);
}

/*メールボタン*/
.cb-button {
  display: inline-block;
  width: 80%;
  height: 40px;
  text-align: center;
  text-decoration: none;
  line-height: 38px;
  outline: none;
  margin: 0px auto;
  margin-top: 6px;
}

.cb-button::before,
.cb-button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}

.cb-button,
.cb-button::before,
.cb-button::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.cb-button {
  position: relative;
  z-index: 2;
  background-color: var(--pointcolor);;
  color: var( --whitecolor);
  line-height: 38px;
  overflow: hidden;
}
.cb-button:hover {
  color: #fff;
}
.cb-button::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: scale(.5);
  transform: scale(.5);
}
.cb-button:hover::after {
  background: var( --whitecolor);
  -webkit-transform: scale(1);
  transform: scale(1);
}
.cb-button a {
	color: var( --whitecolor);
	display: block;
	border: 1px solid var(--pointcolor);
}
.cb-button a:hover {
	color: var(--pointcolor);;
}

/*詳しくはボタン　ライン*/
.next-link {
  position: relative;
  display: inline-block;
  color: #333333;
  text-decoration: none;
}
.next-link:hover {
  cursor: pointer;
  text-decoration: none;
  color: var( --maincolor);
}
.next-link::after {
  position: absolute;
  bottom: -8px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: var( --maincolor);
  transform: scale(1, 1);
  transform-origin: center top;
  transition: transform .3s;
}
.next-link:hover::after {
  transform: scale(0, 1);
  height: 3px;
}

/*トップページ見出し*/
#top-lp h2, .soudan-area h2{
	font-family: "Sawarabi Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	text-align: center;
	font-size: 2.3em;
	font-weight: bold;
	color: var(--whitecolor);
	line-height: 1.5;
}

#top-lp .bg-white h2, #top-lp .bg-lightcolor h2, .soudan-area h2{
	color: var(--blackcolor);
}

#top-lp h3{
	font-size: 1.5em;
	color: var(--maincolor);
	line-height: 1.5;
	border-bottom: 3px solid var( --maincolor);
	margin-bottom: 20px;
}

#top-lp .bg-maincolor h3, #top-lp .brown h3, #top-lp .bg-green h3, #top-lp .bg-blue h3{
	font-size: 2em;
	color: var( --whitecolor);
	margin-bottom: 12px;
}

#top-lp p{
	font-family: "Sawarabi Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 1em;
	line-height: 1.8;
	color: var( --blackcolor);
	margin-bottom: 1em;
}

#top-lp .bg-maincolor p{
	color: var( --whitecolor);
}

#top-lp .bg-maincolor .lp-header p, #top-lp .bg-brown .lp-header p, #top-lp .bg-green .lp-header p, #top-lp .bg-blue .lp-header p{
	color: var( --whitecolor);
}

.question{
	padding-top: 10px;
}

/*投稿*/
#post {
	color: var( --blackcolor);
	font-size: 1em;
	line-height: 1.8;
	background-color: var( --whitecolor);
	margin-bottom: 20px;
}

.entry{
	padding: 0;
}

#post p{
	font-size: 1.1em;
	font-family: "Sawarabi Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	line-height: 1.8;
	margin-bottom: 1em;
}

.entrytitle{
	text-align: left;
	font-size: 1.8em;
	color: var( --blackcolor);
	line-height: 1.5;
	margin-bottom: 30px;
	border-bottom: 4px solid var( --maincolor);
}

.entrytitle a{
	color: var( --blackcolor);
	text-decoration: none;
}

.pageinfo{
	text-align: right;
	font-size: 0.8em;
	padding: 2px 4px;
	background-color: var(--lightcolor);
}

.entry h2 {
	color: var(--maincolor);
	font-size: 1.7em;
	font-weight: normal;
	padding: 4px;
	margin: 30px 0;
	border-bottom: 2px solid var(--maincolor);
}

.entry h3 {
	color: var(--maincolor);
	font-size: 1.5em;
	font-weight: normal;
	padding: 4px;
	margin: 30px 0;
}

.entry h4 {
	color: var(--maincolor);
	font-size: 1.3em;
	font-weight: normal;
	padding: 0 10px;
	margin: 30px 0;
	border-left: 4px solid var(--maincolor);
	line-height: 1;
}

/*マーカー・文字色*/
.marker {	
background: linear-gradient(transparent 70%, #CCE580 60%); 	
font-weight:bold;
}


/*記事内の画像*/
#post img{
	max-width: 100%;
	height: auto!important;
}

.catchimg img{
	clear: both;
	display: block;
	max-width: 100%;
	height: auto !important;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}

.aligncenter{
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft{
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

.alignright{
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
}

.wp-caption{
	border: 1px solid #AAAAAA;
	text-align: center;
	padding-top: 3px;
}

.thumb{
	text-align: center;
}


/* 記事のテーブル */
table {
	margin: 0 0 1em 0;
	border-collapse: collapse;
}
td {
	border: 1px solid var( --maincolor);
	padding: 15px;
	font-size: 0.875em;
}

th {
	border: 1px solid var( --maincolor);
	background: var( --lightcolor);
	padding: 15px;
	font-size: 0.875em;
	text-align: center;
}

ul, ol, #post ul, #post ol {
	margin: 10px 0;
	line-height: 1.8;
	color: var( --blackcolor);
}

ul, #post ul{
	padding: 8px 8px 8px 30px;
	list-style-type: disc;
}
ol, #post ol{
	margin: 10px 20px;
	list-style-type: decimal;
}

ol li,#post ol li{
	margin-bottom: 20px;
}

/*続きを読む*/
#post p.more{
	margin: 10px 0px 40px 0px;
	text-align: right;
	font-size: 0.875em;
}

#post p.more a{
	color: var( --blackcolor);
	padding: 4px 8px;
	background-color: #F1F1F1;
	border: 1px solid #CCCCCC;
	text-decoration: none;
}

#post p.more a:hover{
	color: var( --whitecolor);
	background-color: var( --maincolor);
	border: 1px solid #CCCCCC;
}

/*お問合せコーナー*/
.soudan-area{
	background-color: var(--lightcolor);
	padding: 40px;
}

.soudan-title{
	background-color: var( --maincolor);
	color: var( --whitecolor);
	font-size: 1.5em;
	font-weight: bold;
	margin-bottom: 20px;
	padding: 10px;
	text-align: center;
}

.soudan-area img{
	max-width: 100%;
	height: auto!important;
}

.soudan-tel {
	text-align: center;
	margin: 10px 0 20px;
}

.wpcf7-textarea{
	width: 98%;
}

.lp-soudan{
	margin: 0 auto;
	width: 640px;
	padding: 0;
}

.lp-soudan .soudan-area{
}

.wpcf7-submit {
font-size: 1.2em;
padding: 5px 20px;
background-color: var( --maincolor);
color: var( --whitecolor);
border-style: none;
}
 
.wpcf7-submit:hover:enabled {
background-color: #999;
color: var( --whitecolor);
}

.waku{
	border: 1px solid var( --maincolor);
	background-color: #FFFFFF;
	padding: 20px;
	margin-bottom: 20px;
}

/*ページナビ*/
.pagination {
	padding: 20px;
	position: relative;
	font-size: 0.875em;
	line-height: 1.5;
}

.pagination: after{
	content: "";
	display: block;
	clear: both;
}
  
.pagination span, .pagination a {
	display :block;
	float: left;
	margin: 2px 2px 2px 0;
	padding: 6px 9px 5px 9px;
	text-decoration: none;
	width: auto;
	color: var( --blackcolor);
	background: #F1F1F1;
	border: 1px solid #CCCCCC;
}
  
.pagination a:hover{
	color: var( --whitecolor);
	background: #EEEEEE;
}
  
.pagination .current{
	padding: 6px 9px 5px 9px;
	background: var( --maincolor);
	color: var( --whitecolor);
}

/*▽サイドバー部*/
#sidebar {
	width: 29.3%;
	font-size: 1em;
	background: var( --whitecolor);
	margin: 20px 0 40px;
}
/*サイドバーの見出し*/
.side-h {
	color: var( --blackcolor);
	margin: 0;
	padding: 0;
	font-size:1.3em;
	border-bottom: 2px dotted var( --maincolor);
}

/*リスト表示*/
#sidebar ul {
	margin: 0;
	padding: 0;
}

#sidebar li {
	list-style: none;
	line-height: 2;
	margin-bottom: 20px;
}

#sidebar li li {
	list-style: none;
	line-height: 2;
	margin-bottom: 0;
}

#sidebar li li a{
	display: block;
	padding: 6px 0;
	background-color: var( --whitecolor);
	border-bottom: 1px solid #EFEFEF;
}

#sidebar li li a:hover {
	background-color: var(--lightcolor);
	color: var( --blackcolor);
}

#sidebar img {
	max-width: 100%;
	height: auto !important;
}

#sidebar p{
	margin: 0 0 20px;
}

#sidebar .textwidget{
	padding: 0;
	font-size: 90%;
}

/*サイドバーのコンタクト*/
.sidecontact-box{
	background-color: var( --whitecolor);
	color: var( --maincolor);
	font-weight: bold;
	padding: 20px;
	border: 1px solid var( --maincolor);
}

.sidecontact-title{
	font-size: 1.5em;
	color: var( --blackcolor);
	text-align: center;
}

.sidecontact-subtitle{
	font-size: 1em;
	color: var( --maincolor);
	text-align: center;
}

.sidecontact-number{
	font-size: 1em;
	text-align: center;
	color: var( --maincolor);
	margin-top: 20px;
}

.sidecontact-box .simple-button{
	box-sizing: border-box;
}

.sidecontact-info{
	margin-top: 10px;
	text-align: center;
	color: var( --maincolor);
}

.sidecontact-ct{
	color: var( --blackcolor);
}

/*プラグイン用*/


/*▽フッター*/
#footer{
	background-color: var(--maincolor);
	color: var( --whitecolor);
	font-size: 0.875em;
	padding: 20px 0;
	text-align: center;
}

#footer a{
	color: var( --whitecolor);
}

/*ページトップへ*/
#back-top {
    position: fixed;
    bottom: 5%;
    right: 8%;}

#back-top span {
    width: 29px;
    height: 28px;
    display: block;}

@media screen and ( max-width:1200px) {

.headerbuttonbox-m{
	font-size: 1vw;	
}
	
.fbox-in{
	flex: 0 1 48%;
}

@media screen and ( max-width:1100px) {
	
.headerbox-r{
	font-size: 1.2vw;
}
	
.cb-title{
	font-size: 100%;
}
	
.cb-tel{
	font-size: 100%;
}

.cb-number{
	font-size: 4vw;
}
	
.headerbuttonbox-m{
	font-size: 1.2vw;
	margin: 0;
}
	
.headerbuttonbox-r{
	display: none;
}
	
#header-text .contact-box p, #header-text .contact-topbox p{
	font-size: 100%;
}
	
}

@media screen and ( max-width:920px) {
	
.header-title{
	background-color: rgba(255,255,255,0.4);
}
	
.header-box {
	display: flex;
	flex-direction: column;
}
	
.headerbox-r {
	font-size: 1em;
}
	
nav.menu, nav.smenu {
	display: none;
	width: 100%;
}
	
#menubtn {
	display: block;
	position: absolute;
	top: 20px;
	right: 6px;
	background-color: var( --whitecolor);
	padding: 6px 12px;
	border-radius: 4px;
	border: 1px solid var( --maincolor);
}
#menubtn span {
	display: none;
}
#menubtn i {
	color: var( --maincolor);
	font-size: 2em;
}
	
nav.smenu ul, nav.btnmenu ul{
display: block;
}

nav.smenu ul li, nav.btnmenu ul li{
	float: none;
	border-right: none;
	width: 100%;
}

nav.smenu ul li:first-child, nav.btnmenu ul li:first-child{
	border-left: none;
	width: 100%;
}

nav.smenu ul li a , nav.btnmenu ul li a{
	display: block;
}
	
.menu-item{
	padding: 10px 0;
	border-bottom: 1px dotted var(--maincolor);
}

nav.smenu li.menu-item a, nav.btnmenu li.menu-item a{
	text-align: left;
}
	
.circlebox{
	flex-direction: column;
}
	
}

@media screen and (max-width: 768px) {
	
#header-title img{
	max-width: 80%;
}
	
#header-whitebox{
	flex-direction: column;
}

.header-tba{
	background-color: rgba(255,255,255,0.75);
	margin:0 0 20px;
	padding: 20px;
}

.header-tba img{
	max-width: 100%;
}

.header-tbb{
	position: relative;
	margin:20px;
}
	
.tbb-item{
	position: relative;	
}
	
nav.menu ul{
	flex-direction: column;	
}
	
/* ヘッダー(テキスト) */
.herohead, .subherohead{
	font-size: 8vw;
	margin-top: 0;
	text-align: left;
}
	
	.subherohead img{
		max-width: 80%;
	}
	
#header-text, #subheader-text{
	height: auto;
}

#header-text p, #subheader-text p{
	text-align: left;
	font-size: 1em;
}
	
.contact-box, #header-text .contact-topbox{
	text-align: center;	
}
	
.contact-topbox{
	margin-top: 40px;
}
	
.contact-box p,#header-text .contact-topbox p{
	text-align: center;
}
	
.cb-right{
	display: none;
}
	
.cb-main{
	display: flex;
	flex-direction: column;
}
	
.cb-main-left{
	flex: 60;
	margin-bottom: 10px;
}

.cb-main-right{
	flex: 40;
}
	
.cb-number{
	font-size: 6vw;
}
	
#content .inner{
	display: block;
}
	
.wid720{
	padding: 0	
}	

.wid960, #top-lp .wid720{
	padding: 0 20px;
}
	
#content-left{
	width: 100%;
}
	
#sidebar {
	width: 100%;
}
	
.header-button{
	display: none;
}
	
/*LPボックス*/
.boxes246, .boxes264, .boxes255, .boxes237 , .boxes3, .boxes4{
	display: flex;
	flex-direction: column;
}

.box246a, .box246b, .box264a, .box264b, .box255a, .box255b, .box3, .box4{
	width: 100%;
	box-sizing: border-box;
	padding: 0;
}
	
.box255a, .box246a, .box3a, .box3b{
	margin-bottom: 30px;
}
	
.box3b, .box3c{
	padding-left: 0px;
}
	
.box219a {
	flex: 15;
}

.box219b {
	flex: 85;
}
	
/*トップページ見出し*/
#top-lp h2, .soudan-area h2{
	font-size: 1.5em;
}
	
.soudan-area{
	padding: 0px;
	background-color: transparent;
}
	
#top-lp .soudan-area {
	padding: 0;		
}
	
.soudan-area img{
	width: 100%;
}
	
.wpcf7-submit {
font-size: 1.2em;
padding: 10px 20px;
background-color: #BDDDFD;
color: var( --blackcolor);
border-style: none;
width: 100%;
text-align: center;
}
	
.form-width { max-width: 100%;}
	
#sidebar img{
	width: 100%;
}
	
#sidebar li li a{
	border-bottom: none;
}

}