/*
 Theme Name:   OnePress Child
 Theme URI:    https://www.famethemes.com
 Description:  OnePress sample child theme
 Author:       FameThemes
 Author URI:   https://www.famethemes.com
 Template:     onepress
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  onepress-child
*/

/* Add your custom css below
-------------------------------------------------------------- */

/* ニュースのキャプチャ画像の位置、サイズ調整*/
div.list-article-thumb a{
	display: block;
	height: 150px;
	width: 300px;
	padding: 5px;
}

div.list-article-thumb a img{
	object-fit: contain;
	margin: auto;
	height: 100%;
	width: 100%;
}

/* DTSロゴ配置の微調整 */
.custom-logo{
	margin-bottom: 10px
}

/*問い合わせページのお問い合わせボタンの位置を微調整*/
.wp-block-button.has-custom-width.wp-block-button__width-100{
	padding-bottom: 15px;
}

/* 画像キャプションを中央寄せにする処理 */
.wp-block-image figcaption {
	text-align: center;
}

/*製品紹介ページの製品画像をインタラクティブに設定*/
.production-image img{
  width: 100%;
  cursor: pointer;
  transition-duration: 0.5s;
}

.production-image:hover{
  transform: translateY(-5px) scale(0.9);
  transition-duration: 0.5s;
	border-radius: 3%;
}

.production-image:hover img{
  opacity: 0.6;
  transition-duration: 0.3s;
}

/*Request a Demoのボタンデザインを変更*/
.btn.btn-theme-primary.btn-lg {
  margin-top: 20px;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  background: #FFFAFA;
  padding: 18px 30px;
  position: relative;
  z-index: 1;
  transition: 1.4s;
}
.btn.btn-theme-primary.btn-lg::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: #CC0000;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease .3s;
}
.btn.btn-theme-primary.btn-lg:hover {
  color: #fff;
}
.btn.btn-theme-primary.btn-lg:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

/*お問い合わせのメールボタンをインタラクティブに設定*/
.contact-email-image img{
  cursor: pointer;
  transition-duration: 0.3s;
}

.contact-email-image:hover{
  transform: scale(1.1);
  transition-duration: 0.3s;
}

.contact-email-image:hover img{
  opacity: 0.8;
  transition-duration: 0.3s;
}

/***** トップページスライダータイトルの文字サイズ *****/
@media screen and (min-width: 940px){
h2.hero-large-text {
	font-size: 30px;
}

#masthead{
 		box-sizing: content-box;
}
	
.site-brand-inner.has-logo-img.has-title.no-desc{
   display: flex;
}
	
.site-logo-div{
	margin-top: 10px;
}
	
.site-title{
   padding: 30px 30px;
}	
	
.site-branding .site-title, .site-branding .site-text-logo {
	text-transform: none;
	font-size: 32px;
}
	
.byline{
	display: none;
}
	
#menu-item-283 .sub-menu {
	min-width: max-content;
}

.sub-menu li {
	min-width: max-content;
}	

.has-text-align-center{
	  font: 30px
}
}
