margin-bottom: text-align: text-decorationclear: /*
Theme Name: yousyoshi
Version: 1.1
*/

html,
body {
    width: 100%;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 2em;
    color: #333;
    margin: 0;
    -webkit-text-size-adjust: none;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
   
}


.clearfix {
    display: inline-block;
}

.clearfix {
    display: block;
}

div.clear {
    clear: both;
}

div.clear hr {
    display: none;
}

.breadcrumbs {
    padding: 1em 0 1em 0;
}

img{
	vertical-align:top;
}

a {
	color: #0085c1;
}

a:hover {
	text-decoration: none;
}
.icon-txt {
	margin: 2em 0;
	padding: 1em;
	border: solid 2px #9bc225;
}
.icon-txt::before {
	position: relative;
	content:url(images/icon3.png);
	top:.1em;
}

.sunserif {
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	transform: rotate(.03deg);
}

.button {
    background-color: #71b116;
    color: #fff;
    line-height: 63px;
    font-size: 26px;

    margin-bottom: .5em;
}

_:-ms-input-placeholder .button, :root .button {
  padding: 4px 10px 0;
}

.button span {
	font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 12px;
	font-weight: normal;
	margin-left: 1em;
	position: relative;
	top:-.4em;
}

.button:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
    -webkit-transition: all .8s;
    transition: all .8s;
}

.button {
    display: inline-block;
    width: 100%;
    height: 63px;
    text-align: center;
    text-decoration: none;
    line-height: 63px;
    outline: none;
}

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

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


.wp-caption {
	display: block;
	margin: auto;
	margin-bottom: 3em;
}

.wp-caption-text {
	text-align: left;
	font-size: 12px;
	line-height: 1.3;
}

.kakomi {
	display: block;
	padding: 3em;
	border: solid 2px #368f08;
	margin-bottom: 3em;
}

.kakomi ul,.kakomi ol {
	margin: 0;
}

#step,#step-end {
	width: 70%;
	display: block;
	margin: auto;
	border: solid 6px #81b133;
	padding: 3em;
}

#arrow {
	color: #368f08;
	text-align: center;
	font-size: 20px;
	padding: .5em 0;
}

#step h5,#step-end h5 {
	font-size: 18px;
	line-height: 1.3;
	margin: 0;
}

#step p,#step-end p {
	margin: 0;
	}

/*------------------------
	 フォーム
-------------------------*/

.wpcf7-radio .wpcf7-list-item {
    margin-top:10px;
    display: block;
}

input[type="text"],
textarea {
    vertical-align: middle;
    max-width: 90%;
    line-height: 30px;
    height: 30px;
    padding: 1px 5px;
    border: 1px solid #d4d4d7;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: 100%;
    color: #555;
    background: #fcfcfc;
}

input[type="text"].readonly {
    font-weight: bold;
    vertical-align: middle;
    width: 100%;
    line-height: 20px;
    height: 20px;
    padding: 1px 0;
    border: none;
    font-size: 100%;
    color: #555;
    background: #fff;
}

input[type="tel"],
textarea {
    vertical-align: middle;
    max-width: 90%;
    line-height: 30px;
    height: 30px;
    padding: 1px 5px;
    border: 1px solid #d4d4d7;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: 100%;
    color: #555;
    background: #fcfcfc;
}

input[type="email"],
textarea {
    vertical-align: middle;
    max-width: 90%;
    line-height: 30px;
    height: 30px;
    padding: 1px 5px;
    border: 1px solid #d4d4d7;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: 100%;
    color: #555;
    background: #fcfcfc;
}

textarea {
    height: auto;
    line-height: 1.5;
}

