/*
Theme Name: Flavor Theme
Template: twentyseventeen
*/

@import url("../twentyseventeen/style.css");

html,
body,
.home #page,
.home #masthead {
    height: 100%;
	position: relative;
}
body {
	background-color: #000;
}
h3 {
	color: inherit;
}
ul, ol {
	padding-left: 2em;
}
.home #masthead {
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background-color: inherit;
}
.navigation-top {
	top: 0;
	bottom: auto;
}
#top {
	position: relative;
	background: #eee;
	width: 100%;
	height: 100%;
	/*visibility: hidden;*/
}
#top .slideshow {
  overflow: hidden;
	padding-left: 0em;
}
.site-title a img {
	height: auto;
	width: 200px;
}
.site-title a {
	display: block;
}
#top .slideshow .photo {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  background-position: center center;
  background-repeat: no-repeat;
  -moz-background-size: cover;
  -o-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
  -moz-animation-duration: 48s;
  -webkit-animation-duration: 48s;
  animation-duration: 48s;
  -moz-animation-timing-function: linear;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -moz-animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -moz-animation-direction: normal;
  -webkit-animation-direction: normal;
  animation-direction: normal;
  -webkit-backface-visibility: hidden;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
}
.no-cssanimations #top .slideshow .photo {
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
  display: none;
}
#top .slideshow .photo1 {
  -moz-animation-delay: 0s;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
#top .slideshow .photo2 {
  -moz-animation-delay: 8s;
  -webkit-animation-delay: 8s;
  animation-delay: 8s;
}
#top .slideshow .photo3 {
  -moz-animation-delay: 16s;
  -webkit-animation-delay: 16s;
  animation-delay: 16s;
}
#top .slideshow .photo4 {
  -moz-animation-delay: 24s;
  -webkit-animation-delay: 24s;
  animation-delay: 24s;
}
#top .slideshow .photo5 {
  -moz-animation-delay: 32s;
  -webkit-animation-delay: 32s;
  animation-delay: 32s;
}
#top .slideshow .photo6 {
  -moz-animation-delay: 40s;
  -webkit-animation-delay: 40s;
  animation-delay: 40s;
}
#top .slideshow .photo7 {
  -moz-animation-delay: 48s;
  -webkit-animation-delay: 48s;
  animation-delay: 48s;
}
#top .slideshow .photo8 {
  -moz-animation-delay: 56s;
  -webkit-animation-delay: 56s;
  animation-delay: 56s;
}
#top .slideshow .photo1, #top .slideshow .photo3, #top .slideshow .photo5, #top .slideshow .photo7 {
  -moz-animation-name: animation2;
  -webkit-animation-name: animation2;
  animation-name: animation2;
}
#top .slideshow .photo2, #top .slideshow .photo4, #top .slideshow .photo6, #top .slideshow .photo8 {
  -moz-animation-name: animation1;
  -webkit-animation-name: animation1;
  animation-name: animation1;
}
.custom-header {
    height: 100% !important;
}
.navigation-top {
	background: rgba(0,0,0,0.5);
	border-bottom: none;
	border-top: none;
}
.navigation-top a {
    color: #aaa;
}
.navigation-top .current-menu-item > a,
.navigation-top .current_page_item > a {
    color: #ccc;
}
.site-description {
	font-size: 12.8px;
	font-size: 0.8rem;
	color: #ccc !important;
}
.site-content-contain {
    background-color: inherit;
}
.site-footer {
	border-top: none;
	margin-top: 0em;
	color: #757575;
	background-color: inherit;
}
.site-info a,
.site-info a:hover {
    color: #757575;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0);
}
.site-info a:hover {
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
	opacity: 0.5;
	-webkit-transition: opacity 0.4s ease;
	-moz-transition: opacity 0.4s ease;
	-o-transition: opacity 0.4s ease;
	transition: opacity 0.4s ease;
	color: #757575;
	text-decoration: none;
}
.site-info {
	text-align: right;
}
.wrap {
    padding-left: 0em;
    padding-right: 0em;
}
#page {
	overflow: hidden;
	height: 100%;
}
#page.others {
	overflow: visible;
	height: 100%;
}

