@charset "utf-8";
	

/*写真の上にテキスト１つ１列設定bussan1-brown
---------------------------------------------------------------------------*/
/*写真を１つ*/

.photo-max {
	position: relative;
	float: left;	/*左に回り込み*/
	width: 100%;	/*幅*/
	}
	
	.photo-max img {
	width: 100%;	/*幅*/
	}
	
	.photo-max a:hover img {
	opacity: 0.8;	/*マウスオン時に80%の透明度にする*/
	}
	
/*photoボックス内の段落(p)タグ*/
.photo-max h4 {
	padding: 5px 0 !important;	/*上下、左右への段落タグ内の余白*/
	position: absolute;
	bottom: 30%;	/*photoボックスの下から0pxの場所に配置*/
	width: 100%;	/*幅*/
	background: #fff;	/*背景色（古いブラウザ用）*/
	background: rgba(255,255,255,0.7);	/*背景色。0,0,0は黒の事で0.5は50%色がついた状態のこと*/
	color: #6b6351;	/*文字色*/	/*文字色黒ロゴの色に統一する*/
	text-align: center;	/*文字をセンタリング*/
	font-size: 18px;
}
.photo-max p {
	width: 100%;	/*幅*/
	color: #be8a3a;	/*文字色*/
}	


/*不動産１５画像切り替え（imgchg_pack.js）※アクセスなど。
---------------------------------------------------------------------------*/
/*大きな画像のボックスと説明文を入れるボックス*/
#item-image {
	position: relative;
	margin: 0 auto;
	width: 80%;	/*画像の幅*/
}
/*大きな画像の１行目*/
#item-image #item_image1 {
	z-index:2;
	position:relative;
	overflow:hidden;
	width: 100%;
}
/*大きな画像の２行目*/
#item-image #item_image2 {
	z-index:1;
	position:absolute;
	left:0px;
	top:0px;
	overflow:hidden;
}
/*サムネイル画像*/
.thumbnail-chgpack {
	width: 80px;	/*画像の幅*/
	height: 80px;	/*画像の高さ*/
	border: 1px solid #dcdcdc;	/*枠線の幅、線種、色*/
	margin-bottom: 15px;
}
.thumbnail-chgpack:hover {
	border: 1px solid #999;	/*マウスオン時の枠線の幅、線種、色*/
}



/*ボックス内の写真 */
.photo-maru {
	width: 300px;		/*画像幅*/height: 300px;
	object-fit: cover;	/* この一行を追加するだけ！ */	
border-radius: 50%;		/*角丸の指定*/
}