input[type="submit"],
input[type="reset"],
input[type="button"] {
    padding: .5em 3em;
    background: #007c1a;
    background: -moz-linear-gradient(top, #8aa440 0%, #8aa440 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #8aa440), color-stop(100%, #8aa440));
    background: -webkit-linear-gradient(top, #8aa4407 0%, #8aa440 100%);
    background: -o-linear-gradient(top, #8aa440 0%, #8aa440 100%);
    background: linear-gradient(to bottom, #8aa440 0%, #8aa440 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8aa440', endColorstr='#8aa440', GradientType=0);
    border: 0;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    line-height: 1.5;
    font-size: 16px;
    color: #fff;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
    background: #878787;
    background: -moz-linear-gradient(top, #6f6f6f 0%, #878787 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #6f6f6f), color-stop(100%, #878787));
    background: -webkit-linear-gradient(top, #6f6f6f 0%, #878787 100%);
    background: -o-linear-gradient(top, #6f6f6f 0%, #878787 100%);
    background: linear-gradient(to bottom, #6f6f6f 0%, #878787 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6f6f6f', endColorstr='#878787', GradientType=0);
    cursor: pointer;
    -webkit-transition: all .8s;
    transition: all .8s;
}

#carcont input[type="submit"],
#carcont input[type="reset"],
#carcont input[type="button"] {
    padding: .5em 3em;
    background: #ffffff;
    background: -moz-linear-gradient(#ffffff);
    background: -webkit-gradient(#ffffff);
    background: -webkit-linear-gradient(#ffffff);
    background: -o-linear-gradient(#ffffff);
    background: linear-gradient(#ffffff);
    border: 1px solid #d9d7d8;
    border-radius: 0px;
    line-height: 1.5;
    font-size: 1.3vw;
    color: #333;
}

#carcont input[type="submit"]:hover,
#carcont input[type="reset"]:hover,
#carcont input[type="button"]:hover {
    background: #000000;
    background: -moz-linear-gradient(#000000);
    background: -webkit-gradient(#000000);
    background: -webkit-linear-gradient(#000000);
    background: -o-linear-gradient(#000000);
    background: linear-gradient(#000000);
    color: #fff;
    cursor: pointer;
    -webkit-transition: all .8s;
    transition: all .8s;
}

*:first-child+html input[type="submit"] {
    padding: 3px;
}

#search {
    background: #e2e2e2;
    margin: 0;
    padding: 1em .5em;
    text-align: center;
}

/* ----------------------------------------------
	PageNavi
------------------------------------------------*/

#pager {
	display: block;
	padding-top: 0em;
	text-align: center;
}
#pager {
	display: block;
	width: 100%;
	margin: 1em auto;
}
.nav-previous a,.nav-next a { width:100px; background: #2a8800; color: #fff; display: block; padding: .5em 2em; text-decoration: none; -webkit-transition: 0.5s; transition: 0.5s; text-align: center;}
.nav-previous a:hover,.nav-next a:hover { background: #568700; color: #fff;}



/* レイアウト ------------------------------------------------------------*/

#head {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	margin-left: 1em;
}

.logo h1 {
	position: relative;
	top: .3em;
	line-height: 1;
	z-index: 99999;
}
#vi {
	margin: -.5em 0 0 0;
	padding: 0;
}

#vi img {
	width: 100%;
	height: auto;
}
#vi ul {
	padding: 0;
	margin: 1.2em 0 0 0;
}

#vi ul li {
	margin: 0;
	padding: 0;
}

#free {
	display: block;
	margin: 4em auto 0 auto;
	width: 420px;
}

#news {
	max-width: 800px;
	display: block;
	margin: 4em auto 8em auto;
}

#news dl {
	background: #f5f5f5;
	display: block;
	margin: 0 0 .5em 0;
	padding: 1em 2em;
}

#news dt {
	font-weight: normal;
}

#news dd {
	margin: -2em 0 0 0;
	padding: 0 0 0 10em;
}

#news dd span {
	color: #ff0000;
	padding-right: 1em;
}

#news dd a {
	color: #333;
	text-decoration: none;
}

#news dd a:hover {
	text-decoration: underline;
}

#news-list {
	text-align: center;
	margin: 2em 0 0 0;
}

#business-menu {
	max-width:1100px;
	display: block;
	margin: auto;
}
#business-menu h3 {
		display: block;
	text-align: center;
	margin:2em 0 0 0;
	padding: 0;
}
#business-menu h3::before  {
	content: url(images/icon2.png);
	display: block;
	text-align: center;
	padding-bottom: 1em;
}

#business-menu #inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#business-menu #inner section {
	flex-basis: 28%;
	margin: 2%;
	padding: 1em 0 3em 0;
	border: solid 3px #acd455;
	
}

#business-menu p {
	padding: 0 2em 2em 2em;
}

#tel {
	width:1030px;
	display: block;
	margin: 3em  auto;
	border: solid 1px #e5e5e5;
}

#tel #inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 3em;
}

#ctcp {
	font-size: 26px;
	margin: 0 0 .3em 0;
}

#phone-no {
	font-size: 40px;
}

#phone-no::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f87b";
  color: #76c638;
  padding-right: .2em;
}

