/*
Welcome to Custom CSS!

To learn how this works, see https://wp.me/PEmnE-Bt
*/
.primary {
	margin: 0px;
}

.home-title {
	text-shadow: 2px 2px 6px #111111;
}

.subtitle {
	text-shadow: 2px 2px 6px #111111;
}

.post-629 .entry-title{
	display: none;
	margin-bottom: 0px;
}


.post-629 .wp-block-cover {
	text-shadow: 2px 2px 6px #111111;
}



.wp-block-latest-posts{
 padding-bottom: 100px;
	align-content: center;	
}


.menu-items  {
	position: relative;
	opacity: 1;
	transition: .5s ease;
	cursor: pointer;
	margin: auto;
  display: block;
	z-index: 1;
  width: 100%;
  max-width: 700px;
}

.associated-logos{
	max-height: 480px; 
}
.JACPLogo{
	margin-bottom:auto !important; 
}

.profile-image {
	position: relative;
	opacity: 1;
	transition: .5s ease;
	cursor: pointer;
	margin: auto;
  display: block;
	z-index: 1;
  width: 100%;
  max-width: 700px;
}

.profile-image-maki {
	position: relative;
	opacity: 1;
	transition: .5s ease;
	cursor: pointer;
	margin: auto;
  display: block;
	z-index: 1;
  width: 100%;
  max-width: 700px;
}

@media only screen and (min-width:768px) {
.profile-image figcaption {
	opacity: 0;
	position: absolute;
	bottom: 0;
	width: 100%;
	line-height: 1.5em;
font-size: 80%;
	z-index: 1;
	background: rgba(255, 255, 255, 0.7);
	color: #000;
	font-size: 15px;
	transition: all 500ms ease-in-out;
	-webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
}

.profile-image-maki figcaption {
	opacity: 0;
	position: absolute;
	bottom: 0;
	width: 100%;
	max-width: 247px;
	line-height: 1.5em;
font-size: 80%;
	z-index: 1;
	background: rgba(255, 255, 255, 0.7);
	color: #000;
	font-size: 15px;
	transition: all 500ms ease-in-out;
	-webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
}
}
.menu-items  figcaption { 
	opacity: 1;
	position: absolute;
	bottom: 0;
	width: 100%;
	line-height: 1.5em;
font-size: 80%;
	letter-spacing: -0.1em;
	z-index: 1;
	background: rgba(255, 255, 255, 0.7);
	color: #fff;
	
	padding-left: 5px;
	padding-right: 5px; 
	transition: all 500ms ease-in-out;
	-webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
}


@media only screen and (min-width:768px) {
	.profile-image:hover figcaption 
{
	opacity: 1;
	z-index: 1;
}

.profile-image:hover {
	opacity: 1;
	z-index: 1;
	transform: scale(1.1,1.1);
}

.profile-image-maki:hover figcaption 
{
	opacity: 1;
	z-index: 1;
}

.profile-image-maki:hover {
	opacity: 1;
	z-index: 1;
	transform: scale(1.1,1.1);
}
}

.menu-items:hover {
	opacity: 1;
	z-index: 1;
	transform: scale(1.1,1.1);
}


@media only screen and (max-width: 768px) 
{
		.post-2780 h1.entry-title {
		font-size: 7.0vw !important;
		}
			.post-2780 h4.pisa-subtitle {
		font-size: 5.0vw !important;
		}
			.post-2780 .price-chart {
		font-size: 5.0vw !important;
		}
			.post-451 h1.entry-title {
		font-size: 7.0vw !important;
		}
	
  h3.header2 {
    font-size: 25px;
  }
	p.azabudai_engname{
		font-size: 9px;
	}
	h3.header3{
		font-size: 21px;
	}
	h3.header4{
		font-size:25px;
	}
	.doctor-banner
{
  min-height: 1px !important;
	}
	.post-451.h1.entry-header
	{
		font-size: 25px !important;
	}
	
	.azabudaiheader
	{
		margin: 0px !important;
	}

　.table-text
	{
		margin-bottom: 0px !important;
	}
	
		.penn-dental-box img	{ 
		max-width: 70% !important;
		height: auto; 
		margin-bottom: 0px !important;
    display: block;
margin-left: auto;
margin-right: auto;	}

}


/*mobile menu popup control*/

@media screen and (max-width: 768px) {
  .menu-item-has-children .sub-menu {
    display: none !important;
  }
}

