/** 
 * main.css
 * 
 * 1. General HTML tags
 * 2. Masthead area
 * 3. Main content and sidebar
 * 4. Footer
 * 5. Media queries for responsive layout
 * 6. Accessibility helpers
 * 
 */

/*********************************************************************
 * 1. General HTML tags
 *
 */


    

* {
  padding:0;
  margin: 0; 
  box-sizing: border-box;
}

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
body, html { font-size: 100%; padding: 0; margin: 0;}


/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }


body {
    padding: 0;
	margin: 0 auto; 
    color: #485c3e;
    font-family: "Lato", sans-serif;
}

a {
	color: #f0f0f0;
	text-decoration: none;
}

a:hover {
	color: #c6d1b2;
}

.main,
.container {
	width: 100%;
	max-width: 75em;
	margin: 0 auto;
	padding: 0 1.85em 3.125em 1.85em;
}



html, body, td, input[type=text], textarea {
font-size: 150%; 

}


ul {  display: block; }
    
li {
    position: relative;
    
    text-align: center;
    }


img {
	max-width: 100%;
     height: auto; 
}

h1 {
font-family: "Lato", sans-serif !important;
  
}



h2 {
	
font-family: "Lato", sans-serif !important;
font-weight: 200 !important;
}

h3 {
font-family: "Lato", sans-serif !important;
}

a {
	color: #333;
	text-decoration: none;
}
	a:hover,
	.nav a:hover {
		color: #000;
		border-color: #aaa; 
	}



.slide {
  padding-top: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.section{
    
}

.section, .slide {
background-size: cover;
background-attachment: fixed;
    
 }   



@keyframes fadeInUp {
  0% {
    transform: translateY(100%); 
    opacity: 0;
  }
    
30% {
    opacity: 1; 
    }

50% {
    transform: translateY(0%);
    opacity: 1; 
    }    

70% {
    opacity: 1; 
    }

100% {
    transform: translateY(0%); 
     opacity: 0;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
    100% { 
    opacity: 1; 
    }
 
}

.fadeInUp-animation {
font-size: 3em; 
animation: fadeInUp 35s ease-in-out infinite;
color: rgba(255, 255, 255, 0.87);
text-shadow: #e5dce6 1px 0 10px;
margin:0px 100px;

font-weight: 100 !important;
max-width: 80%;
text-align: left;
position:absolute; 
bottom :5%;

}


.fadeIn-animation {
    font-size: 3em; 
    animation: fadeIn 10s ease-in-out;
    color: #36452e;
    margin:0px 100px;
    max-width: 80%;
    position:absolute; 
    top:25%
    
}




.container_text {
  max-width: 100%;
  padding: 1rem 1rem;
  text-align: left;
  position: absolute;
  bottom: 100px;
  background-color: rgba(255, 255, 255, 0);
  z-index: 1;
}


#text_wagashi{
    font-size: 1.4em;
    font-family: "Noto Serif JP", serif !important;
    text-align: justify !important;
  }  



/*********************************************************************
 * 2. Masthead area
 *
 */



:root {
  --clr-bg-header: #fff;
  --clr-btn: #96a37e;
  --clr-dropdown: #fff;
  --clr-nav-hover: #fff;
  --clr-dropdown-hov: #fff;
  --clr-dropdown-link-hov: #96a37e;
  --clr-light: #282828;
}



.icon-arrow-up2:before {
  content: "\ea3a";
}

.icon-arrow-down2:before {
  content: "\ea3e";
}

.icon-arrow-left2:before {
  content: "\ea40";
}

.icon-arrow-right2:before {
  content: "\ea3c";
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

header {
  position: fixed;
  top: 0px;
  background-color: rgba(255, 255, 255, 0);
  width: 100%;
  z-index: 17;
 
}


footer {
  position: fixed;
  bottom: 0px;
  background-color: rgba(255, 255, 255, 0);
  width: 100%;
  z-index: 1000;
  text-align: right;
    font-size: 80%;
}




.pfeil_right {
    position: relative;
    width: 50px;
    height: 100px;
    cursor: pointer;
    z-index: 40;
    visibility: visible;  
    color: rgba(67, 36, 30, 0.5);

}


.pfeil_left {
    position: relative;
    width: 50px;
    height: 100px;
    cursor: pointer;
    z-index: 40;
    visibility: visible;   
    color: rgba(67, 36, 30, 0.5);

}

.fp-prev{
left: 0 !important
}

.fp-next {
 right: 0 !important
}

.pfeil_down {
  position: fixed;
  margin: 0;
  bottom: 0px;
  background-color: rgba(1, 255, 255, 0);
  width: 100%;
  z-index: 10;
  cursor: pointer;
font-size: 100%;
color: rgba(67, 36, 30, 0.87);
animation: jumpInfinite 3s ease-in-out infinite;

}


ion-icon {
  font-size: 2em;
}


@keyframes jumpInfinite {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

#flex_container{
  max-width: 65rem;
  padding: 0 0.5rem;
  margin: 0 auto;
  position: relative;
 background-color: rgba(255, 0, 255, 0);
}

.caption {
 flex-grow: 1;
display: flex;
text-align: left;
font-size: 1.3em;
color: #5C7650;
  
}

#fp-nav ul li a span, 
.fp-slidesNav ul li a span{
  background: white;  

}

#myTopnav{
position: fixed;
top: 0; /* Stay on top */
transition: top 0.3s;


}

#mmenu{
    padding: 0;
    margin: 0 auto;
    
}


