/*
Theme Name: piggypink
Description:
Version:
Author:
*/


body {
	font-family: 'Fredoka One', cursive;
	line-height: 1.7;
	margin: 0;
	padding: 0;
	font-size: 1.2em;

 }

 #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;
	background-attachment: fixed;
}

 #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;
	background-attachment: fixed;
}

#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;
	background-attachment: fixed;
}

#main {
    width: 100%;
    position: absolute;
	overflow: hidden;
}


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;
}

#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: 200px auto 80px;
}

#box {
	margin: 80px auto 80px;
}


#boxed { 
	margin: 0 auto 200px;
}

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,4));
}

.btns input:hover{
	opacity: 0.7;
	filter: drop-shadow(1px 1px 1px rgba(0,0,0,4));
}

@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;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	z-index: 999;
	}
	


#logo {
	filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.6));
	margin: 16px 0 16px 40px;

}




/* --------------------------------------------------
  nav設定 ハンバーガーアイコン
-------------------------------------------------- */

.nav li a:link,
.nav li a:visited{
	text-decoration: none;
	color: #fff;
	filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.6));
}
.btn-burger {
    cursor: pointer;
    display: block;
    width: 56px;
    height: 60px;
    position: absolute;
    top: 5px;
    right: 10px;
}

.nav-list a {
    display: block;
    text-decoration: none;
	color: #f4f5f7;
}

.nav-list a:hover {
	opacity: 0.8;
} 

.nav-list {
    list-style: none;
    display: none;
	text-align: left;
}

.nav-list li {
    padding: 16px;
}

.nav-toggle:checked ~ .nav .nav-list {
    display: block;
}

/*ハンバーガーアイコンを作る三本線*/

.icon, .icon:before, .icon:after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    height: 2px; /*線の太さ*/
    width: 35px; /*線の長さ*/
    background-color: #F4F5F7;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.6));
    border-radius: 2px;
    display: block;
    content: '';
    cursor: pointer;
    margin: auto;
}

/*三本線の間隔*/

.icon:before {
  top: 20px;
}
.icon:after {
  top: -20px;
}

/*チェックボックス非表示*/

.nav-toggle {
    display: none;
}

/*アイコンをクリックしたら*/

.nav-toggle:checked ~ .btn-burger .icon {
    background: transparent;
}
.nav-toggle:checked ~ .btn-burger .icon:before {
    transform: rotate(-45deg);
    top: 0;
}
.nav-toggle:checked ~ .btn-burger .icon:after {
    transform: rotate(45deg);
    top: 0;
}

.icon,
.icon:before,
.icon:after {
    transition: all .8s;
}


/* --------------------------------------------------
  幅800px以上のスタイル指定 ここから
-------------------------------------------------- */

@media screen and (min-width: 800px) {
/* ハンバーガーボタン */
	
.btn-burger {
    display: none;  /*800px以上では使用しない */
}

.nav-toggle:checked ~ .nav .nav-list {
    display: none;
}
	
.nav-list {
	padding: 0 80px;
    display: flex;
    justify-content: space-between;
    height: 80px;
    align-items: center;
	margin: auto;
}

}


/* --------------------------------------------------
  footer設定
-------------------------------------------------- */

footer {
	width: 100%;	
	height: 240px;
	color: #f4f5f7;
	background-color: #dcd6d9;
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
}


#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;
	}
}


/* --------------------------------------------------
  シグネチャ
-------------------------------------------------- */


#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;
}
