/**/

/* sideNav */
span.open {
    display:none;
    color:#fff;
}
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}
.sidenav-title{
    padding:1rem;
    display:block;
    background-color:#fd3723;
}
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
     font-size: 1.4em; 
    color: #818181;
    display: block;
    transition: 0.3s;
    padding:1.3rem ;
}

.sidenav a:hover {
    color: #777777;
    background-color:#eeeeee;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

#main {
    transition: margin-left .5s;
    background-color:rgba(0, 0, 0, 0);
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/* 
#product#product{
    margin-bottom: 10rem;
}
 */
.products{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2rem;
}

.products .thumb{
    display: grid;
    justify-content: center;
}


#home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2rem;
    height: 100vh;
    justify-content: center;
    align-content: center;
    margin-bottom: 10rem;
}
/* top */
#top-info {
  width:60%;
  margin:0 auto;
  padding-bottom:3rem; 
}
/* new */
#new {
    display:grid; 
    grid-template-columns: repeat(3, 1fr); 
    grid-gap:1rem; 
    margin-bottom:10rem;
}
#new header {
    grid-column:1/-1;
}
#new .info h5 {
    font-weight: 700px;
}
#new img {
    width: 100%;
}
/* features */
#feature{
    margin-bottom: 10rem; 
    height: 100%; 
    margin: 0 auto;
    padding:5rem 0;
    }

    /* feature */
#feature .waribiki {
    width:60% !important;   
    margin:0 auto;

}
#feature .waribiki .section-title h3 {
    font-size:1.7em;
}
#feature .waribiki .logo {
    padding:0 1rem 2rem 1rem;
}
    #feature .features {
    margin:0 auto;
    width:100%;
    }
    
    .features .card {
    background: #f5f5f5;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    }
    
    .features .card a {
    text-decoration: none; 
    color: #222;
    }
    
    .features .card a h5 {
    font-weight: 700;
    font-size: 140%; 
    }
    .features .material-icons {
    position: relative;
    top: 0.3rem; 
    }


/* contact */
#contact {
    margin-bottom: 10rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}

#contact .detail{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 5rem;
}

#recaptcha {

}
.contact  .info-traffic {
    margin:0 auto;
    width:50%;
}
.contact .info-map {
    font-size:1.1em;
}
.contact .info-map p i {
    font-size:1.7em;
}
.contact .info-map p a {
    font-size:1.1em;
    text-decoration: none;
    padding:1px;
    color:#da5040;
}
.msg-form{
    display: grid;
    grid-template-columns: 1fr;
}

.msg-form button{
    display: grid;
    justify-self: end;
}

/* vision-1 */

.vision-1{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2rem;
    margin-bottom: 10rem;
    margin-top:5rem;
}
.vision-1 .img {
    width:100%;
    height:100%;
    padding-top:3.5rem;
}

.vision-1 .info{
    max-width: 450px;
    align-self: center;
}

/* vision-2 */
#vision-2 {
    margin-bottom: 10rem;
    margin-top:0;
}
#vision-2 h3{
    margin-left:2rem;
}
#vision-2 .thumb {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* grid-gap: 2rem; */
}
.thumb table {
    width:70%;
    margin:0 auto;
}
.thumb table tr td:first-child {
    width:30%;
}
.thumb table tr td:last-child  {
    width:70%;
}

#vision-2 .info {
    align-self: center;
    justify-self: center;
}
.vision2-photos {
	margin:0 auto;
    display:grid;
    grid-template-columns: minmax(200px, 1fr) 1fr;
    grid-gap:1rem;
}
.vision2-photos .fr_left {
  padding: 0 1rem;
}

.vision2-photos .fr_right {
  padding-right: 1rem;

}

/* #vision-2 img{
    width: 100%;
} */
/* features card */
.features {
    display:grid;
    grid-template-columns: repeat(3, 1fr); 
    grid-gap: .2rem; 
}
.features figure img{
  display:none;
}
/* features logo */
.logo {
    display:grid; 
    grid-template-columns: 1fr;
    padding-bottom:5rem;
}


.info p{
    width:70%;
    margin:0 auto;
    border:px solid #000000;
}

/* calendar */
.calendar{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2rem;
}

.calendar .thumb{
    display: grid;
    justify-content: center;
}

/* footer */

#footer {
    background: #FF5F6D;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #FF5F6D, #ffdde1);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #FF5F6D, #ffdde1);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.footer .row {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    grid-gap: 2rem;
    margin-bottom: 6rem;
}
/* 
.footer .col1 {
    display: grid;
    grid-row-gap: 1rem;
    grid-template-columns: 1fr;
} */