.container {
  max-width: 90rem;
  padding: 0 0.5rem;
  margin: 0 auto;
  display: flex;
  position: relative;
 background-color: rgba(255, 255, 255, 0);
}




.logo-container {
max-width: 13rem;
position: fixed;
left: 1%; 
align-items: center; 
  
}

.nav-btn {
  flex: 3;
  display: flex;
  align-items: center;
}

.nav-links {
  flex: 2;
}



.logo {
  color: var(--clr-light);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: lowercase;
  line-height: 0;
}

.logo span {
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: .5rem 1.3rem;
  font-size: .8rem;
  border: 2px solid var(--clr-light);
  border-radius: 2rem;
  line-height: 1;
  margin: 0 .2rem;
  transition: .3s;
  text-transform: uppercase;
}

.btn.solid,
.btn.transparent:hover {
  background-color: var(--clr-light);
  color: var(--clr-btn);
}

.btn.transparent,
.btn.solid:hover {
  background-color: transparent;
  color: var(--clr-light);
}

.nav-links > ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-link {
  position: relative;
}

.nav-link > a {
  line-height: 3rem;
  color: var(--clr-light);
  padding: 0 .8rem;
  letter-spacing: 1px;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: .5s;
}

.nav-link > a > i {
  margin-left: .2rem;
}

.nav-link:hover > a {
  transform: scale(1.1);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 10rem;
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: .5s;
 color: var(--clr-dropdown);
}

.dropdown ul {
  position: relative;
}

.dropdown-link > a {
  display: flex;
  background-color: var(--clr-dropdown-link-hov);
  color: var(--clr-light);
  padding: .5rem 1rem;
  font-size: .9rem;
  align-items: center;
  justify-content: space-between;
  transition: .3s;
}

.dropdown-link:hover > a {
  background-color: var(--clr-dropdown);
  color: var(--clr-light);
}

.dropdown-link:not(:nth-last-child(2)) {
  border-bottom: 1px solid var(--clr-light);
}

.dropdown-link i {
  transform: rotate(-90deg);
}

.arrow {
  position: absolute;
  width: 11px;
  height: 11px;
  top: -5.5px;
  left: 32px;
  background-color: var(--clr-light);
  transform: rotate(45deg);
  cursor: pointer;
  transition: .3s;
  z-index: -1;
}

.dropdown-link:first-child:hover ~ .arrow {
  background-color: var(--clr-dropdown);
}

.dropdown-link {
  position: relative;
}

.dropdown.second {
  top: 0;
  left: 100%;
  padding-left: .8rem;
  cursor: pointer;
  transform: translateX(10px);
}

.dropdown.second .arrow {
  top: 10px;
  left: -5.5px;
}

