@charset "utf-8";
/* CSS Document */

body{
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	color: #333333;
	max-width:768px;
	font-size: 16px;/*14~16px*/
	line-height: 140%;
	background-image: url("../img/haikei_smp.png");
	background-repeat: no-repeat;
	background-position: top;
	background-size: cover;
	margin: 0 auto;
	padding: 0;
	display: inline;
	box-sizing: border-box;
}
body:before {
	background: url("../img/アニメ1.gif") no-repeat right bottom;/* 画像（ここにfixedは入れない） */
	background-size: 25% auto;
  content: "";
  display: block;
  position: fixed;/* 擬似要素ごと固定 */
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;/* 横幅いっぱい */
  height: 100vh;/* 縦幅いっぱい */
}
/*基本設定*/
a{
	color: #333333;
	text-decoration: none;
}
a:visited{
	color:#333333;
}
a:hover{
	color: #a4272d;
}
img{
	border: none;
	vertical-align: baseline;
}
table{
	border-collapse: collapse;
	width: 100%;
}
input{
	font-size: 16px;
}
.smp{
	display: inherit;
}
.pc{
	display: none;
}
/*よく使うクラス*/
.clear{
	clear: both;
}
.red{
	color: red;
}
.white{
	color: #FFFFFF;
}
.center{
	margin: 0 auto;
}
.righit{
	text-align: right;
}
.margin{
	margin: 0;
}
.font_size{
	font-size: 0.8em;
}
.width100{
	width: 100%;
	height: auto;
}
.width85{
	width: 100%;
	height: auto;
}
.width30{
	width: 30%;
	height: auto;
}
.color{
	color: #333333;
}
/*ヘッダー*/
@media screen and (max-width: 768px) {
    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
    #mobile-head {
        background: #fff;
        width: 100%;
        height: 56px;
        z-index: 999;
        position: relative;
    }
    #top-head.fixed .logo,
    #top-head .logo {
        position: inherit;
        left:0px;
        top: 0px;
        color: #333;
        font-size: 18px;
    }
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: #4070b3;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
		padding-left: 0;
    }
    #global-nav ul li {
        float: none;
        position: static;
    }
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 18px 0;
    }
    #nav-toggle {
        display: block;
    }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }
}
/*news.detail.php用*/
.box_center{
	width: 90%;
	height: auto;
	margin: 0 auto;
	margin-top: 6em;
	-moz-box-shadow: 0px 0px 10px #333333;
	-webkit-box-shadow: 0px 0px 10px #333333;
	box-shadow: 0px 0px 10px #333333;
	background-color: #fff;
	padding: 1em;
}
.tyousei{
	margin-bottom: 3em;
}
/*新着情報*/
#newsWrap{
	width: 100%;
	height: auto;
	margin: 0 auto;
	margin-bottom: 50px;
	font-size: 0.9em;
	margin-left: -1.4em;
}
#newsWrap ul{
	list-style: none;
}
#newsWrap li{
	border-bottom: 1px solid #333333;
	margin-bottom: 10px;
}
#newsWrap_news{
	width: 100%;
	height: auto;
}
/*個別設定*/


#gif1{
	background-image: none;
}
#gif2 {
	background-image:none;
}
#gif3{
	background-image: none;
}
#gif4{
	background-image: none;
}