/*写真の加工専用。全style-photo端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*白フチの枠TPクリニック３より
---------------------------------------------------------------------------*/
.photo {padding: 10px;background: #fff;border: 5px solid #fff;box-shadow: 2px 4px 5px rgba(0,0,0,0.2);}


/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){
.photo {padding: 5px;border: 2px solid #fff;}
}


  
  /*bloom風アレンジ設定（スライダーXホバー拡大回転＋タブ）
  ---------------------------------------------------------------------------*/
  .cp_imghover {
    overflow: hidden;
    width: 320px;
    height: 320px;
    margin: 20px auto;
    border: 10px solid #ffffff;
    box-shadow: 0 0 5px #cccccc;
    cursor: pointer;
  }



/*zoomin*/
.cp_zoomin img {
	width: 400px;
	height: 400px;
	-webkit-transition: all 1s ease;
	transition: all 1s ease;
}
.cp_zoomin img:hover {
	-webkit-transform: scale(1.5,1.5);
	transform: scale(1.5,1.5);
}


/*Rotate*/
.cp_rotate img {
	-webkit-transform: rotate(15deg) scale(1.4);
	transform: rotate(15deg) scale(1.4);
	-webkit-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
}
.cp_rotate img:hover {
	-webkit-transform: rotate(0) scale(1);
	transform: rotate(0) scale(1);
}



  /* ポラロイド風CSS ファイルposition: relative */

  .polaroid {
    width: 450px;
    margin: 40px;
  }
   
  .polaroid img {
    border: 10px solid #fff;
    border-bottom: 80px solid #fff;
    -webkit-box-shadow: 3px 3px 3px #777;
       -moz-box-shadow: 3px 3px 3px #777;
            box-shadow: 3px 3px 3px #777;
  }
  
  .polaroid p {
    position: absolute;z-index: 10;
    text-align: center; 
    font-size: 22px;
    width: 100%;
    bottom: 50px;
    font: 400 18px/1 'Kaushan Script', cursive;
    color: #888;
  }
  /*ポラロイド風ファイル影の引用、少しの回転、そして角を微妙に丸く */
  .polaroid {
        -webkit-transform: rotate(-5deg) translate(-5px);
      transform: rotate(-5deg) translate(-5px);
  }
 

  /*ここから写真効果下陰の設定*/
  .shadow11{
    position: relative;
    display: block;
    width: 320px; /* 画像の横幅 */
    margin: 0 auto;
    z-index: 1;
  }
  .shadow11:before{
    content: "";
    position: absolute;
    bottom: 6px;
    left: 18px;
    width: 50%;
    box-shadow: 0 0 4px 8px rgba(0,0,0,0.6);
    z-index: -1;
    transform:rotate(-3deg)
  }
  .shadow11:after{
    content: "";
    position: absolute;
    bottom: 6px;
    right: 18px;
    width: 50%;
    box-shadow: 0 0 4px 8px rgba(0,0,0,0.6);
    z-index: -1;
    transform:rotate(3deg)
  }
 /*ここから写真効果の設定ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
  

/*額っぽい感じの中の写真フィルター効果設定*/
  
/*
  セピアっぽくなる写真設定*/
  .filter01:after {
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
    background: -moz-linear-gradient(to right bottom, rgba(107, 84, 12, 0.5) 0%, rgba(248, 212, 119, 0.18) 50%,rgba(104, 107, 70, 0.7) 100%);; /* FF3.6+ */
    background: -webkit-linear-gradient(to right bottom, rgba(107, 84, 12, 0.5) 0%, rgba(248, 212, 119, 0.18) 50%,rgba(104, 107, 70, 0.7) 100%);; /* Chrome10+,Safari5.1+ */
    background: -ms-linear-gradient(to right bottom, rgba(107, 84, 12, 0.5) 0%, rgba(248, 212, 119, 0.18) 50%,rgba(104, 107, 70, 0.7) 100%);; /* IE10+ */
    background: linear-gradient(to right bottom, rgba(107, 84, 12, 0.5) 0%, rgba(248, 212, 119, 0.18) 50%,rgba(104, 107, 70, 0.7) 100%); /* W3C */
  }/*白がすみ写真設定きいていない*/
  .filter02:after {
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
    background: -webkit-gradient(radial, center center, 0, center center, 400, from(rgba(255, 255, 255, 0)), to(rgba(255,255,255,1)));
    background: -moz-radial-gradient(rgba(255, 255, 255, 0) 0%, rgba(255,255,255,1) 150%);
    background: radial-gradient(rgba(255, 255, 255, 0) 0%, rgba(255,255,255,1) 150%);
  }
  
  
  /*白枠写真。設定.img01.waku03.shadow-photoのいつもセットこれPHOTO と同じにできるphoto2？*/
  .img01.waku03 {
    border: 10px solid #fff;
    box-shadow: 0 0 0 1px #ccc,1px 3px 8px 0 rgba(40,40,40,0.3);
  }
  .img01 {
    max-width:500px; background:#ffffff;
    margin:0 auto;
    box-sizing:border-box;/* borderとpaddingをwidthに含める */
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -ms-box-sizing:border-box;
  }
  .img01 img {
    width:100%;
    height:auto;
    vertical-align:top;
  }
.waku03.shadow-photo {
  box-shadow: 1px 3px 8px rgba(20,20,20,0.3);
}
.waku03.shadow-photo:before {
  box-shadow: inset 1px 1px 6px 0px rgba(0,0,0,0.4),
        -1px -1px 2px rgba(40,40,40,0.2),
        1px 1px 2px rgba(255,255,255,1);  
}

/*白枠写真。設定.img01.waku03.shadow-photoのいつもセットこれPHOTO と同じにできるphoto2ここまで？*/




  /*写真風にして、右上がりすこし傾けたりしてみます。設定*/
  .waku03.rotate01 {
    -moz-transform:rotate(-3deg);
    -webkit-transform:rotate(-3deg);
    -ms-transform:rotate(-3deg);
    transform:rotate(-3deg);
  }
  /*写真風にして、右下がりすこし傾けたりしてみます。設定*/
  .waku03.rotate02 {
    -moz-transform:rotate(1deg);
    -webkit-transform:rotate(1deg);
    -ms-transform:rotate(1deg);
    transform:rotate(1deg);
  }/*ここから写真効果の設定ここまで＠＠＠＠＠＠＠＠＠＠＠＠＠＠＠＠＠＠＠＠＠＠＠＠＠＠＠＠*/
 


/*div 写真に文字*/
.onphoto {
    /*h2タグ*/
      clear: both;margin-bottom: 20px;
      padding: 10px 20px;	/*上下、左右への見出し内の余白*/
      border-bottom: 5px solid #e99383;		/*下線の幅、線種、色の設定*/
      background: #fff url("https://creme-cremes.com/components/images/framekokuban-min.png") no-repeat center center;	/*背景色、背景画像の読み込み、リピートしない＆中央＆上下中央に表示*/
      color: #fff;		/*文字色*/
      font-size: 20px;	/*文字サイズ*/
      text-align: center;
    } 


/*tp-cafe16好きな場所に動画もうひとつののやり方ビデオの上にコンテンツ再生istブロック（意外とシンプル）
---------------------------------------------------------------------------*/
video{
	position: fixed;
	right: 0;
  bottom: 0;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -100;
   background: url(https://creme-cremes.com/school/sweets/images/strawberry-short-cake3-min.jpg) no-repeat;
   
	background-size: cover;
   }
 

/*画面幅480px以下の設定/*
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){
	
video{
 
	top: 0px;
  width: 340px;
	height: auto;
} }


/*詳細ページのサムネイル切り替えブロック/tp_biz62/
---------------------------------------------------------------------------*/
/*大きな画像が表示されるブロック*/
.thumbnail-view-parts {
	max-width: 1000px;		/*最大幅*/
	margin: 0 auto 1rem;	/*ブロック要素を中央に配置。下に1文字分のマージンをとる。*/
	text-align: center;		/*画像が小さい場合でもセンタリングされるように*/
}

/*サムネイル全体を囲むブロック*/
.thumbnail-parts {
	display: flex;				/*flexを使う指定*/
	justify-content: center;	/*並びかたの種類の指定。これはセンタリングする指定。*/
	margin-bottom: 2rem;		/*下に空けるスペース。２文字分。*/
}

/*サムネイル画像*/
.thumbnail-parts img {
	width: 100px;		/*サムネイルの幅*/
	margin: 2px;		/*サムネイル間のスペース*/
	cursor: pointer;	/*リンクタグではないが、クリックできる事をわかりやすくする為にリンクと同じポインターにしておきます。*/
	transition: 0.3s;	/*マウスオンまでにかける時間。3秒。*/
}
.thumbnail-parts img:hover {
	opacity: 0.8;	/*マウスオン時に80%だけ色を出す。つまり薄くなります。*/
}