.nav-link:hover > .dropdown,
.dropdown-link:hover>.dropdown {
  transform: translate(0, 0);
  opacity: 1;
  pointer-events: auto;
}

.hamburger-menu-container {
  flex: 1;
  display: none;
  align-items: center;
  justify-content: flex-end;
}

.hamburger-menu {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hamburger-menu div {
  width: 1.6rem;
  height: 3px;
  border-radius: 3px;
  background-color: var(--clr-light);
  position: relative;
  z-index: 1001;
  transition: .5s;
}


.hamburger-menu div:before,
.hamburger-menu div:after {
  content: '';
  position: absolute;
  width: inherit;
  height: inherit;
  background-color: var(--clr-light);
  border-radius: 3px;
  transition: .5s;
}

.hamburger-menu div:before {
  transform: translateY(-7px);
}

.hamburger-menu div:after {
  transform: translateY(7px);
}
#check {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  z-index: 9000;
  cursor: pointer;
  opacity: 0;
  display: none;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div {
  background-color: transparent;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:before {
  transform: translateY(0) rotate(-45deg);
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:after {
  transform: translateY(0) rotate(45deg);
}

@keyframes animation {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@media (max-width: 920px) {
  .hamburger-menu-container {
    display: flex;
  }

  #check {
    display: block;
  }

  .nav-btn {
    position: fixed;
    height: calc(100vh - 3rem);
    top:3rem;
    left: 0;
    width: 100%;
    background-color: var(--clr-btn);
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(100%);
    transition: .65s;
  }

  #check:focus ~ .nav-btn {
    transform: translateX(0);
  }

  #check:focus-within ~ .nav-btn .nav-link,
  #check:focus-within ~ .nav-btn .log-sign {
    animation: animation .5s ease forwards var(--i);
  }

  .nav-links {
    flex: initial;
    width: 100%;
  }

  .nav-links > ul {
    flex-direction: column;
  }

  .nav-link {
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
  }

  .nav-link > a {
    line-height: 1;
    padding: 1.6rem 2rem;
  }

  .nav-link:hover > a {
    transform: scale(1);
    background-color: var(--clr-nav-hover);
  }

  .dropdown,
  .dropdown.second {
    position: initial;
    top: initial;
    left: initial;
    transform: initial;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    padding: 0;
    background-color: var(--clr-dropdown-hov);
    display: none;
  }

  .nav-link:hover > .dropdown,
  .dropdown-link:hover>.dropdown {
    display: block;
  }

  .nav-link:hover > a > i,
  .dropdown-link:hover>a>i {
    transform: rotate(360deg);
  }

  .dropdown-link > a {
    background-color: transparent;
    color: var(--clr-light);
    padding: 1.2rem 2rem;
    line-height: 1;
  }

  .dropdown.second .dropdown-link > a {
    padding: 1.2rem 2rem 1.2rem 3rem;
  }

  .dropdown.second .dropdown.second .dropdown-link > a {
    padding: 1.2rem 2rem 1.2rem 4rem;
  }

  .dropdown-link:not(:nth-last-child(2)) {
    border-bottom: none;
  }

  .arrow {
    z-index: 1;
    background-color: var(--clr-btn);
    left: 10%;
    transform: scale(1.1) rotate(45deg);
    transition: .5s;
  }

  .nav-link:hover .arrow {
    background-color: var(--clr-nav-hover);
  }

  .dropdown .dropdown .arrow {
    display: none;
  }

  .dropdown-link:hover > a {
    background-color: var(--clr-dropdown-link-hov);
  }

  .dropdown-link:first-child:hover ~ .arrow {
    background-color: var(--clr-nav-hover);
  }

  .nav-link > a > i {
    font-size: 1.1rem;
    transform: rotate(-90deg);
    transition: .7s;
  }

  .dropdown i {
    font-size: 1rem;
    transition: .7s;
  }

  .log-sign {
    flex: initial;
    width: 100%;
    padding: 1.5rem 1.9rem;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(15px);
  }



/*********************************************************************
 * 3. Main content and sidebar
 *
 */

#main {
	
	padding-top: 1em; 
	margin-top: 1em; 
	clear: both; 
}

#content {
	width: 100%; 
	float: left;
	padding-bottom: 2em; 
}