#maine{
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0em;
}
#mobile-head img{
	width: 120px;
	height: auto;
	float: left;
	margin-top:0.5em;
}
#mobile-head h1{
	font-size: 1.2em;
	font-weight: bold;
	margin:1.5em 0 0 1em;
	width: auto;
	height: auto;
	float: left;
}
.item{
}
#Catchphrase{
	margin: -1em 0 4em 0;
}
#top img{
	width: 100%;
	height: auto;
}
#top_g img{
	width: 100%;
	height: auto;
}
.top_waku1{
	margin: 6em auto 0 auto;
	width: 90%;
	height: auto;
	padding-top: 2em;
}
.top_waku1 p{
	font-weight: bold;
	font-size: 1em;
	line-height: 140%;
}
.btn_toiawase{
	width:100%;
	height: auto;
	color: #FFF;
	background: none;
	border: none;
	padding:  0;
	margin-top: 0;
	margin-left: 0;
}
.btn{
	width: 250px;
	height: auto;
	padding: 5px 0;
	color: #FFF;
	background: #508c4b;
	text-align: center;
	border:  1px solid #508c4b;
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
	border-radius: 100px;
	margin: 1.5em auto;
	display: block;
}
.top_waku1 a,
#top_waku2 a,
#top_waku3 a,
#top_waku4 a,
#top_waku5 a{
	color: #fff;
}
#top_waku2{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/top_haikei_smp.png");
	background-repeat: no-repeat;
	
}
#top_waku2 p{

}
#top_waku2 h2,
#top_waku3 h2,
#top_waku4 h3{
	color: #4070b3;
	font-size: 1.4em;
	margin-top: 1em;
}
.tien{
	width: 90%;
	height: auto;
	margin: 0 auto;
}
.tien h2{
	color: #4070b3;
	font-size: 1em;
	text-align: center;
	margin-top: 2em;
	text-shadow: 2px  2px 3px #fff,
            -2px  2px 3px #fff,
             2px -2px 3px #fff,
            -2px -2px 3px #fff;
}
#top_waku2 h3{
	margin: 20px 0 0 0 ;
	font-weight: bold;
	font-size: 1.2em;
}
#top_waku2 ol{
	margin: 0;
    padding: 0
}
#top_waku2 li  {
  list-style: none;
  padding-left: 1.3em;
  text-indent: -1.3em;
}
.top_waku2_kodawari{
	font-size: 1.1em;
	font-weight: bold;
	margin:10px 0 0 0;
	line-height: 150%;
}
#top_waku3{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/top_haikei2-_smp.png");
	background-repeat: no-repeat;
}
#top_waku3 img{
	width: 31%;
	height: auto;
}
#top_waku4{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
}
#top_waku4 img{
	width: 100%;
	height: auto;
}
#top_waku4_color{
	color: #6dae53;
	font-size: 1.3em;
	margin: 20px 0 0 0 ;
}
#top_waku5{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/top_haikei3_smp.png");
	background-repeat: no-repeat;
}
#top_waku5 h4{
	color: #4070b3;
	text-align: center;
	font-size: 1.3em;
	margin: 0.4em 0;
}
.btn_form{
	width: 280px;
	height: auto;
	padding: 5px 0;
	color: #FFF;
	background: #508c4b;
	text-align: center;
	border:  1px solid #508c4b;
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
	border-radius: 100px;
	margin: 0 auto;
}
.footer{
	border-top: 1px solid #000;
	margin-top: 70px;
}
.footer_container{
	display: inherit;
	width: 70%;
	height: auto;
	justify-content: none;
	margin: 0 auto;
}

#footer_jyusyo{
	font-size: 0.85em;
}
#footer_copy{
	font-size: 0.6em;
}
.footer p{
	text-align: center;
	font-size: 0.8em;
}
#new{
	font-size: 1.3em;
	font-weight: bold;
}
.footer a{
	color: #4070b3;
}
.btn_kiji{
	text-align: center;
	font-size: 1.2em;
	margin-left: 2em;
}
.moji{
	margin-top: 1em;
}

/*news.php用*/
#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 50vh;
}