.footer .mdl-textfiel
d__label {
    color: #ddd;
}

.footer .row .col2 .feeds{
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    white-space: nowrap;
    display: inline-block;
    padding: 6px 15px 6px 16px;
    box-shadow:2px 2px 3px rgba(0,0,0,.1);
    margin: 10px 0;
    width:90%;
}

/* .footer .feeds img{
    width: 100%;
} */
  
img {
    width:100%;
}
#home {
    height:100%;
    margin-top:3rem !important;
}
.logo {
	width:20%;
	margin:0 auto;
}
@media (max-width:1400px) {
    .nav {
        padding: 0 2%;
    }
    #home {
        height:100%;
        margin-top:3rem !important;
    }

    #product,
    #service,
    .feature,
    #brand,
    #blog,
    #contact,
    .footer-div {
        width: 95%;
        margin: 0 auto;
    }    
    .logo{
        width:20%;
        margin:0 auto;
    }
    /* sideNav */
    span.open {
        display:none !important;
    }
    
	/* calendar */
  #calendar {
    width: 95%;
    margin: 0 auto; 
  }
}
@media (max-width:1025px) {
    /* sideNav */
    span.open {
        display:block !important;
        width:8rem;
        top:0;
        font-size:25px;
        padding:1.5rem 1rem 1rem 1rem ;
        cursor:pointer;
        z-index:999;
        position:absolute;
    }
    #home h1 {
        font-size: 300%;
    }

.products{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: .5rem;
}

.products .card .info p{
 	padding: 0;
 	margin: 0 auto;
 	width:100%;
}
    #service {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 2rem;
    }
    /* vision-2 */
    #vision-2 {
        width:100%;
        margin:0 auto;
    }
    #vision-2 .thumb {
        display: grid;
        grid-template-columns: 1fr;
        /* grid-gap: 2rem; */
    }
	#vision-2 .thumb figure {
	
	}
    .thumb table {
        width:50%;
        margin:0 auto;
    }
    #contact .detail {
        grid-template-columns: repeat(2, 1fr);
    }
    #contact .detail .add {
        grid-row: 2/3;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    .logo {
        width:20%;
        margin:0 auto;
    }
    #footer {
        height: 70vh;
    }
    .footer .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-bottom: 6rem;
        grid-gap: 4rem;
        justify-items: start;
    }
    .footer .col2 {
        grid-column: 1/-1;
        grid-row: 1/2;
    }
/* calendar */
  .calendar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: .5rem;  
  }
}

@media (max-width:750px) {

    #home,
    #new,
    #product,
    #service,
    #feature,
    #brand,
    #blog,
    #contact,
    .footer-div {
        width: 90%;
        margin: 0 auto;
    }
    #home {
    height:100%;
    margin-top:6rem !important;
}
    #home {
        grid-template-columns: 1fr;
        justify-content: center;
        align-content: center;
    }
    #home .banner-img {
        justify-self: center;
    }
    #home .banner-info {
        text-align: center;
        grid-row: 2/3;
    }
    
    h3.title {
        font-size: 170%
    }
    

    .thumb img  {
      margin:1rem 0 0 0;
    }
    
    .vision-1 {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .vision-1 .info {
        max-width: 100%;
    }
    .vision-2 {
        grid-template-columns: 1fr;
        justify-content: center;
        align-content: center;
    }

    .vision-2 .thumb table {
    	width:90%;
    	padding:2rem;
    }
	.vision-2 .thumb figure {
		margin: auto 0;
		width:100%;
	}
	
/** 直売ページ　イチゴジャム写真 モバイル用  **/
.vision2-photos {
	margin:0 auto;
    display:grid;
    grid-template-columns:  1fr;
    grid-gap:1rem;
}
.vision2-photos .fr_left {
  padding: 0 1rem;
}
.vision2-photos .fr_right {
  padding:0 1rem 1rem 1rem;
  
}

.products{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: .5rem;
}

.products .card .info p{
 	padding: 0;
 	margin: 0 auto;
 	width:100%;
}
    .vision-1 {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .vision-1 .info {
        max-width: 100%;
    }
    .vision-2 {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    
    .vision-2 .info {
        max-width: 100%;
        grid-row: 2/3;
    } */
    .contact  .info-traffic {
        margin:0 auto;
        width:90%;
    }


    #new {
        grid-template-columns: 1fr;
    }
    #feature {
        padding: 1rem !important;
    }
    .features {
        grid-template-columns: 1fr;
    }
    .logo {
        width:43%;
        margin:0 auto;
    }
    /* 
    #brand {
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }
    #blog {
        grid-template-columns: 1fr;
    } */
    #contact .detail {
        grid-template-columns: 1fr;
    }
    #contact .detail .add {
        grid-row: 3/4;
    }
    .msg-form button{
        display: grid;
        justify-self: center;
    }
   /*  calendar */
     #calendar {
    width: 90%;
    margin: 0 auto;
  }
  .calendar{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: .5rem;
  }

   .calendar .card .info p {
 	padding: 0;
 	margin: 0 auto;
 	width:100%;
  }
    #footer {
        height: 150vh;
    }
    .footer .row {
        grid-template-columns: 1fr;
        margin-bottom: 0rem;
    }
    .footer .row .col2 .feeds {
        justify-content: center;
        width:98%;
    }
    .footer .col2 {
        grid-column: 1/-1;
        grid-row: 1/2;
    }
}


