/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

/*CONTACT電話番号*/
.contact-section {
  color: white; /* 文字色 */
  display: flex; /* 横並びにする */
  justify-content: center; /* 中央揃え */
  align-items: center; /* 縦方向も中央揃え */
  padding-top: 20px; /* 上の余白 */
  font-size: 16px; /* デフォルトのフォントサイズ */
  gap: 10px; /* 各要素間の間隔 */
}

.contact-section .tel {
  font-size: 24px; /* TEL部分の文字サイズを大きくする */
  font-weight: bold; /* 太字 */
}

.contact-section a {
  color: white; /* リンクの文字色 */
  text-decoration: underline !important; /* 下線 */
}


@media (max-width: 768px) {
  .contact-section {
    flex-direction: column; /* 縦並びに変更 */
    text-align: center; /* 中央揃え */
  }
	.contact-section .tel {
    font-size: 18px; /* スマホ用のフォントサイズ */
  }
}

/*モバイル改行*/
.br-sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: inline-block;
  }
}

/*mv字詰*/
.main-v h2{font-feature-settings: "palt";}

/* モバイルヘッダー透過 */
@media only screen and (max-width: 990px) {
    #top.home #wrap_all #header {
        position: fixed !important;
    }

    #top.home #wrap_all .av_header_transparency, .av_header_transparency #advanced_menu_toggle {
        background-color: transparent;
    }
}

/* モバイル下層ヘッダー固定調整 */
@media only screen and (max-width: 990px) {
.responsive :not(.home)#top #wrap_all #header {
    position: fixed;
}
 .responsive :not(.home)#top #main{
    padding-top: 80px !important;
}
}

.main_color .avia-button {
	color:#333333!important;
	background-color:transparent!important;
border: 1px solid #333!important;
	transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}
.main_color .avia-button:hover{
	color:#ffffff!important;
	background-color:#333333!important;
	letter-spacing: 0.15em;
}

.alternate_color .avia-button {
	background-color:transparent!important;
border: 1px solid #fff!important;
	transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}
.alternate_color .avia-button:hover{
	color:#333333!important;
	background-color:#ffffff!important;
	letter-spacing: 0.15em;
}

/*メールフォーム*/
.tfg-form .required {
color:#c26666!important;
}

label, .avia_ajax_form textarea, .avia_ajax_form input[type='text'], .avia_ajax_form select { color: #333333!important; }

#top .avia_ajax_form .error input[type='text'],
#top .avia_ajax_form .error .text_area {
border-width:2px!important;
border-color:#c26666!important;
}

.avia_ajax_form input[type=checkbox] {
  transform: scale(1.5);
  margin:6px 15px 0 5px!important;
}

.main_color input[type='submit'] {
	margin-top:10px;
    color:#333333;
	background-color:transparent;
border: 1px solid #333;
}
.main_color input[type='submit']:hover {
 color:#ffffff;
	background-color:#333333;
}
.avia_ajax_form .button{
	font-family:"shipporimincho-regular.ttf";
}

/*Advanced pタグmarginバグ修正*/
#top .all_colors p:not(.tfg-form *) {
    line-height: 1.9em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

/*spメニューボーダー細く*/
#av-burger-menu-ul li a {
    border-color:rgba(255,255,255,0.5) !important;
}

/*Lightbox ファイル名非表示*/
.mfp-title{
	display:none;
}

/*gallery調整*/
.gallery {
	text-align:center;
}

/*パンくず背景調整*/
.title_container {
background-color: #fff;
}

/*事例single調整*/
.post-type-portfolio .container_wrap_first, .post-type-portfolio #footer, .portfolio-insta-footer, .portfolio-blank-section{
	border-top:none!important;
}
.post-type-portfolio h2{
	text-transform:none!important;
	line-height:1.5em;
}
.post-type-portfolio p{
	line-height: 1.9em;
margin-top: 1.5em;
margin-bottom: 1.5em;
}

@media only screen and (max-width: 480px) {
.responsive #top .av-masonry-entry {
    width: 49.9% !important;
}
}