/*================================================================
    custom stylesheet (write your custom css code here)
==================================================================*/
/*for demo-showcase demo*/
section.section-border{
	
    border-bottom: 1px solid rgba(0, 0, 0, 0.85);
}

/*remove this in your production used for demo grids*/
.demo-show-grid [class^=col-] {
    padding: 20px;
    background-color: #eee;
    background-color: rgb(249, 249, 249);
    border: 1px solid #ddd;
    border: 1px solid rgb(221, 221, 221);
}

/*form*/
.form-wrapper .form-control{
  border: 1px solid #f5f5f5;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.form-wrapper .form-control[readonly] {
  background-color: #fff;
  border: 1px solid #c7c7c7;
}
.form-wrapper .form-control:focus{
  border: 1px solid #000;
}
.form-wrapper .wpcf7-back.btn{
  display: block;
  margin: 0 auto;
}
.form-wrapper .company-box,
.form-wrapper .education-box{
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    background-color: #fbfbfb;
    margin-bottom: 15px;
    border: 1px solid #f1f0f0;
}
.form-wrapper .company-box .input-field,
.form-wrapper .education-box .input-field
{
  /*background-color: #fff;*/
}
.checkboxes label{
  margin-right: 1em;
  cursor: pointer;
}
input[type=checkbox]{
  margin-right: 0.5em;
}
.myselect{
    position: relative;
    display: inline-block;
    overflow: hidden;

    box-sizing: border-box;
    width: 100%;
    padding: 0;

    vertical-align: middle;

    /*border: 1px solid #ddd;*/
    box-shadow: inset 0 0 1px rgba(0,0,0,.075);
    background-color: #f5f5f5;
    background-repeat: no-repeat;  
}

