/*
Theme Name: P-VINE
*/



.youtube {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
        margin: 0 0 2em;
}
.youtube iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* slider 
#slide_outer img {
 max-width: 640px;
 width: 100%;
 height: auto;
}
*/


/* form */
.entry__cell {
  position: relative;
  width: 150px;
  z-index: 1;
  background: #ddd;
  padding: 1em;
  margin: 2em auto;
  background: #222;
  color: #FFF;
  border: 1px solid #222;
  border-radius: 10px;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  transition: 0.3s;
}

.entry__cell a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: -999px;
  z-index: 2;
  
}

.cell__h {
  font-size: 0.9rem;
  line-height: 0;
  color: #fff;
  margin: 18px 0;
  text-align: center;
}

/*
.cell__h:before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 4px 3px 0;
  background-image: url('http://p-vine.jp/wp-content/uploads/2018/12/arrow-01.png');
  background-size: contain;
  vertical-align: middle;
}
*/

.entry__cell:hover {
  background: #fff;
  color: #222;
}

.entry__cell:hover > .cell__h {
  color: #222;
}





/*一層目*/
.grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 2em;
}

.grid__cell {
  position: relative;
  z-index: 1;
  background: #ddd;
  padding: 3em;
  flex: 1 0 200px;
  margin: 0.4em;
  background: #222;
  color: #FFF;
  border: 1px solid #222;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  transition: 0.3s;
}

.grid__cell a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: -999px;
  z-index: 2;
  
}

.cell__h {
  color: #fff;
  margin: 10px 0;
  text-align: center;
}

.grid__cell:hover {
  background: #fff;
  color: #222;
}

.grid__cell:hover > .cell__h {
  color: #222;
}

.mgr-10 {
  margin-right:10px;
}




.tile {
  display: flex;
  flex-wrap: wrap; /* 折り返すために必要 */
  margin: -15px; /* タイルの余白が外部に影響しないよう、相殺 */
}
.tile__item {
  width: 50%;
  padding: 15px; /* タイルの余白 */
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.tile__item a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: -999px;
  z-index: 2;
}

.__item_btn {
  background: #222;
  color: #FFF;
  border: 1px solid #222;
  border-radius: 4px;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  transition: 0.3s;
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  letter-spacing: 0.2em;
}

.__item_btn:hover {
  background: #fff;
  color: #222;
}



.form-require-head {
	margin: 10px 0 5px;
	font-size: 16px;
}

.form-require-text {
	margin: 0 0 20px; 0;
	line-height: 1.8;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
	background-color: #fff;
	color: #333;
	width: 98%;
	border: 1px solid #ddd;
	font-size: 100%;
	padding: 0.5em;
	border-radius: 4px;
	box-shadow: 1px 1px 3px rgba(0,0,0,.1) inset;
}

.wpcf7 .asterisk {
	margin: 0 0 0 0.2em;
	color: #f5637a;
}

.wpcf7 .item-head {
	margin: 0;
	font-size: 14px;
	font-weight: normal;
}

.wpcf7 .item-box {
	margin: 0 0 20px 0;
}

.wpcf7 .agree-head {
  font-size: 14px;
  font-weight: normal;
  margin: 0 0 10px 0;
}

.wpcf7 input[type="submit"] {
	width: 150px;
	height: 30px;
	background: #222;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #222;
	border-radius: 4px;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;
}

.wpcf7 input[type="submit"]:hover {
	background: #fff;
	color: #222;
}

.wpcf7 .agree-box {
  padding: 10px;
  border: solid 1px #d6d6d6;
  height: 100px;
  overflow: auto;
}

.wpcf7 .agree-text {
	margin: 0;
}

.wpcf7 .agree-check {
	margin: 6px 0 12px -5px;
}

}