#footer {
	display: block;
	background: #eef6f1;
	margin: 5em 0 0 0;
}

#footer #inner {
	padding: 4em;
}

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

#fd section {
	flex-basis: auto;
}

#ftbt a {
	background: #fff;
	display: inline-block;
	padding: .2em 3em;
	margin: 0 .3em;
	border: solid 1px #2f8e28;
	text-decoration: none;
	color: #333;
	-webkit-transition: all .8s;
    transition: all .8s;
}

#ftbt a:hover {
	background:  #2f8e28;
	color:  #fff;
}

#fmenu {
	width: 100%;
	display: flex;
	justify-content: space-between;
}

#copyright {
	font-size: 12px;
	margin-top:3em;
}
#content {
	width:100%;
	margin: .7em auto;
	border-top: solid 1px #e6e6e6;
}
#cont-head {
	background: url(images/hdbk.jpg) no-repeat top center;
	width: 100%;
	height: 100px;
	overflow: hidden;
	background-size:cover;
}

#cont {
	max-width:1030px;
	display: block;
	margin: 2em auto;	
}

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

#staff section {
	display: flex;
	justify-content:space-between; 
	flex-basis: 46%;
}

#photo {
	flex-basis: 250px;
}

#prof {
	width: 100%;
	margin-left: 2em;
}

#name {
	font-size: 20px;
	font-weight: bold;
	line-height: 1.2;
	margin: 0 0 .4em 0;
	padding: 0;
}

.mni {
	display: block;
	font-size: 14px;
	font-weight: normal;
	margin: 0 0 .2em 0;
	padding: 0;
	line-height: 1.2;
}

.mni2 {
	font-size: 14px;
	line-height: 1.2;
	font-weight: normal;
}

#prof h4 {
	font-size: 12px;
	line-height: 1;
	font-weight: normal;
	background: #9bc225;
	color: #fff;
	padding: .4em 1em;
	display: block;
	text-align: center;
}

#prof ul {
	margin: 0;
	padding: 0;
}

#prof li {
	font-size: 13px;
	line-height: 1.7;
	list-style-position: inside;
	list-style: none;
	margin: 0;
}

#cases {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#cases section {
	flex-basis: 48%;
	border: solid 3px #acd455;
	margin-bottom: 3%;
}

#cases #inner {
	padding: 2em;
}

#casesw {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#casesw section {
	flex-basis: 30%;
	border: solid 3px #acd455;
	margin-bottom: 3%;
}

#casesw #inner {
	padding: 2em;
}

#single {
	display: block;
	padding-bottom: 3em;
}
.wp-caption-text {
	margin-top: 3em;
}
.faq {
	display: block;
	margin-bottom: 5em;
}
.faq dl {
	margin-bottom: 4em;
	}
.faq dt {
	font-weight: normal;
}

.faq dd {
	background: #f6f6f2;
	margin: 0 0 3em 0;;
	padding: 2em 3em;
}

.faq h5 {
	font-size: 16px;
	display: inline-block;
	background: #1f8817;
	color: #fff;
	padding: .5em 2em;
	margin: 0;
}

.faq h5:hover {
	 background: #454545;
	-webkit-transition: all .8s;
    transition: all .8s;
}

#zoom {
	display: block;
	padding: 3em;
	border: solid 5px #135e06;
	margin-bottom: 3em;
}

#cont #zoom h4 {
	border: none;
	padding: 0;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
}

/* タイポグラフィ *****************************************************/

h2.cat-tit {
	font-size: 36px;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-weight: normal;
  transform: rotate(.03deg);
  text-align: center;
  margin-bottom: 1.5em;
}

/*
h2.cat-tit::after {
	 content: url(images/icon.jpg);
	 padding-left: .3em;
}
*/

/*
h2.cat-tit::before {
	 content: url(images/icon.jpg);
	 padding-right: .3em;
}
*/

h2.single-tit {
	font-size: 18px;
	font-weight: normal;
	border: solid 1px  #acd455;
	padding: .5em 1em;
  margin-bottom: 1.5em;
}

#cont h3 {
	font-size: 24px;
	overflow: hidden;
	font-weight: normal;
	text-align: center;
	margin-bottom: 2em;
	padding-top: .5em;
	padding-bottom: .5em;
	border-top: solid 1px  #191919;
	border-bottom: solid 1px  #191919;
}
#cont h3 span {
position: relative;
  display: inline-block;
  margin: 0 2.5em;
  padding: 0 1em;
  text-align: left;
}