.select
{
    position: relative;
    z-index: 1;  
    line-height: 1.8;
    display: block;
    width: 100%;
    height: 54px;
    padding: 0;
    text-indent: 8px;
    border: none;
    border-radius: 0;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.myselect:after
{
    position: absolute;
    top: 0;
    right: 8px;
    bottom: 0;
    width: 0;
    height: 0;
    margin: auto;
    content: '';
    border-top: 4px solid #999;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing, div.wpcf7-spam-blocked{
border: 2px solid #F44336;
    padding: 15px;
    width: 100%;
    margin: 0;
    background: #F44336;
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
    text-align: center;
}

/* error msg */
.form-wrapper .form-control.wpcf7-not-valid{
  border: 1px solid #F44336; 
}
span.wpcf7-not-valid-tip{
    display: block;
    padding: 5px 0 0 0;
}
  
.dark-control .slick-prev:before, .dark-control .slick-next:before {
    opacity: .75;
    color: rgb(255, 255, 255)!important;
}


.for_sp-layout{
  display: none;
}

.navbar .icon-sns a.icon{
  font-size: 24px;
  line-height: 24px;
}
.content-61 .parallax-content{
    background-position: 50% 50%;
}

.lity-container .lity-close {
    position: absolute;
    top: 10px;
    right: 0;
    background-image: url(../img/_tanota/ic-close.png);
    background-size: 30px auto;
    background-position: 0% 0%;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    overflow: hidden;
    text-indent: -9999px;
}

.lity-box{
    margin-top: 50px;
      overflow-y: scroll;
      -webkit-overflow-scrolling: touch

}

.instafeed{
  float: none;
  margin: 0;
}


.itemlist-1 .row:before{
  display: none;
}
.itemlist-1 .row{
    display:-webkit-box;
    display:-moz-box;
    display:-webkit-flexbox;
    display:-moz-flexbox;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;

/*    -webkit-box-direction:normal;
    -moz-box-direction:normal;
    box-direction:normal;*/

/*    -webkit-box-orient:horizontal;
    -moz-box-orient:horizontal;
    box-orient:horizontal;
*/
/*    -ms-flex-direction:row;
    -webkit-flex-direction:row;
    -moz-flex-direction:row;
    flex-direction:row;*/

    -moz-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;


  margin: 0;

}

.itemlist-1 .row .col-sm-4{
  float: none;
  /*width: 33%;*/
}

.itemlist-1 .bg-img{
  /*background-size: 100% auto;*/
  background-size: auto 100%;
  background-repeat: no-repeat;
}

.itemlist-1 .item-inner{
  background-color: #fbfbfb;
  padding: 20px;
  border: 1px solid #fbfbfb;
  /*background-color: #1c1d1d;*/
}

.itemlist-1 .item-inner a{
  display: block;
  transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}
.itemlist-1 .item-inner a:hover{
  opacity: 0.7;
}

.itemlist-1 .col-sm-4{
  margin-bottom: 30px;
}

.itemlist-1 .item-inner .title{
  /*color: #fff;*/
  border-bottom: 2px solid #0b0100;
  padding-bottom: 0.3em;  
}

.itemlist-1 .item-inner .color-primary{
  /*color: #fff;*/
}

.event-information .lb-content{
  min-width: 780px;
}

.event-information .event-title a{
  text-decoration: underline;
}

.event-information .event-title a:hover{
  text-decoration: none;
  color: #999;
}

.event-information .event-location-link{
}

.event-information .event-location-link:hover{
  text-decoration: none;
  color: #999;
}

/* Fixed Nav */
.header-nav{
  position: fixed;
}


/* Navi menu color */
.navbar.nav-dark .navbar-nav > li.order-now > a{
  color: #F00;
}

.bg-black00 .order-now a, .bg-black-01 .order-now a, .bg-black-03 .order-now a, .bg-black .order-now a{
  color: #F00;  
}

/* KV Panel */
.index-kv .panel-box{
  height: 100%;
  width: 80%;
  margin: 0 auto;
  position: relative;
}
.index-kv .cell{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
  background: rgba(0,0,0,0.7);
  padding: 40px 45px;
  border: 4px solid #fff;
}

.index-kv .cell.grand-open{
  background: none; border: none;
}

.index-kv .cell.grand-open a{
  display: block;
}
.index-kv .cell.grand-open a:hover{
  opacity: 0.9;

}
.logo-bottom.index-kv .cell{
  transform: translateY(-60%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);  
}

.index-kv .panel-box .kv-tanota-order-now{
  display: block;
  padding-right: 30px;
}
.index-kv .panel-box .kv-tanota-order-now img{
  width: 240px;
}
.index-kv .panel-box .kv-tanota-order-now:hover{
  opacity: 0.8;

}
.index-kv .panel-box .btn{
  
}

.foot-menu{
  padding-bottom: 40px;
}

.foot-menu ul{
  text-align: center;
  margin: 0;
  padding: 0;
}

.foot-menu li{
  display: inline-block;
  text-align: center;
}

.foot-menu li a{
  display: block;
  font-size: 16px;
  margin: 0 30px;
}

.foot-menu li a.chownow-order-online{
  color: #f00;
}
.foot-menu li a:hover{
  text-decoration: underline;
}


/* event single */
.event-share a {
    background-color: #f8f8f8;
    font-size: 22px;
    color: #999;
}

@media (min-width: 768px){

  /* TOP Page */
  .index-kv{
    margin-bottom: 80px;
  }
  .index-kv.with-logo-bottom{
    height: calc(100% - 162px);
    margin-bottom: 0;
  }
  .index-kv.with-logo-bottom .slideshow{
    height: calc(100% - 162px);
    padding-top: 74px;
  }
  .kv-secton{
    padding-top: 74px;
  }

  /* event map */
  .acf-map{
    width: 750px;
    height: 350px;
    margin: 0 auto;
  }

}



@media (max-width: 1180px) {

  .itemlist-1 .bg-img{
    background-size: 100% auto;
    background-repeat: no-repeat;
  }


}

/*================================================================
    for sp
==================================================================*/
@media (max-width: 767px) {

  /*form*/
  .form-wrapper{
    padding-left: 15px; 
    padding-right: 15px;
    text-align: left;
  }
  .form-wrapper .col-xs-6:nth-child(odd){
    padding-right: 7px;
  }
  .form-wrapper .col-xs-6:nth-child(even){
    padding-left: 7px;
  }


  .nav .icon-sns{
    display: inline-block;
  }

  /* event map */
  .acf-map{
    width: 100%;
    height: 300px;
    margin: 0 auto;
  }

  .event-share {
    padding-left: 10px;
    padding-right: 10px;

  }
  .event-share li{
    padding: 0 5px;
  }

  /* KV Panel */
  .index-kv .panel-box{
    height: 100%;
    width: 80%;
    margin: 0 auto;
    position: relative;
  }
  .index-kv .cell{
    width: 85%;
    padding: 20px 25px;
    border: 2px solid #fff;
  }
  .index-kv .cell.grand-open{
    padding: 0;
  }
  .index-kv .cell p{
    margin-bottom: 0;
  }
  .index-kv .panel-box .kv-tanota-order-now{
    display: block;
    padding-right: 10px;
  }
  .index-kv .panel-box .kv-tanota-order-now img{
    width: 240px;
  }
  .index-kv .panel-box .btn{
    
  }



  /* TOP Page */
  .index-kv{
    margin-bottom: 40px;
  }
  .index-kv.with-logo-bottom{
    height: calc(100% - 162px);
  }
  .index-kv.with-logo-bottom .slideshow{
    height: calc(100% - 162px);
    padding-top: 70px;
  }    

  .kv-secton{
    padding-top: 70px;
  }


  .kv-logo-area{
    width: 100%;
  }
  .footer-logo-img{
    height: 40px;
  }

  .for_sp-layout{
    display: block;
  }
  .for_pc-layout{
    display: none;
  }
  .maps:before{
    height: 50%;
  }

  #location .mobile-block{
      /*height: 100%;*/
  }

  .content-products.full-height{
    height: 120% !important;
  }
  .content-products .full-height{
    
  }
  .content-products .full-height.img-block{
    /*display: none;*/
    /*height: 40%;*/
  }
  .content-products .mobile-block.text-block{
    /*height: 60%;*/
  }

  .event-location-block{
    padding-bottom: 20px;
  }
  
  .store-location-block{
    padding-bottom: 0;
  }

  #location.full-height{
    height: 120% !important;
  }

  .lity-container .lity-close {
      top: 5px;
      width: 25px;
      height: 25px;
      background-size: 25px auto;
      right: 5px;
  }

  .lity-box{
    margin: 35px 20px;
  }


  .event-information .lb-content{
    min-width: 320px;
  }


  div[data-stellar-background-ratio] {
      background-attachment: scroll;
  }

  .section-bk-to-home{
    padding-bottom: 20px;
  }

  .section-bk-to-home .col-md-12.padd-top-lg{
    padding-top: 20px;
  }

  .section-bk-to-home a{
    display: block;
    margin: 0 40px;
    padding: 10px 0;      
  }


  .itemlist-1 .row{
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin: 0;
    flex-wrap: wrap;
  }

  .itemlist-1 .row.item-vertical-center{
    justify-content: center;
    align-items: center;
    
  }

  .itemlist-1 .item-list-text {
    display: block;    
  }

  .itemlist-1 .row .col-sm-4{
    float: none;
    margin: 0 0 10px;
  }

  .itemlist-1 .col-sm-4{
    padding-left: 0;
    padding-right: 5px;
    float: none;
    margin-bottom: 10px;
  } 

  .itemlist-1 .item-inner{
    background-color: #fbfbfb;
    padding: 10px;
    border: 1px solid #fbfbfb;
    /*margin-bottom: 20px;*/
    height: 100%;
  }

  .itemlist-1 .col-sm-4:nth-child(even){
    padding-left: 5px;
    padding-right: 0;
  } 

  .itemlist-1 .col-sm-4:nth-child(3) .item-inner{
   margin-bottom: 0; 
  }

  .itemlist-1 .col-sm-4 .bg-img{
    background-size: 100% auto;
    padding: 15vw 0;
  }

  .itemlist-1 .col-sm-4 .hero-subtitle{
    text-align: left;
    font-size: 10px;
  }

  .item-list-text .padd-top-xxs{
    padding-top: 10px;
  }

  .item-list-text .text-sm{
    font-size: 12px;
  }


  .item-list-text .padd-top-xxs p{
    margin-bottom: 0;
  }

  .foot-menu{
    padding-bottom: 0;
    margin-right: -15px;
    margin-left: -15px;    
  }

  .foot-menu ul{
    text-align: center;
    margin: 0;
    padding: 0;
  }

  .foot-menu li{
    display: block;
    text-align: center;
  }

  .foot-menu li a{
    display: block;
    font-size: 14px;
    margin: 0 0;
    padding: 12px 0;
    border-top: 1px solid #2D2D2D;
  }



  /* add 202004 */
/*  .navbar-nav li .child-ul {
    list-style: none;
    margin-left: 0;
    padding-left: 2.4em;
  }
  .navbar-nav li .child-ul li {
    text-align: left;
  }
  .navbar-nav li .child-ul li .lbl{
    position: relative;
  }
  .navbar-nav li .child-ul li .lbl:after{
    display: inline-block;
    content: ":";
    margin: 0 .8em;
  }*/


}