
body {
	font-family: sans-serif;
	line-height: 1.7;
	margin: 0;
	padding: 0;
	font-size: 1.2em;
	padding-bottom: 1px;
}

html{
		background-color: #dcd6d9;
	}

#top {
	background: url("images/top.jpg") no-repeat;
	background-color: rgba(255,255,255,0.8);
	background-blend-mode: lighten;
	background-size: cover;
	background-position: center;
}

#japanesewolf {
	background: url("images/wolf.jpg") no-repeat;
	background-color: rgba(255,255,255,0.8);
	background-blend-mode: lighten;
	background-size: cover;
	background-position: center;
}

#detergent {
	background: url("images/detergent.jpg") no-repeat;
	background-color: rgba(255,255,255,0.8);
	background-blend-mode: lighten;
	background-size: cover;
	background-position: center;
}

#main {
	width: 100%;
	position: relative;
}

@media screen and (max-width: 799px) {
    #main {
        padding-top: 80px;
    }
}

#diet {
	background-color: rgba(255,255,255,0.8);
}

#medical {
	background-color: rgba(255,255,255,0.8);
}

h2, h3, h4 {
	padding-top: 20px;
	padding-bottom: 20px;
	font-weight: bold;
}

.p {
	display: inline-block;
	color: #111;
	padding: 32px;
}

.p li {
	text-align: left;
}

#boxs, #box, #boxed {
	width: 80%;
	display: block;
	padding: 20px;
}

#test {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: rgba(100, 80, 60, 0.25);
	text-align: center;
	pointer-events: none;
	z-index: 0;
	margin: 0;
	padding: 0;
}

#stickman {
	display: inline-block;
	margin-left: 200px;
	margin-bottom: 80px;
}

#stickman img {
	width: 15%;
}

@media screen and (max-width: 800px) {
	#stickman img {
		display: block;
		margin-left: -80px;
		margin-bottom: 80px;
		width: 70%;
	}
}

#boxs {
	margin: 100px auto 40px;
}

#box {
	margin: 80px auto 80px;
}

#boxed {
	margin: 0 auto 80px;
}

table {
	width: 80%;
	margin: 200px auto 80px;
}

table td,
table th {
	padding: 20px;
	border: 1px solid #ccc;
	vertical-align: middle;
}

th {
	text-align: left;
	background-color: #dcd6d9;
}

table caption {
	text-align: left;
	padding-top: 10px;
	padding-bottom: 20px;
}

@media screen and (max-width: 800px) {
	table td,
	table th {
		display: block;
	}
}

.link a:hover {
	opacity: 0.7;
}

input[type="text"],
input[type="email"],
textarea {
	width: 75%;
	padding: 10px;
	font-size: 1em;
	cursor: pointer;
}

#contact,
#contact td,
#contact th {
	border: none;
}

#contact th {
	background-color: transparent;
	text-align: right;
}

#contact caption {
	text-align: center;
	margin-bottom: 80px;
}

.btns {
	text-align: center;
	padding: 10px 10px 160px 10px;
}

.btns input {
	width: 200px;
	margin: 0 10px;
	padding: 10px;
	font-size: 1em;
	color: #fff;
	text-shadow: 1px 1px 1px #111;
	cursor: pointer;
	filter: drop-shadow(3px 3px 3px rgba(0,0,0,0.4));
}

.btns input:hover {
	opacity: 0.7;
}

@media screen and (max-width: 800px) {
	#contact td,
	#contact th {
		width: 100%;
		display: block;
		text-align: left;
		padding: 0;
		margin-left: 10%;
	}
}

/* header */
#header {
	width: 100%;
	background-color: #dcd6d9;
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 999;
	box-sizing: border-box;
	padding: 0 8px 0 0;
}

#logo img{
	filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.6));
    width: 200px;
    height: auto;
}


@media screen and (max-width: 799px) {
    #logo img {
        width: 200px;
        max-width: 60vw;
        height: auto;
    }
}

/* hamburger button */
.btn-burger {
	display: none;
	background: none;
	border: none;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	padding: 8px;
	width: 56px;
	height: 56px;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.icon {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 22px;
}

.icon span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: #666;
	border-radius: 2px;
	transition: all 0.4s;
	transform-origin: center;
}

.btn-burger.is-open .icon span:nth-child(1) {
	transform: translateY(10px) rotate(45deg);
}
.btn-burger.is-open .icon span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}
.btn-burger.is-open .icon span:nth-child(3) {
	transform: translateY(-10px) rotate(-45deg);
}

/* nav common */
.nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list a {
	display: block;
	text-decoration: none;
	color: #f4f5f7;
}

.nav-list a:hover {
	opacity: 0.8;
}

/* mobile 799px and below */
@media screen and (max-width: 799px) {

	.btn-burger {
		display: flex;
	}

	.nav {
		display: none;
		position: absolute;
		top: 100%;
		right: 0;
		width: 220px;
		background-color: rgba(80, 60, 70, 0.97);
		border-radius: 0 0 0 6px;
		box-shadow: -2px 4px 8px rgba(0,0,0,0.3);
		z-index: 100;
	}

	.nav.is-open {
		display: block;
	}

	.nav-list {
		display: block;
	}

	.nav-list li {
		padding: 14px 20px;
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}

	.nav-list a {
		color: #f4f5f7;
		font-size: 1em;
	}
}

/* PC 800px and above */
@media screen and (min-width: 800px) {

	.btn-burger {
		display: none;
	}

	.nav {
		display: block;
		position: static;
	}

	.nav-list {
		display: flex;
		align-items: center;
		height: 80px;
		gap: 20px;
		padding: 0 40px;
	}

	.nav-list li {
		padding: 0;
	}

	.nav-list a {
		color: #f4f5f7;
		filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.6));
	}
}

/* footer */
footer {
	width: 100%;
	padding: 20px 0;
	color: #f4f5f7;
	background-color: #dcd6d9;
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	box-sizing: border-box;
}

#mainName {
	filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.6));
	font-size: 1.5em;
}

small {
	font-size: 1em;
}

.footerItem, #footer {
	filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.6));
}

footer a:hover {
	filter: none;
	opacity: 0.8;
}

footer a:link,
footer a:visited {
	color: #f4f5f7;
	text-decoration: none;
}

@media screen and (max-width: 800px) {
	footer {
		flex-wrap: wrap-reverse;
		padding: 8px;
	}

	#mainName {
		font-size: 1em;
	}

	#footer {
		font-size: 0.7em;
	}
}

/* current page nav underline */
#top nav li:nth-child(1) a {
	text-decoration: underline;
}

#diet nav li:nth-child(2) a {
	text-decoration: underline;
}

#medical nav li:nth-child(3) a {
	text-decoration: underline;
}

#detergent nav li:nth-child(4) a {
	text-decoration: underline;
}

#japanesewolf nav li:nth-child(5) a {
	text-decoration: underline;
}

#privacy {
	text-align: left;
	margin: 40px;
}

#privacy h3 {
	text-align: center;
	margin-bottom: 40px;
}
