/* カスタム CSS をここに入力してください */

.ytyamaya-bide{
  padding:5% 12% 0% 12%;
}

.ytyamaya-top{
  margin-top: 20px;
}

.ytyamaya-top2 {
  	-webkit-filter: grayscale(0%);
	filter: none;
}
.ytyamaya-top2:hover {
  	-webkit-filter: grayscale(100%);
	filter: url("data:image/svg+xml;utf8,#grayscale");
	filter: grayscale(100%);
}
/*--------------------------------------------------------------
見出し
--------------------------------------------------------------*/

.title-post {
position: relative;/*相対位置*/
padding: 0.5em 0.5em 0.5em 1.5em;/*アイコン分のスペース*/
line-height: 1.4;/*行高*/
color: #fff;/*文字色*/
border-top: dotted 1px gray;
border-bottom: dotted 1px gray;
background: #d8871c;
}

.title-post:before {
    content: '';
    height: 110%;
    width: 3px;
    display:  block;
    position:  absolute;
    left: 14px;
    top: -3px;
    margin:  auto;
    background-color:  #fff;
    transform: rotate(3deg);
}
.title-post:after {
    content: '';
    height: 116%;
    width: 3px;
    display:  block;
    position:  absolute;
    left: 14px;
    top: -6px;
    margin:  auto;
    background-color:  #fff;
    transform: rotate(-15deg);
}

/*--------------------------------------------------------------
サイドバー
--------------------------------------------------------------*/
.saido-koukoku {
  background-color: #019e97;
  padding:15px 5px;
  color: #fff;
  font-size: 13px;
}

/*--------------------------------------------------------------
ヘッダー横の広告
--------------------------------------------------------------*/
.ad-header-widget {
    position: fixed;
    right: 0%;
    width: 80px;
    height: 350px;
    top: 0px;
}
@media screen and (max-width: 1120px){
    .ad-header-widget { display:none;}
}
/* branding内の指定 */
#branding hgroup {
    margin: 0 7.6%;
    width: 48%; /* 横幅を48%まで狭めました */
    float: left;
}
#branding address {
    float: right;
    width: 26.8%; /* 横幅を26.8%まで広げました */
    margin-right: 7.6%; /* バランスを整えるために右マージンを追記 */
    padding-top: 3.65625em;
}

/* サイトタイトルと補足説明のマージンを変更 */
#site-title {
    margin-right: 70px; /* デフォルトは270pxでしたが、70pxに */
    padding: 3.65625em 0 0;
}
#site-description {
    color: #7a7a7a;
    font-size: 14px;
    margin: 0 70px 3.65625em 0; /* 右マージンのデフォルトは270pxでしたが、70pxに */
}

