@charset "utf-8";
/* CSS Document */
/*------ロゴ----------------*/
@media screen and (min-width:479px) {
 #header .logo{
     width: 400px;
	 display: block;
     }
}
@media (max-width:479px) {
 #header .logo{
     max-width: 300px;
	 display: block;
     margin: 0 auto;
}
}

/*------レスポンシブカルーセル----------------*/
.carousel-item .img-fluid {
  width:100%;
  height:auto;
}

.carousel-item{
  height: auto;
}

.carousel-item a {
  display: block;
  width:100%;
}

.carousel-item .show-image {
  display: block;
  width:100%;
}


/*------電話番号からスマホだけコール----------------*/
@media (min-width: 751px) {
a[href*="tel:"] {
pointer-events: none;
cursor: default;
text-decoration: none;
}
}
/*------フッター用----------------*/

.ftco-footer {
  font-size: 16px;
  padding: 7em 0;
  background: #574428; }
  .ftco-footer .ftco-footer-logo {
    text-transform: uppercase;
    letter-spacing: .1em; }
  .ftco-footer .ftco-footer-widget h2 {
	font-family: 'M PLUS 1p','Noto Sans SC', "Open Sans", sans-serif;
    color: #fff;
    margin-bottom: 40px;
    font-size: 18px;
    font-weight: 700;
    }
  .ftco-footer .ftco-footer-widget ul li a span {
    color: #fff; }
  .ftco-footer .ftco-footer-widget .btn-primary {
    background: #fff !important;
    border: 2px solid #fff !important; }
    .ftco-footer .ftco-footer-widget .btn-primary:hover {
      background: #fff;
      border: 2px solid #fff !important; }
  .ftco-footer p {
    color: rgba(255, 255, 255, 0.7); }
  .ftco-footer a {
    color: rgba(255, 255, 255, 0.7); }
    .ftco-footer a:hover {
      color: #fff; }
  .ftco-footer .ftco-heading-2 {
    font-size: 17px;
    font-weight: 400;
    color: #000000; }



.ftco {
	color: #fff;
}

/* pagetop */
#pageTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

 

#pageTop i {
  padding-top: 6px
}

 

#pageTop a {
  display: block;
  z-index: 999;
  padding: 12.5px 0 0 3.5px;
  border-radius: 30px;
  width: 50px;
  height: 50px;
  background-color: #7FAD9C;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

 

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.7;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 736px) {
.pc { display: none !important; }
.sp { display: block !important; }
}

/*******************
カードの設定
*******************/


.cp_card02 {
font-size: 14px;
line-height: 1.45em;
position: relative;
overflow: hidden;
height: 200px;
margin: 0 auto 1.6%;
-webkit-transition: height 0.3s ease;
transition: height 0.3s ease;
border-radius: 3px;
background: #ffffff;
-webkit-box-shadow: 0 3px 7px -3px rgba(0, 0, 0, 0.3);
box-shadow: 0 3px 7px -3px rgba(0, 0, 0, 0.3);
}
.cp_card02:hover .details {
left: 0;
}
.cp_card02:hover.alt .details {
right: 0;
}
.cp_card02.alt .details {
right: -100%;
left: inherit;
}
.cp_card02 .photo {
position: relative;
float: left;
width: 40%;
height: 100%;
-webkit-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.cp_card02:hover .photo {
-webkit-transform: rotate(5deg) scale(1.3);
transform: rotate(5deg) scale(1.3);
}
.cp_card02 .photo.photo1 {
background: url("../../images/pic01.jpg") center no-repeat;
background-size: cover;
}
.cp_card02 .photo.photo2 {
background: url("../../images/pic02.jpg") center no-repeat;
background-size: cover;
}
.cp_card02 .photo.photo3 {
background: url("../../images/pic03.jpg") center no-repeat;
background-size: cover;
}
.cp_card02 .photo.photo4 {
background: url("../../images/pic04.jpg") center no-repeat;
background-size: cover;
}
.cp_card02 .details {
position: absolute;
top: 0;
left: -100%;
width: 40%;
height: 200px;
margin: 0;
padding: 10px 15px;
list-style: none;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
color: #ffffff;
background: rgba(255,87,34, 0.4);
}
.cp_card02 .details > li {
padding: 3px 0;
}
.cp_card02 .details li::before,
.cp_card02 .details .tags ul::before {
font-family: FontAwesome;
margin-right: 10px;
vertical-align: middle;
}
.cp_card02 .details .author::before {
content: '\f007';
}
.cp_card02 .details .date::before {
content: '\f133';
}
.cp_card02 .details .tags ul {
margin: 0;
padding: 0;
list-style: none;
}
.cp_card02 .details .tags ul::before {
content: '\f02b';
}
.cp_card02 .details .tags li {
display: inline-block;
margin-right: 3px;
}
.cp_card02 .details a {
color: inherit;
}
.cp_card02 .details a:hover {
color: #ff5722;
}
.cp_card02 .description {
position: relative;
z-index: 0;
float: left;
width: 60%;
padding: 10px;
min-height: 200px;
}
.cp_card02 .description::before {
position: absolute;
z-index: -1;
top: 0;
bottom: 0;
left: -15px;
width: 100%;
content: '';
-webkit-transform: skewX(-8deg);
transform: skewX(-8deg);
background: #ffffff;
}
.cp_card02 .description h1 {
font-size: 1.4em;
line-height: 1em;
margin: 0 0 10px 0;
}
.cp_card02 .description h2 {
font-size: 1em;
line-height: 1.2em;
margin: 1.2% 0;
color: #9b9b9b;
}
.cp_card02 .description p {
position: relative;
margin: 0;
padding-top: 20px;
}
.cp_card02 .description p::after {
position: absolute;
top: 6px;
left: 0;
width: 20%;
height: 6px;
content: '';
background: #ff5722;
}
.cp_card02 .description a {
float: right;
margin-bottom: 10px;
text-decoration: none;
color: #ff5722;
}
.cp_card02 .description a::after {
font-family: FontAwesome;
margin-left: -10px;
content: '\f061';
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
vertical-align: middle;
opacity: 0;
}
.cp_card02 .description a:hover::after {
margin-left: 5px;
opacity: 1;
}
@media screen and (max-width: 480px) {
.cp_card02 .description h1 {
font-size: 1.3em;
}
}
/*/////*/
.cp_card03 {
font-size: 14px;
line-height: 1.45em;
position: relative;
overflow: hidden;

margin: 0 auto 1.6%;
-webkit-transition: height 0.3s ease;
transition: height 0.3s ease;
border-radius: 3px;
background: #ffffff;
-webkit-box-shadow: 0 3px 7px -3px rgba(0, 0, 0, 0.3);
box-shadow: 0 3px 7px -3px rgba(0, 0, 0, 0.3);
}
.cp_card03:hover .details {
left: 0;
}
.cp_card03:hover.alt .details {
right: 0;
}
.cp_card03.alt .details {
right: -100%;
left: inherit;
}
.cp_card03 .photo {
position: relative;
float: left;
width: 40%;
height: 100%;
-webkit-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.cp_card03:hover .photo {
-webkit-transform: rotate(5deg) scale(1.3);
transform: rotate(5deg) scale(1.3);
}
.cp_card03 .photo.photo1 {
background: url("../../images/pic01.jpg") center no-repeat;
background-size: cover;
}
.cp_card03 .photo.photo2 {
background: url("../../images/pic02.jpg") center no-repeat;
background-size: cover;
}
.cp_card03 .photo.photo3 {
background: url("../../images/pic03.jpg") center no-repeat;
background-size: cover;
}
.cp_card03 .photo.photo4 {
background: url("../../images/pic04.jpg") center no-repeat;
background-size: cover;
}
.cp_card03 .details {
position: absolute;
top: 0;
left: -100%;
width: 40%;
height: 200px;
margin: 0;
padding: 10px 15px;
list-style: none;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
color: #ffffff;
background: rgba(255,87,34, 0.4);
}
.cp_card03 .details > li {
padding: 3px 0;
}
.cp_card03 .details li::before,
.cp_card03 .details .tags ul::before {
font-family: FontAwesome;
margin-right: 10px;
vertical-align: middle;
}
.cp_card03 .details .author::before {
content: '\f007';
}
.cp_card03 .details .date::before {
content: '\f133';
}
.cp_card03 .details .tags ul {
margin: 0;
padding: 0;
list-style: none;
}
.cp_card03 .details .tags ul::before {
content: '\f02b';
}
.cp_card03 .details .tags li {
display: inline-block;
margin-right: 3px;
}
.cp_card03 .details a {
color: inherit;
}
.cp_card03 .details a:hover {
color: #ff5722;
}
.cp_card03 .description {
position: relative;
z-index: 0;
float: left;
width: 100%;
padding: 10px;
min-height: 200px;
}
.cp_card03 .description::before {
position: absolute;
z-index: -1;
top: 0;
bottom: 0;
left: -15px;
width: 100%;
content: '';
-webkit-transform: skewX(-8deg);
transform: skewX(-8deg);
background: #ffffff;
}
.cp_card03 .description h1 {
font-size: 1.4em;
line-height: 1em;
margin: 0 0 10px 0;
}
.cp_card03 .description h2 {
font-size: 1em;
line-height: 1.2em;
margin: 1.2% 0;
color: #9b9b9b;
}
.cp_card03 .description p {
position: relative;
margin: 0;
padding-top: 20px;
}
.cp_card03 .description p::after {
position: absolute;
top: 6px;
left: 0;
width: 20%;
height: 6px;
content: '';
background: #ff5722;
}
.cp_card03 .description a {
float: right;
margin-bottom: 10px;
text-decoration: none;
color: #ff5722;
}
.cp_card03 .description a::after {
font-family: FontAwesome;
margin-left: -10px;
content: '\f061';
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
vertical-align: middle;
opacity: 0;
}
.cp_card03 .description a:hover::after {
margin-left: 5px;
opacity: 1;
}
@media screen and (max-width: 480px) {
.cp_card03 .description h1 {
font-size: 1.3em;
}
}

/*アニメーションgifの上の文字設定*/
.text {/*親div*/
  position: relative;/*相対配置*/
  }

.text p {
  position: absolute;/*絶対配置*/
  top: 85%;
  left: 50%;
  -ms-transform: translate(-85%,-50%);
  -webkit-transform: translate(-85%,-50%);
  transform: translate(-85%,-50%);
  margin:0;
  padding:0;
  color: white;/*文字は白に*/
  font-weight: bold; /*太字に*/
  font-size: 1em;/*サイズ2倍*/
  font-family :Quicksand, sans-serif;/*Google Font*/

  }

.text img {
  width: 100%;
  }
/*------行の中での右寄せ、左寄せ----------------*/
.b_comment{
	text-align: center;
	margin: 2em auto;  
 padding: 1em;
 width: 90%; /*幅の調節*/
 color: #666666; /*文字色*/
 background-color: #f7f7f7; /*背景色*/
 border: 2px solid #ccc; /*線の太さ・色*/
 border-radius: 8px; /*角の丸み*/
}
.b_comment p{
	text-align: right
}
*------boxの装飾----------------*/
.box2 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    color: #6091d3;/*文字色*/
    background: #FFF;
    border: solid 3px #6091d3;/*線*/
    border-radius: 10px;/*角の丸み*/
}
.box2 p {
    margin: 0; 
    padding: 0;
}

.endayori {
	position:relative;
    width:100%;
    height:0;
    padding-top:140%;	
}
.endayori iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