@-moz-keyframes animation1 {
  0% {
    opacity: 0;
    -moz-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  1.5% {
    opacity: 1;
    -moz-transform: scale(1.01);
    transform: scale(1.01);
    -moz-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  23.5% {
    opacity: 1;
    -moz-transform: scale(1.07);
    transform: scale(1.07);
  }
  25% {
    opacity: 0;
    -moz-transform: scale(1.07);
    transform: scale(1.07);
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes animation1 {
  0% {
    opacity: 0;
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  1.5% {
    opacity: 1;
    -webkit-transform: scale(1.01);
    transform: scale(1.01);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  23.5% {
    opacity: 1;
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
  }
  25% {
    opacity: 0;
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
  }
  100% {
    opacity: 0;
  }
}
@keyframes animation1 {
  0% {
    opacity: 0;
    -moz-animation-timing-function: ease-in;
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  1.5% {
    opacity: 1;
    -moz-transform: scale(1.01);
    -ms-transform: scale(1.01);
    -webkit-transform: scale(1.01);
    transform: scale(1.01);
    -moz-animation-timing-function: ease-out;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  23.5% {
    opacity: 1;
    -moz-transform: scale(1.07);
    -ms-transform: scale(1.07);
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
  }
  25% {
    opacity: 0;
    -moz-transform: scale(1.07);
    -ms-transform: scale(1.07);
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
  }
  100% {
    opacity: 0;
  }
}
@-moz-keyframes animation2 {
  0% {
    opacity: 0;
    -moz-transform: scale(1.07);
    transform: scale(1.07);
    -moz-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  1.5% {
    opacity: 1;
    -moz-transform: scale(1.06);
    transform: scale(1.06);
    -moz-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  23.5% {
    opacity: 1;
    -moz-transform: scale(1);
    transform: scale(1);
  }
  25% {
    opacity: 0;
    -moz-transform: scale(1);
    transform: scale(1);
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes animation2 {
  0% {
    opacity: 0;
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  1.5% {
    opacity: 1;
    -webkit-transform: scale(1.06);
    transform: scale(1.06);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  23.5% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  25% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    opacity: 0;
  }
}
@keyframes animation2 {
  0% {
    opacity: 0;
    -moz-transform: scale(1.07);
    -ms-transform: scale(1.07);
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
    -moz-animation-timing-function: ease-in;
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
  1.5% {
    opacity: 1;
    -moz-transform: scale(1.06);
    -ms-transform: scale(1.06);
    -webkit-transform: scale(1.06);
    transform: scale(1.06);
    -moz-animation-timing-function: ease-out;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  23.5% {
    opacity: 1;
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  25% {
    opacity: 0;
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    opacity: 0;
  }
}
.home .site-footer {
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: 0px;
	width: 100%;
}
.main-navigation > div > ul {
    text-align: center;
}
.drawer-toggle {
	position: absolute;
	left: -64px;
	top: -64px;
}
body.drawer {
	background-image: url(images/bg2.png);
	background-repeat: no-repeat;
	background-position: center center;
	-moz-background-size: auto 140%;
	background-size: auto 140%;
	background-attachment: fixed;
}
.others .site-header {
	width: 15rem;
	position: fixed;
	left: 0px;
	top: 0px;
	bottom: 0px;
	z-index: 2;
	background: #000;
}
.others .navigation-top {
	position: relative;
}
.others .main-navigation li {
    display: block;
}
.others .site-content-contain {
	background-color: inherit;
	height: 100%;
	position: relative;
	padding-left: 15rem;
}
.others .site-branding {
	text-align: center;
}
.others .navigation-top {
    background: inherit;
}
.others .social-navigation {
    clear: none;
    float: none;
    margin-bottom: 0;
    width: 100%;
}
.others .social-navigation ul {
	margin: 0em;
	position: relative;
	z-index: 3;
	text-align: center;
	padding: 0em;
	width: 100%;
}
.others .social-navigation li {
    display: block;
}
.others .social-navigation a {
    margin: 0;
}
.others .site-info {
	margin-left: 0%;
	text-align: center;
	float: none;
	padding: 0;
	width: 100%;
	z-index: 3;
	position: relative;
	margin-top: 2em;
	font-size: 90%;
	line-height: 1.2;
}
body.page .others .entry-title {
	color: #fff;
}
body.page-two-column:not(.archive) #primary .entry-header,
body.page-two-column.archive:not(.has-sidebar) #primary .page-header,
body.page-two-column:not(.archive) #primary .entry-content,
body.page-two-column #comments {
	float: none;
	width: auto;
	color: #fff;
}
.page .panel-content .entry-title,
.page-title,
body.page:not(.twentyseventeen-front-page) .entry-title {
	color: #fff;
	font-size: 2rem;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}
body.page-two-column:not(.archive) #primary .entry-content {
	line-height: 2.4;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	word-spacing: 0.4em;
}
.entry-content a {
	color: #fff;
}
.others .site-branding-text {
	width: 70%;
}
.has-sidebar:not(.error404) #primary,
.has-sidebar #secondary {
	float: none;
	width: 100%;
	margin: 0em;
	padding: 0em;
}
#content .wrap {
    max-width: 700px;
}
.others .site-footer {
	display: inline;
	width: 15rem;
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 3;
}
.others .site-footer .wrap {
	width: 80%;
	margin-right: auto;
	margin-left: auto;
}
.others .site-content {
    padding: 2em 0;
}
.archive .site-main > article {
	background-color: #fff;
	margin-bottom: 0em;
	margin-top: 2rem;
	padding: 2rem;
}
.page-header {
    padding-bottom: 0em;
}
.page-content p {
	color: #fff;
}
.has-sidebar #secondary {
	background-color: #fff;
	margin-top: 2em;
	padding: 2em 2em 0 2em;
}
#secondary h3 {
	font-size: 0.9rem;
	line-height: 1.2;
	margin-top: 2em;
	margin-right: 0em;
	margin-bottom: 1em;
	margin-left: 0em;
}
.single-post .site-main {
	background-color: #fff;
	margin-bottom: 0em;
	margin-top: 2em;
	padding: 2em 2em 0 2em;
}
#post-19 .entry-content dl {
	margin: 0;
	padding: 0;
}
#post-19 .entry-content dt {
	margin: 0;
	padding: 0;
	float: left;
	width: 5em;
}
#post-19 .entry-content dd {
	margin: 0;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 5em;
}
#post-17 .entry-content {
	background-color: #fff;
	margin-bottom: 0em;
	margin-top: 2em;
	padding: 2em 2em 0 2em;
}
.page:not(.home) #content {
	height: 100%;
	position: relative;
}
.page:not(.home) #content .wrap {
    width: 100%;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 0;
}
.wpcf7-form label {
	position: relative;
}
.wpcf7-form label .red {
	font-size: 80%;
	color: #fff;
	background-color: #f00;
	display: inline-block;
	padding-top: 0.4em;
	padding-right: 0.8em;
	padding-bottom: 0.4em;
	padding-left: 0.8em;
	position: absolute;
	top: 0px;
	right: 0px;
	line-height: 1.2;
}
.others .navigation-top nav {
    margin-left: 0em;
}
p .white {
	color: #333;
	background-color: #fff;
	display: inline-block;
	margin-bottom: 0.3em;
	padding-top: 0.3em;
	padding-right: 0.6em;
	padding-bottom: 0.3em;
	padding-left: 0.6em;
	line-height: 1.5;
}

@media (max-width: 1024px) {
.wrap {
	width: 90%;
}
.archive .others {
	height: 100%;
	position: relative;
}
}

@media (max-width: 812px) {
.drawer-toggle {
    position: fixed;
    left: auto;
    top: 0;
}
.navigation-top .wrap {
    max-width: 90%;
    padding: 0;
}
.site-branding {
    padding: 1em 0;
}
.others .site-header {
    width: 15rem;
    position: fixed;
    left: 0px;
    top: 0px;
    bottom: 0px;
    z-index: 2;
    background: inherit;
}
.others .site-content-contain {
	margin-left: 0;
	padding-left: 15rem;
	background-image: none;
}
.navigation-top nav {
    margin-left: 0em;
}
.main-navigation li {
    display: block;
}
.others .site-header {
    background: rgba(0,0,0,0.5);
}
.page:not(.home) #content {
    height: auto;
}
.others .site-content-contain {
    padding-left: 18rem;
}
.page:not(.home) #content .wrap,
#content .wrap {
	width: 90%;
	margin: 0;
	position: relative;
	top: 0%;
	left: 0%;
	-webkit-transform: translate(0%, 0%);
	transform: translate(0%, 0%);
}
.drawer-hamburger-icon,
.drawer-hamburger-icon:after,
.drawer-hamburger-icon:before {
    background-color: #fff;
}
.drawer-overlay {
    background-color: rgba(0,0,0,.5);
}
}

@media (max-width: 768px) {
.others .site-header,
.others .site-footer {
    width: 14rem;
}
.others .site-content-contain {
    padding-left: 16rem;
}
.site-footer .wrap {
	letter-spacing: -0.4em !important;
}
.social-navigation {
	letter-spacing: normal;
	vertical-align: middle;
	display: inline-block;
	width: 20%;
	margin-bottom: 0em;
}
.site-info {
	letter-spacing: normal;
	vertical-align: middle;
	display: inline-block;
	width: 80%;
	margin-bottom: 0em;
}
.js .main-navigation ul, .main-navigation .menu-item-has-children > a > .icon, .main-navigation .page_item_has_children > a > .icon, .main-navigation ul a > .icon {
    display: block;
}
}

@media (max-width: 667px) {
}

@media (max-width: 568px) {
.others .site-header {
	width: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
	bottom: auto;
	z-index: 2;
}
.others .site-branding {
    padding: 0.7em 0;
    text-align: left;
	z-index: -1;
}
.others .site-branding-text {
	letter-spacing: -0.4em !important;
}
.others .site-title {
	letter-spacing: normal;
	vertical-align: middle;
	display: inline-block;
	width: 25%;
	margin-right: 5%;
}
.others .site-description {
	letter-spacing: normal;
	vertical-align: middle;
	display: inline-block;
}
.others .site-content-contain {
	height: auto;
	padding-left: 0;
	width: 90%;
	margin-right: auto;
	margin-left: auto;
	padding-top: 2em;
}
.others .site-footer {
	display: block;
	width: 100%;
	position: relative;
	left: 0;
	bottom: 0;
	z-index: 1;
}
.others .site-footer .wrap {
    width: 90%;
	padding-bottom: 1em;
    padding-top: 1em;
}
.others .site-info {
    margin-top: 1em;
    font-size: 80%;
    text-align: right;
}
.others .social-navigation ul {
    z-index: 1;
    text-align: right;
}
.page:not(.home) #content .wrap, #content .wrap {
    width: 100%;
}
}

@media (max-width: 414px) {
.others .site-content-contain {
    padding-top: 3em;
}
}

@media (max-width: 375px) {
}

@media (max-width: 320px) {
}
