@charset "utf-8";

.bgDU{
	position:relative;/*テキストの基点となる位置を定義*/
}

.bgDU span.mask{
	position:relative;/*背景色の基点となる位置を定義*/
    display: block;
    line-height: 0;/*行の高さを0にする*/
    overflow: hidden;/*拡大してはみ出る要素を隠す*/
}

.bgDU span.mask::before{
	content:"";
	position: absolute;
	z-index: 2;
	left:0;
	top:0;
	opacity:0;/*透過0*/
	transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
    transform: translateY(100%);
	background:#7B2800;/*背景色*/
	width:100%;
	height: 100%; 
}

.bgDU:hover span.mask::before{/*hoverした時の変化*/
	opacity:1;/*透過なしに変化*/
	transform: translateY(0);
}

.bgDU span.cap{/*画像の上のテキスト*/
	position: absolute;
	opacity:0;/*透過0*/
	transition: .5s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
	z-index:3;/*テキストを前面に出す*/
	top: 50%;
	left: 16%;
	transform: translate(-8%,-50%);/*テキストの位置中央指定*/
	color: #fff;/*テキストの色を変えたい場合はここを修正*/
	line-height: 1.7;/*行の高さを1.5にする*/
	font-size: 17px;
}

.bgDU:hover span.cap{/*hoverした時の変化*/
  opacity:1;/*透過なしに変化*/
}

/*========= レイアウトのためのCSS ===============*/

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

.bgDU{
	width:31%;
	text-align: center;
}

/*========丸がボタンに変形する========*/

.btntransform{
    /*丸の基点とするためrelativeを指定*/
  position: relative;
    /*ボタンの形状*/  
    display: inline-block;
  padding:0 0 0 15px;
  line-height: 82px;
    color: #333;
    text-decoration: none;
    outline: none;
}

.btntransform{
	font-size: 34px;
	font-weight: 700;
	color: #7B2800;
	margin-top: 40px;/*20*/
	text-align: center;
}

/* 丸が動く */
.btntransform::before{
  content:'';
    /*絶対配置で丸の位置を決める*/
  position:absolute;
  left:0;
  z-index: -1;
    /*丸の形状*/
  width:84px;
  height:84px;
  background:#E9D7CB;/*ccc*/
  border-radius:42px;
    /*アニメーションの指定*/
    transition:.2s ease-out;
}

/*hoverした際の形状*/
.btntransform:hover::before{
  width:500px;/*212*/
}

/* ==================ボタン===================== */

.shopImg {
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}


@media screen and (max-width: 767.98px){ /*768-992*/


.bgDU{
	width:87%;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;	
	/*display: flex;
	justify-content: center;
	align-items: center;*/
}

.bgDU span.cap{/*画像の上のテキスト*/
	position: absolute;
	opacity:0;/*透過0*/
	transition: .5s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
	z-index:3;/*テキストを前面に出す*/
	top: 50%;
	right: 0%;
	/*left: 19%;/*16%*/
	/*transform: translate(10%,-50%);/*テキストの位置中央指定*/
	color: #fff;/*テキストの色を変えたい場合はここを修正*/
	line-height: 1.7;/*行の高さを1.5にする*/
	font-size: 88%;
	text-align: center;
}


/*========丸がボタンに変形する========*/

.btntransform{
    /*丸の基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/  
    display: inline-block;
	padding:0 0 0 10px;
	line-height: 34px;
    color: #333;
    text-decoration: none;
    outline: none;
}

.btntransform{
	font-size: 16px;
	font-weight: 700;
	color: #7B2800;
	margin-top: 20px;/*20*/
	text-align: center;
	letter-spacing: -0.1em;
}

/* 丸が動く */
.btntransform::before{
  content:'';
    /*絶対配置で丸の位置を決める*/
  position:absolute;
  left:0;
  z-index: -1;
    /*丸の形状*/
  width:34px;
  height:34px;
  background:#E9D7CB;/*ccc*/
  border-radius:42px;
    /*アニメーションの指定*/
    transition:.2s ease-out;
}

/*hoverした際の形状*/
.btntransform:hover::before{
  width:106%;/*212*/
}

/* ==================ボタン===================== */

.shopImg {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}


}