/*about*/
.title{
	width: 90%;
	margin: 6em 0 3.5em 2em;
	height: auto;
}
.title h2{
	width: 100%;
	height: auto;
	color: #4070b3;
	font-size: 1.6em;
	padding: 0px;
	margin-top: 0;
	float: none
}
.title p{
	width: 100%;
	height: auto;
	font-weight: bold;
	float: none
}
.title img{
	width: 30%;
	height: auto;
}
#title1{
	font-size: 1.1em;
}
.about_box1{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/about_hand_smp.png");
	background-repeat: no-repeat;
}
.about_box1-2{
	width: 80%;
	height: auto;
	margin: 0 auto;
	margin-top: 2em;
	padding: 1em;
	background: rgba(255,255,255,0.8);
	background-image: url("../img/about_hand_smp.png");
	background-repeat: no-repeat;
	background-position: right bottom;
}
.about_box1-3{
	width: 80%;
	height: auto;
	margin: 0 auto;
	margin-top: 2em;
	padding: 1em;
	background: rgba(255,255,255,0.8);
	background-image: url("../img/about_hand_smp.png");
	background-repeat: no-repeat;
	background-position: right bottom;
}
.about_box1 img,
.about_box2 img,
.service_box1 img{
	width: 100%;
	height: auto;
}
.about_box1-3 ol li {
  padding: 0.5em 0.5em 0.5em 2.6em;
}
.about_box2{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/about_hand_smp.png");
	background-repeat: no-repeat;
}
.about_box2_moji{
	font-size: 0.8em;
}
.about_box4{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/about_haikei4.png");
	background-repeat: no-repeat;
}
.about_box4_contena{
	display: inherit;
}
.about_box4 img{
	width: 50%;
	height: auto;
	text-align: center;
	margin-left: 0
}
.about_box5{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/about_kaisya_smp.png");
	background-repeat: no-repeat;
}
.about_box4 li,
.about_box5 li{
  	list-style: none;
  	padding-left: 1.3em;
  	text-indent: -0.9em;
	margin-bottom: 20px;
}
.box_left{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
}
.box_left img{
	width: 100%;
	height: auto;
}

.box_left li  {
  	list-style: none;
  	padding-left: 0.7em;
  	text-indent: -1.0em;
	margin-bottom: 20px;
}