#cont h3 span::before,
#cont h3 span::after {
  position: absolute;
  top: 50%;
  content: '';
  width: 50%;
  height: 1px;
  background-color: #ccc;
}
#cont h3 span::before {
  right: 100%;
}
#cont h3 span::after {
  left: 100%;
}

#cont h4 {
	font-size: 18px;
	font-weight: normal;
	border: solid 1px #ccc;
	display: block;
	margin: 0 0 1em 0;
	padding: .5em 1em;
}

#cont h5.subt {
	font-size: 18px;
	border-left: solid 3px #078f26;
	display: block;
	margin: 0 0 1em 0;
	padding: .5em 0 .5em 1em;
}

a.more {
	background: #acd455;
	width: 9em;
	text-align: center;
	display: block;
	margin: 0 auto .5em auto;
	color: #fff;
	font-size: 12px;
	text-decoration: none;
	-webkit-transition: all .8s;
    transition: all .8s;
}

a:hover.more {
	background: #628516;
}


p {
    margin-bottom: 1.5em;
}


ul {
	margin: 0 0 2em 0;
}
ul li {
    margin: 0 0 1em 0;
    padding: 0;
    list-style-position: outside;
}

ul#dot li {
  line-height: 1.5;
  padding: 0 1em 0 0;
  list-style-type: none!important;
  text-indent: -1em;
}

ul#dot li:before {
  font-family: "Font Awesome 5 Free";
  content: "\f111";
  color: #4b9c04; 
  position: relative;
  left: -.5em;
}

ul#check li {
  line-height: 1.5;
  padding: 0 1em 0 0;
  list-style-type: none!important;
  text-indent: -1em;
}

ul#check li:before {
  font-family: "Font Awesome 5 Free";
  content: "\f14a";
  color: #4b9c04; 
  position: relative;
  left: -.5em;
}

ul#qb {
	margin: 3em 0;
}

ul#qb li {
  background: url(images/icon3.png) no-repeat left .2em;
  line-height: 1.5;
  padding: 0 0 0 2em;
  list-style-type: none!important;
}


ol {
    margin: 0 0 3em 0;
}

ol li {
    list-style: decimal;
    margin-bottom: 1em;
}

blockquote {
    clear: both;
    padding: 10px 0 10px 15px;
    margin: 10px 0 25px 30px;
    border-left: 5px solid #ccc;
}

blockquote p {
    padding: 5px 0;
}

table {
    border: 1px #dddddd solid;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 10px 0 2em 0;
    width: 100%;
}

table th {
    padding: 1em;
    border: 1px #dddddd solid;
    border-width: 0 0 1px 1px;
    font-weight: normal;
    background: #f2f2f2;
    vertical-align: middle;
}

table th:first-child {
	width: 30%;
}

table th span {
    color: red;
}

table td {
    padding: 1em;
    border: 1px #dddddd solid;
    border-width: 0 0 1px 1px;
    background: #fff;
    vertical-align: middle;
}

table p {
    margin: 0;
    padding: 0;
}

dl {
    margin: 0;
}

dt {
    font-weight: bold;
}

dd {
    padding-bottom: 10px;
}

img {
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

img.aligncenter {
    display: block;
    margin: 0 auto 5px auto;
}

img.alignright,
img.alignleft {
    margin: 0 10px 15px 15px;
    display: inline;
}

img.alignleft {
    margin: 10px 15px 15px 10px;
}

.alignright {
    float: right;
}

.alignleft {
    float: left;
}

.red {
    color: #ff0000;
}

#mk {
	background: url(images/icon.jpg) no-repeat left center;
	font-size: 30px;
	font-weight: bold;
	padding-left: 1.3em;
}


/* メインメニュー　PC用------------------------------------------------------------*/