/* 以下を追記（クラス名はheader.phpと合わせてお好みで変更してください） */
.address {
    font-size: small;
}
.tel {
    font-size: xx-large;
    text-shadow: 1px 0px 2px #666666;
}
.hours {
    font-size: small;
}
.contact {
    margin-top: .5em;
    text-align: center;
}
.contact a {
    display: block;
    /* ボタンジェネレーターで作成したソースコード */
    color: #ffffff;
    font-size: large;
    padding: 10px;
    text-decoration: none;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-box-shadow: 0px 1px 2px #666666;
    -moz-box-shadow: 0px 1px 2px #666666;
    text-shadow: 1px 1px 3px #666666;
    border: solid #cacbcc 1px;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#42aaff), to(#003366));
    background: -moz-linear-gradient(top, #42aaff, #003366);
}

.contact a:hover {
    background: #42aaff;
    /* ボタンジェネレーターで作成したソースコードここまで */
}

/*--------------------------------------------------------------
ボタン
--------------------------------------------------------------*/
.botan-12 a{
 display:block;
width: 100%;
background-color:#d8871c;
border:1px solid #00171F;
padding: 0.25em 0.5em;
color: #fff;
font-size: 18px;
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
}

 /* 以下マウスを載せたときのスタイル */
.botan-12  a:hover { background-color: #333;
 color:#fff; }

.post-10 {
    overflow: hidden;
    margin-left: 0px;
    margin-right: 0px;    
}
@media screen and (max-width:450px){
.post-10 {
    overflow: hidden;
    margin-left: -15px;
    margin-right: -15px;    
}
	}
/*--------------------------------------------------------------
見出し
--------------------------------------------------------------*/
.h2-midasi {
padding: 0.25em 0.5em;/*上下 左右の余白*/
color: #494949;/*文字色*/
background: transparent;/*背景透明に*/
border-left: solid 5px #d8871c;/*左線*/
background-color: #44ae15;
}

.h2-midasi-siro {
padding: 0.25em 0.5em;/*上下 左右の余白*/
color: #fff;/*文字色*/
background: transparent;/*背景透明に*/
background-color: #44ae15;
border-radius: 30px;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
font-size: 12px;
}

.h2-midasi-kuro {
padding: 0.25em 0.5em;/*上下 左右の余白*/
color: #fff;/*文字色*/
background: transparent;/*背景透明に*/
background-color: #000;
border-radius: 30px;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
font-size: 12px;
}


.gazouwaku {
border: solid 5px #fff;/*左線*/
}
/*--------------------------------------------------------------
カラム
--------------------------------------------------------------*/
.menyu {
     width:49%;
     padding:1%;
     margin-right: 1%;
     float:left;
     box-sizing :border-box;
  }

.footer-pl {
     height: 0;
    /* 表示画像の高さ ÷ 表示画像の幅 × 100 */
    padding-top: 18.229166666%;
    background: url('https://ma-jyanclub-kerun-nisio.com/wp-content/uploads/2018/09/大三元.jpg') 0 0 no-repeat;
    background-size: contain;
}

.footer-nav ul li{ 	
    display: inline;
 } 
.nkanaka {
  text-align: center;
}

.nkanaka ul{
    padding: 0px; 	
    margin: 0px;
} 

.nkanaka ul li {
    display: inline; 	
    margin-right: 1em;
}

.footer-widgets {
    padding:30px;
}

.clear {
    clear:both;　/*floatの解除、ここがポイント*/
}
/*--------------------------------------------------------------
ブログ
--------------------------------------------------------------*/
.new {
position: absolute;
top:0px;
left:0px;
}

.news22 {
	background: #f9575b;
  color: #fff;
width: 150px;
text-align: center;
font-size: 12px;
float:left;
margin: 0px 10px;
box-sizing :border-box;
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
}

.blog22{
	background: #0b6bb5;
  color: #fff;
width: 150px;
text-align: center;
font-size: 12px;
float:left;
margin: 0px 10px;
box-sizing :border-box;
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
}

.osirase22{
	background: #1bd124;
  color: #fff;
width: 150px;
text-align: center;
font-size: 12px;
float:left;
margin: 0px 10px;
box-sizing :border-box;
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
}

.pp-post5 {
  padding: -10px 10px;
  border-bottom: dashed 1px #ccc;
    }
.pp-post5:hover  {
  background-color: #f7f7f7;
    }

.pp-post-meta5 {
font-size: 12px;
     float:left;
  margin: 0px 10px;
     box-sizing :border-box;
}
.pp-post-meta5 {
font-size: 12px;
}

.pp-post-title5 {
  border-bottom: none;
  font-size: 16px;
  }
.pp-post-title5 a{
  color: #333;
  }
@media screen and (max-width:1200px){
   .maintitle2 {
		position: absolute;
		display: inline-block;
		font-size: 4vw;
		line-height: 67px;
		font-weight: 700;
		top: 35%; 
   left: 50%;
	transform: translate(-50%, -50%);
		padding-bottom: 10px;
   text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
	}
  .ytyamaya-bide{
  padding: 0%;
}
	}
@media screen and (max-width:725px){
  .pp-categori99 {
background-color: #333;
color: #fff;
width: 150px;
text-align: center;
font-size: 12px;
     float:none;
  margin: 0px 10px;
     box-sizing :border-box;
  }
      .btn-menu {
        background-color: #f83d0b;
        border-radius: 10px;
        position: absolute;
        right: 10%;
        width: 50px;
        height: 50px;
        top: -70px;
  }
   .maintitle2 {
		position: absolute;
		display: inline-block;
		font-size: 4vw;
		line-height: 67px;
		font-weight: 700;
		top: 33%; 
   left: 50%;
	transform: translate(-50%, -50%);
		padding-bottom: 10px;
   text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
	}
  .pp-post-meta5 {
font-size: 12px;
     float: none;
  margin: 0px 10px;
     box-sizing :border-box;
}
    .post-10 {
    overflow: hidden;
    margin-left: -30px;
    margin-right: -30px;  
  }
  .mainnav-botan {
margin-top: 5px; 
padding-right: 10px;
padding-left: 10px; 
border-right: solid 1px transparent;
}
.mainnav-botan2 {
margin-top: 5px; 
padding-right: 10px;
padding-left: 10px; 
border-right: solid 1px transparent;
border-left: solid 1px transparent;
}
  }
@media screen and (min-width:725px){	
  .br-pc { display:none; }
}
/*--------------------------------------------------------------
ＪＳ
--------------------------------------------------------------*/

figure.snip1353 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  float: left;
  overflow: hidden;
  margin: 10px 1%;
  min-width: 100%;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  color: #000;
  text-align: center;
  border: solid 3px #d8871c;
}
figure.snip1353 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
figure.snip1353 img {
  opacity: 1;
  width: 100%;
}
figure.snip1353:after,
figure.snip1353:before {
  background: #ffffff;
  width: 200%;
  height: 200%;
  position: absolute;
  content: '';
  opacity: 0.5;
  -webkit-transition: all 0.55s ease-in-out;
  transition: all 0.55s ease-in-out;
  z-index: 1;
}
figure.snip1353:after {
  top: 0;
  left: 0;
  -webkit-transform: skew(-45deg) translateX(-150%);
  transform: skew(-45deg) translateX(-150%);
}
figure.snip1353:before {
  right: 0;
  bottom: 0;
  -webkit-transform: skew(-45deg) translateX(150%);
  transform: skew(-45deg) translateX(150%);
}
figure.snip1353 figcaption {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 2;
}
figure.snip1353 h2,
figure.snip1353 p {
  margin: 0;
  width: 100%;
  opacity: 0;
}
figure.snip1353 h2 {
  padding: 0 30px;
  font-weight: 400;
  text-transform: uppercase;
}
figure.snip1353 p {
  padding: 0 50px;
  font-size: 0.8em;
  font-weight: 500;
}
figure.snip1353 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 2;
}
figure.snip1353:hover img,
figure.snip1353.hover img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}
figure.snip1353:hover:after,
figure.snip1353.hover:after {
  -webkit-transform: skew(-45deg) translateX(-50%);
  transform: skew(-45deg) translateX(-50%);
}
figure.snip1353:hover:before,
figure.snip1353.hover:before {
  -webkit-transform: skew(-45deg) translateX(50%);
  transform: skew(-45deg) translateX(50%);
}
figure.snip1353:hover figcaption h2,
figure.snip1353.hover figcaption h2,
figure.snip1353:hover figcaption p,
figure.snip1353.hover figcaption p {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
figure.snip1353:hover figcaption h2,
figure.snip1353.hover figcaption h2 {
  opacity: 1;
}
figure.snip1353:hover figcaption p,
figure.snip1353.hover figcaption p {
  opacity: 0.7;
}

/*--------------------------------------------------------------
お問い合わせ
--------------------------------------------------------------*/

.sukurou {
  overflow: scroll;   /* スクロール表示 */ 
  width: 100%;
  height: 150px;
  background-color: #fff;
  border: 1px solid #333;
}
.sukurou {
  padding: 5px;
  margin-top: 30px;
  }

.otoi9 {
	border: 1px solid #ccc;
   background-color: #fff;
  width: 100%;
  height: autopx;
  text-align: left;
    bottom: 0;
    left: 0;
    right: 0;
　　margin:auto;
}

.otoi8 {
  padding-left: 45%;
  padding-top: 30px;
  text-align: left;
    bottom: 0;
    left: 0;
    right: 0;
　　margin:auto;
}
.otoi10 {
  background-color: #ff0000;
  color: #fff;
  padding: 5px;
  font-size: 12px;
}
.form-width { max-width: 100%;}

.yokoyoko {width: 30%;}
.yokoyoko2 {width: 70%;}

@media screen and (max-width: 768px) {
    .table-sp,
    .table-sp tbody,
    .table-sp thead,
    .table-sp tr,
    .table-sp td,
    .table-sp th {display:block;}
 
    .table-sp th {width:auto;}
  .yokoyoko {width: 100%;}
.yokoyoko2 {width: 100%;}
}