/* lightbox fix 用 */
 @media  (max-width: 1400px) {
    div.lb-outerContainer div.lb-container img.lb-image{
      width:1075px !important;
      height:auto !important;
      display: block;
      border-radius: 3px;
      padding:0;
      margin: 0 auto;
      border: 4px solid red;
      }
      /* .lb-image {
        max-width: inherit !important;
        margin: 0 auto;
      } */
  }
  @media (max-width:1025px) {
    div.lb-outerContainer div.lb-container img.lb-image{
      width:690px !important;
      height:auto !important;
      display: block;
      border-radius: 3px;
      padding:0;
      margin: 0 auto;
      border: 4px solid red;
      }
      /* div.lb-outerContainer div.lb-container img.lb-image{
        width:100% !important;
        margin: 0 auto;
      } */
  }
  
  @media (max-width:750px) {
    div.lb-outerContainer div.lb-container img.lb-image{

      width:400px !important;
      height:auto !important;

      display: block;
      border-radius: 3px;
      padding:0;
      margin: 0 auto;
      border: 4px solid red;
      }
      /* img.lb-image{
        max-width:100% !important;
        max-height:100%;
      } */
          #footer {
        height: 250vh;
    }
  } 


  /* slider image */
  .slideshow-container {
    position: relative;
    width:100%;
    height:100%;
}
.slideshow-container .mySlides {
    z-index: 1;
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.2);
}
/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.slideshow-container .prev, .slideshow-container .next  {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  z-index:10 !important;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}
.dot-container {
  text-align:center;
  padding-top:10px;
}
/* The dots/bullets/indicators */
.dot {
  position:relative;
  cursor: pointer;
  height: 13px;
  width: 13px;
  margin: 0 2px;
  background-color:none;
  border:1px solid #fff;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active-dot, .dot:hover {
  background-color: #fff;
}

/* only IE10 以降 */
@media all and (-ms-high-contrast: none) {
    /* main img {
        width: 50%;
    } */
    #home .slideshow-container img {
        width: 50%;
    }
    #new img {
        display:inline-block;
    }
    #new > header {
        padding:0;
        margin:0;
    }
    #new  {
        display:inline-block;
        margin:0 0 0 150px;
        padding:0;
        vertical-align: top;
        
    }
    #new .card{ 
        width: 30%;
        display:inline-block;
        float:left;
        vertical-align: top;
        padding-right:3px;
    }
    .card:nth-child(3) {
        display:inline-block;
        margin:-20px 0 0 0;
    }
    .card:nth-child(4) {
        display:inline-block;
        margin:-40px 0 0 0;
    }
    #new .info {
    }
    /* #new .card .new .thumb {
        width: auto;
        height: 200px;
        border:1px solid #999;
        display:inline-block;

    } */
    #feature .waribiki{
        clear:both;
        /* width:100%; */
    }
	.sidenav .sidenav-title img{
	  position:relative;
      height:90px;
	}
	.mdl-layout-title img {
	  height:45%;
	  padding-top:2.2rem;
	}
    .slideshow-container {
        border:none;
        margin:0;
        padding:0;
        top: 0%;
        width: auto;
        height:640px;
    }
   
    .dot-container {
        border:none;
    }
    #home  {
        height:10%;
    }
    #new {
        padding:0 0 0 0;
        white-space: pre-line;
    } 
    header {
        margin-bottom:0;
    }
  }
  