@media only screen and (min-width: 1233px) {
	nav ul {
		margin: 0;
		padding: .3em 0 ;
	}
    nav ul li {
        font-size: 14px;
        float: left;
        list-style: none;
        margin: 0;
    }
    nav ul li a {
	    color: #0f0f0f;
	    padding: 3em 1em;
	    margin: 0;
	    line-height: 1;
        text-decoration: none;
        -webkit-transition: 0.5s;
        transition: 0.5s;
    }

nav ul li a.btfree {
	background: #71b116;
	color: #fff;
}
nav ul li a.btcon {
	background: #1f8817;
	color: #fff;
}

nav ul li a:hover.btfree {
	background: #454545;
	color: #fff;
}
nav ul li a:hover.btcon {
	background: #454545;
	color: #fff;
}
    nav ul li a:hover {
        text-decoration: none;
        background: #454545;
        color: #fff;
    }
    nav li ul {
 display: none;
    }
    nav li:hover ul {
        display: block;
        position: absolute;
        z-index: 500;
        margin: 33px 0 0 0;
		padding: 0;
        border: 0;
    }
    

    nav li li,
    nav li li:first-child {
        padding: 0;
        margin: 0;
        float: none;
        display: block;
        border: 0;
        list-style: none;
    }
    nav li li a {
	    margin: 0;
        padding: 1em 1em;
        background: #454545;
        color: #ffffff;
        display: block;
        height: auto;
    }
    nav li li a:hover {
        background: #71b116;
        color: #fff;
        -webkit-transition: 0.5s;
        transition: 0.5s;
    }
    nav li:hover ul li a:last-child {
        border: 0;
    }
}


/* iPadサイズ以下から ------------------------------------------------------------*/

@media only screen and (max-width:1232px) {
	#tel {
	width:90%;
	display: block;
	margin: 3em  auto;
	border: solid 1px #e5e5e5;
}
#cont {
	width:90%;
	display: block;
	margin: 3em auto;	
}

}


/* 959px以下から 1カラム表示 ------------------------------------------------------------*/

@media only screen and (max-width: 850px) {
	#news {
	width: 90%;
	display: block;
	margin: 4em auto 8em auto;
}

	#business-menu #inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#business-menu #inner section {
	flex-basis: 45%;
	margin: 2%;
	padding: 1em 0 3em 0;
	border: solid 3px #acd455;
	
}

#tel #inner {
	display: block;
	text-align: center;
	padding: 3em .5em;
}

#ctcp {
	font-size: 20px;
	margin: 0 0 .3em 0;
}

#phone-no {
	font-size: 38px;
	margin-top: .5em;
}

#phone-no::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f87b";
  color: #76c638;
  padding-right: .2em;
}
#fd {
	display: block;
}
#staff {
	display: block;
}
#staff section {
	display: block;
	margin: 2em 0;
}
#photo {
	width: 200px;
	display: block;
	margin: 0 auto 1em auto;
	text-align: center;
}
#prof {
	margin-left: 0em;
}

#name {
	text-align: center;
}
.wp-caption, .alignnone{
	max-width: 100%;
}
}


/* 幅644px以下から ヘッダー等微調節 ------------------------------------------------------------*/

@media only screen and (max-width: 644px) {
	
	.breadcrumbs {
		display: none;
		visibility: hidden;
	}
	h2.cat-tit {
	font-size: 28px;
	position: relative;
	top:-.2em;
}
/*
h2.cat-tit::after {
	position: relative;
	top:.1em;
}
*/

/*
h2.cat-tit::before {
	position: relative;
	top:.1em;
}
*/
#free {
	display: block;
	margin: 0 auto;
	width: 100%;
}


#footer #inner {
	padding: 2em;
}
#fmenu {
	display: block;
}


#ftbt a {
	display: block;
	text-align: center;
	margin: .3em 0 ;
}
#business-menu {
	width: 90%;
	display: block;
	margin: auto;
}
	#business-menu #inner {
	display:  block;
}

.button {
    background-color: #71b116;
    color: #fff;
    line-height: 63px;
    font-size: 18px;

    margin-bottom: .5em;
}


.button span {
	font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 12px;
	font-weight: normal;
	margin-left: 1em;
	position: relative;
	top:-.2em;
}


img.alignright,
    img.alignleft {
        display: block;
        margin: 0 auto 2em auto;
    }
    .alignright,
    .alignleft {
        float: none;
    }

    .breadcrumbs {
        padding: 0em 0 1em 0;
    }
    .br-sp {
        display: none;
    }

    table {
        font-size: 90%;
        line-height: 1.3em;
    }
    span.wpcf7-list-item {
        display: block;
        padding: .6em 0;
    }
    textarea {
        height: auto;
        line-height: 1.5;
        width: 70%;
    }
    input[type="text"],
    textarea {
        width: 70%;
    }
    input[type="tel"],
    textarea {
        width: 70%;
    }
    input[type="email"],
    textarea {
        width: 70%;
    }
    input[type="url"],
    textarea {
        width: 70%;
    }

}