.nav {
	margin-left: 0;
	padding-left: 0;
	list-style: none; 
}
	.nav .nav {
		padding-left: 1.5em;
		list-style: disc;
	}
	.nav li {
		margin: 1em 0;
	}

	.nav-tree li {
		margin-top: 0;
		margin-bottom: 0;
	}

	.nav a {
		font-weight: bold;
	}

	.nav-tree li a {
		color: #777; 
	}

	.nav .current > a {
		color: #333; 
	}

.align_left {
	/* for images placed in rich text editor */ 
	float: left;
	margin: 0 1em 0.5em 0; 
	position: relative;
	top: 0.5em;
	max-width: 50%; 
}

.align_right {
	/* for images placed in rich text editor */ 
	float: right;
	margin: 0 0 0.5em 1em;
	max-width: 50%; 
}

.align_center {
	/* for images placed in rich text editor */ 
	display: block;
	margin: 1em auto; 
	position: relative;
	top: 0.5em;
}

figure {
	display: table;
	width: 1px;
	margin: 1em 0;
}

figure img {
	display: table-row;
	margin-bottom: 0.5em;
}

figure figcaption {
	display: table-row;
	font-size: smaller;
	color: #777;
	line-height: 1.4em;
}

    
    
    
    
/*********************************************************************


/*********************************************************************
 * 5. Media queries for responsive layout
 *
 */
@media only screen and (max-width: 920px) {

.logo-container {
    max-width: 6rem;
    position:absolute;
    margin:0;
    left:0;
    align-items: left;
    }  

    
  }   
    
    
@media only screen and (max-width: 767px) {
	/* mobile layout */ 

	body, td, textarea {
		font-size: 150%; 
	}
	#content, 
	#sidebar {
		float: none;
		width: 100%; 
		padding: 0; 
	}
	
	#content {
		width: 100%; 
	}
	#sidebar {
		border-top: 1px solid #eee;
		padding-top: 1em; 
	}
	.align_left, .align_right, .align_center {
		display: block;
		float: none; 
		margin: 1em auto;
		max-width: 100%; 
	}
    
    #flex_container{
    width: 100%;
    padding: 0 0.5rem;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0);
    }

    .caption {
    display: block;
    text-align: left;
    }

    .logo-container {
    max-width: 6rem;
    position:absolute;
    margin:0;
    left:0;
    align-items: left;
    }
    

    .fadeInUp-animation {
		font-size: 1.6rem;
        margin: 1rem 1rem;
        max-width: 100%;
        
	}
    
    .fadeIn-animation {
		font-size: 200%;
        align-items: center;
        
	}
    
    .pfeil_right {
    right:0 !important;
    }


    .pfeil_left {
    left:0; !important;
    }
    
    
    #text_wagashi{
    text-align: left !important;
  }  
}

    
    
@media only screen and (max-width: 353px) { 
.fadeInUp-animation {
		font-size: 1.5rem; 
       
  }  
    
#text_wagashi{
   font-size: 1rem;
    font-family: "Noto Serif JP", serif;
  }  

ion-icon {
  font-size: 1.5em;
}
 
}


@media screen and (max-width: 55em) {

	.container > header h1,
	.container > header nav {
		float: none;
	}

	.container > header > span,
	.container > header h1 {
		text-align: center;
	}

	.container > header nav {
		margin: 0 auto;
	}

	.container > header > span {
		text-indent: 30px;
	}
}

/*********************************************************************
 * 6. Accessibility helpers
 *
 */

/* Hide visually, but remain approachable for screenreader */

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	white-space: nowrap;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	border: 0;
}

/* Show bypass link on hover */

.element-focusable:focus {
	clip: auto;
	overflow: visible;
	height: auto;
}

/* Sample styling for bypass link */

.bypass-to-main:focus {
	top: 0;
	left: 0;
	width: 100%;
	height: 40px;
	line-height: 40px;
	text-align: center;
	background: #333;
	color: #fff;
}