.box_right{
	width: 670px;
	height: auto;
	margin: 0 0 0 auto;
	margin-top: 3.5em;
	-moz-box-shadow: 0px 0px 10px #333333;
	-webkit-box-shadow: 0px 0px 10px #333333;
	box-shadow: 0px 0px 10px #333333;
	background-color: #fff;
	padding: 30px;
}
.box_right li  {
  	list-style: none;
  	padding-left: 0.7em;
  	text-indent: -1.0em;
	margin-bottom: 20px;
}
.rinen,
.rinen1,
.rinen2{
	border: 3px solid #4070b3;
	-webkit-border-radius: 110px;
	-moz-border-radius: 110px;
	border-radius: 110px;
	width: 165px;
	height: auto;
	padding: 0.5em 1em;
	font-weight: bold;
	margin-bottom: 0;
	text-align: center;
}
.keieirinen1{
	font-size: 1.2em;
	line-height: 150%;
	margin-bottom: 0.5em;
}
.keieirinen2{
	width: 90%;
	height: auto;
	padding: 0px 0.5em;
}
.about_daihyou {
	flex-wrap: wrap
}
.about_daihyou div{
	width: 50%
}
.about_daihyou img{
	width: 70%;
}
.about_daihyou p{
	text-align: center;
}
.gaiyou{
	border: 3px solid #4070b3;
	-webkit-border-radius: 110px;
	-moz-border-radius: 110px;
	border-radius: 110px;
	width: 150px;
	height: auto;
	padding: 0.5em 1em;
	font-weight: bold;
	margin-bottom: 0;
	color: #4070b3;
	text-align: center;
	font-size: 1.1em;
}
.about_box5 tbody,table,tr,td{
	border: none;
}
.about_box5 iframe{
	width: 100%;
	height: auto;
}
.about_box5 tr{
	border-bottom: 1px solid #333333;
}
.about_box5 td{
	padding: 10px;
}
.table_haba_left{
	width: 100px;
	height: auto;
}
/*service*/
.service_box1{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/service_yajirusi_smp.png");
	background-repeat: no-repeat;
}
.service_box1 td,
.service_box1 tr{
	border-bottom: 1px solid #333333;
}
.service_box1 li,
.service_box1 ul{
	padding-left: 1em;
}
.service_box1_td{
	width: 30%;
}
.service_box1_ao{
	color: #4070B3;
	margin-top: -1em;
}
.service1{
	float:left;
	width: 55%;
	height: auto;
	text-align: justify;
	margin-left: 0px;
}
.service2{
	float:left;
	width: 40%;
	height: auto;
}
.service2 img{
	margin: 0;
	padding: 0;
	width: 100%;
	height: auto;
}
.service_box2{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/service_bikk_smp.png");
	background-repeat: no-repeat;
}
.service_box2 img{
	width: 100%;
	height: auto;
}
/*ercm*/
.ercm_box1{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/ERCM_img1_smp.png");
	background-repeat: no-repeat;
}
.ercm_box1_img{
	width: 100%;
	height: auto;
	margin: 1.5em 0;
}
.ercmbox1_container{
	display: inherit;
}
.ercmbox1_container div{
	margin-top: 1em;
	padding-left: 0em;
}
.ercm_box1_container img{
	width: 40%;
	height: auto;
	margin-top: 1.5em;
}
.ercm_box2{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/ercm_haikei2_smp.png");
	background-repeat: no-repeat;
}
.ercm_box2 img{
	width: 100%;
	height: auto
}
.ercm_container{
	display: flex;
	justify-content: none;
	margin-top: 1.5em;
}
.ercm_container img{
	width: 90%;
	height: auto;
}
.ercm_container div{
	width: 90%;
	height: auto;
	font-size: 0.8em;
	margin: 0px;
	padding: 0.3em
}
.ercm_box2 table,
.ercm_box3 table{
	font-size: 0.5em;
	border: 1px solid #333333;
	background-color: #fff;
	line-height: 160%;
}
.ercm_box3{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/ercm_haikei3_smp.png");
	background-repeat: no-repeat;
}
.ercm_container2{
	display: flex;
	margin-top: 1.5em;
}
.ercm_item_img{
	width: 110px;
	height: auto;
}
.ercm_item_p1{
	width: 100px;
	height: auto;
	margin-top: 1.5em;
	font-size: 0.8em;
	margin-left: 0.5em
}
.ercm_item_p2{
	width: 260px;
	height: auto;
	margin-top: 1.55em;
	margin-left: 1em;
	font-size: 0.8em;
}
.ercm_box4{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/ercm_haikei5_smp.png");
	background-repeat: no-repeat;
}
.ercm-box4_p{
	width: 90%;
	height: auto;
	margin: 0 auto;
	background-color: #949494;
	color: #fff;
	border: 1px solid #949494;
	-webkit-border-radius: 110px;
	-moz-border-radius: 110px;
	border-radius: 110px;
	padding: 0.5em 1em;
	margin-top: 1.5em;
	margin-bottom: 1em;
	text-align: center;
	font-size: 1.1em;
}
.ercm_box5{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/ercm_haikei5_smp.png");
	background-repeat: no-repeat;
}
.ercm_box5 ul{
	list-style: none;
	margin-left: -1.4em
}
.ercm_box5 li{
	padding-left: 0.5em;
  	text-indent: -1.0em;
	margin-bottom: 1em;
	font-size: 1.1em;
}
.ercm_box1 h4,
.ercm_box2 h4,
.ercm_box3 h4,
.ercm_box4 h4,
.ercm_box5 h4{
	color: #4070b3;
	font-size: 1.4em;
	margin-top: 1em;
}
.box_left h4{
	color: #4070b3;
	font-size: 1.4em;
}

.box1{
	float: left;
	width: 330px;
	height: auto;
}
/*contact*/
.contact_box{
	width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/contact_haikei1_smp.png");
	background-repeat: no-repeat;
}
.contact_box td{
	padding: 0;
	padding-bottom: 0.5em;
	display: block;
}
.contact_box tr,
.contact_box_text,
.contact_box textarea,
.contact_box_left,
.contact_box img{
	width: 100% !important;
	height: auto;
}
input[type=text] {
  font-size: 18px;
}
.contact_box2{
		width: 80%;
	height: auto;
	margin: 0 auto;
	padding: 1em;
	margin-top: 2em;
	background: rgba(255,255,255,0.8);
	background-position: right bottom;
	background-image: url("../img/contact_haikei2_smp.png");
	background-repeat: no-repeat;
}
.contact_box2_p1{
	font-size: 1.1em;
	margin-bottom: 0;
}
.contact_box2_p2{
	font-size: 0.7em;
}
.contact_box2_p3{
	font-size: 1.4em;
	margin-top: 10px;
	margin-bottom: 0;
}.contact_box2_p4{
	font-size: 0.8em;
	margin-top: 0;
	margin-bottom: 0;
}
.contact_box2_p5{
	margin-top: 10px;
}