/*
	common
---------------------------------------------*/
body,html {
    overflow-x: hidden
}
body {
	width: 100%;
	font-size: 100%;
	text-align: center;
	min-width:1200px;
}
main{
	overflow:hidden;
	width:100%;
}
.sitewrap {
	width: 1200px;
	min-width:1200px;
	overflow:hidden;
	margin: 0 auto;
	text-align: left;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
.innerwrap {
    padding: 0px 20px;
}
@media screen and (max-width:1250px) {
	body,
	.sitewrap {
		width: 100%;
		min-width:0;
	}	
	.sitewrap > *{
		padding-left:2%;
		padding-right:2%;
	}
}
@media screen and (max-width:767px) {
	html {
		font-size:14px;
	}
	.sitewrap > *{
		padding-left:15px;
		padding-right:15px;
	}
}

/*
	overwrap
---------------------------------------------*/
.overwrap {
	width: 100%;
	overflow:hidden;
}
.overwrap .sitewrap{
	overflow:visible;
}

/*
	display SP, PC
---------------------------------------------*/
.display_pc {
	display:block;
}
.display_pc.in {
	display:inline;
}
.display_sp,
.display_sp.in {
	display:none;
}
@media screen and (max-width:768px) {
    .display_pc,
    .display_pc.in {
        display:none;
    }
    .display_sp {
        display:block;
    }
    .display_sp.in {
        display:inline;
    }
}

/*
	pic
---------------------------------------------*/
@media screen and (max-width:768px) {
    .pic {
        width: 100%;
    }
    .pic img {
        width: 100%;
    }
}

/*
	pageTop btn
---------------------------------------------*/
#pageTop {
	position: fixed;
	bottom: 15px;
	right: 5%;
	width: 70px;
	z-index: 500;
}

/*
	header
---------------------------------------------*/
header .menu.display_pc {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header_wrap-ul {
	display: flex;
	align-items: center;
}
.header_wrap-list {
	padding: 0px 15px;
}
.header_wrap-list a {
	position: relative;
	padding: 0px 0px 20px 0;
}

/*header humbeger*/
    .drop_menu {
        height: 58px;
        width: 100%;
        background: rgba(213, 183, 160, 0.9);
        position: fixed;
        z-index: 999;
    }
    .drop_menu #switch {
        position: absolute;
        display: none;
        opacity: 0;
    }
    .drop_menu label[for="switch"] div{
        display:none;
    }
    
	.drop_menu #switch~label {
        width: 58px;
        height: 58px;
		position: fixed;
		top: 0;
		right: 0;
		z-index: 900;
		padding: 12px;
		box-sizing: border-box;
		text-align: center;
	}
	.drop_menu #switch~label p {
		z-index: 2;
		width: 100%;
		margin-bottom: 0;
	}
	.drop_menu #switch~label span {
		cursor: -webkit-grabbing;
		display: block;
		width: 40px;
		height: 3px;
		background: #fff;
		-webkit-transition: 0.2s transform, 0.5s background;
		transition: 0.2s transform, 0.5s background;
		position: absolute;
		top: 50%;
		left: 0;
		right: 0;
		margin: auto;
		margin-top: -5px;
	}
	.drop_menu #switch~label span:before,
	.drop_menu #switch~label span:after {
		content: "";
		display: block;
		width: 40px;
		height: 3px;
		background: #fff;
		position: absolute;
	}
	.drop_menu #switch~label span:before {
		top: -13px;
	}
	.drop_menu #switch~label span:after {
		top: 13px;
	}
	.drop_menu #switch:checked~label span {
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	.drop_menu #switch:checked~label span:before {
		top: 0;
	}
	.drop_menu #switch:checked~label span:after {
		-webkit-transform: rotate(270deg);
		transform: rotate(270deg);
		top: 0;
		margin-top: 0;
	}
	.drop_menu #switch:checked~label[for="switch"] div{
		display:block;
		color:#fff;
		font-size:0.75rem;
		position:absolute;
		bottom:0;
		left:0;
		right:0;
		margin:auto;
	}
    /*右に隠す*/
	.drop_menu #NavWrap {
		position: fixed;
		top: 58px;
		left: auto;
		right: -100%;
		width: 100%;
		height: 100vh;
        background: rgba(213, 183, 160, 0.9);
		transition: all 0.25s;
		z-index: 50;
	}
    /*NavWrapをcheckedした時*/
	.drop_menu #switch:checked~label+#NavWrap {
		left: auto;
		right: 0;
	}
    /*checkボタン背景*/
	.drop_menu #switch:checked~label{
        background: rgba(213, 183, 160, 0.9);
	}

	.drop_menu #NavWrap ul {
		height: auto;
		width: 100%;
        padding: 50px 0 0 0;
        margin: 0;
        text-align: center;
	}
	.drop_menu #NavWrap ul li {
        clear: both;
        padding: 0 0 20px 0;
        width: 100%;
	}
	.drop_menu #NavWrap li a,
	.drop_menu #NavWrap li a:hover {
		font-size: 1.2rem;
		text-align: left;
		width: auto;
		padding: 0;
		text-decoration: none;
		color: #fff;
	}

	@media screen and (max-width:768px) {
		header .menu.display_pc {
			display: none;
		}
		#global_nav {
			z-index: 1100;
			position: fixed;
			width: 100%;
			height: 100vh;
			position: absolute;
			right: -100%;
			top: 0%;
			background-color: #fff;
			transition: all 0.7s;
		}
		#global_nav.panelactive {
			right: 0;
		}
		#btn {
			z-index: 9999;
			position: fixed;
			width: 40px;
			height: 40px;
			position: absolute;
			right: 2%;
			top: 10px;
		}
		#btn span {
			width: 65%;
			height: 1px;
			position: absolute;
			top: 10px;
			right: 0px;
			left: 0px;
			margin: auto;
			background-color: #333;
			transition: all 0.7s;
		}
		#btn span:nth-of-type(2) {
			top: 20px;
		}
		#btn span:nth-of-type(3) {
			top: 30px;
		}
		#btn.active span:nth-of-type(1) {
			transform: rotate(45deg);
			top: 20px;
		}
		#btn.active span:nth-of-type(2) {
		   opacity: 0;
		}
		#btn.active span:nth-of-type(3) {
			transform: rotate(-45deg);
			top: 20px;
		}
	}

/*
	margin padding
---------------------------------------------*/
.m_btm10 {
	margin-bottom: 10px;
}
.m_btm20 {
	margin-bottom: 20px;
}
.m_btm30 {
	margin-bottom: 30px;
}
.m_btm40 {
	margin-bottom: 40px;
}
.m_btm50 {
	margin-bottom: 50px;
}
.m_btm60 {
	margin-bottom: 60px;
}
.m_btm70 {
	margin-bottom: 70px;
}
.m_btm80 {
	margin-bottom: 80px;
}
.m_btm90 {
	margin-bottom: 90px;
}
.m_btm100 {
	margin-bottom: 100px;
}
.m_top10 {
	margin-top: 10px;
}
.m_top20 {
	margin-top: 20px;
}
.m_top30 {
	margin-top: 30px;
}
.m_top40 {
	margin-top: 40px;
}
.m_top50 {
	margin-top: 50px;
}
.m_top60 {
	margin-top: 60px;
}
.m_top70 {
	margin-top: 70px;
}
.m_top80 {
	margin-top: 80px;
}
.m_top90 {
	margin-top: 90px;
}
.m_top100 {
	margin-top: 100px;
}
.p_btm10 {
	padding-bottom: 10px;
}
.p_btm20 {
	padding-bottom: 20px;
}
.p_btm30 {
	padding-bottom: 30px;
}
.p_btm40 {
	padding-bottom: 40px;
}
.p_btm50 {
	padding-bottom: 50px;
}
.p_btm60 {
	padding-bottom: 60px;
}
.p_btm70 {
	padding-bottom: 70px;
}
.p_btm80 {
	padding-bottom: 80px;
}
.p_btm90 {
	padding-bottom: 90px;
}
.p_btm100 {
	padding-bottom: 100px;
}
.p_top10 {
	padding-top: 10px;
}
.p_top20 {
	padding-top: 20px;
}
.p_top30 {
	padding-top: 30px;
}
.p_top40 {
	padding-top: 40px;
}
.p_top50 {
	padding-top: 50px;
}
.p_top60 {
	padding-top: 60px;
}
.p_top70 {
	padding-top: 70px;
}
.p_top80 {
	padding-top: 80px;
}
.p_top90 {
	padding-top: 90px;
}
.p_top100 {
	padding-top: 100px;
}

/*
	modal
---------------------------------------------*/
.modal {
	display: none;
	position: fixed;
	z-index: 8887;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.7);
	transition: all 1s ease-in-out;
  }
  .modal-content {
	  background: #fff;
	  border: 2px solid #000;
	  overflow-y: auto;
	  padding: 20px 25px;
	  width: 50%;
	  max-width: 700px;
	  position: absolute;
	  top: 50%;
	  left: 50%;
	  transform: translate(-50%, -50%);
	  animation: show 0.6s linear 0s;
	  filter: drop-shadow(0px 2px 6px #777);
  }
  .modal-top {
	  display: inline-block;
	  position: absolute;
	  right: 10px;
	  top: 0px;
  }
  .modal-close {
	  color: #222;
	  text-decoration: none;
	  font-size: 2.5rem;
  }
  .modal-close:hover {
	text-decoration: none;
	cursor: pointer;
  }
  @keyframes show {
	  from{
		  opacity: 0;
	  }
	  to{
		  opacity: 1;
	  }
  }
  
  @media screen and (max-width:768px) {
	  .modal-content {
		  width: 90%;
	  }
  }
.modal-open {
    display: block;
    width: 50%;
    margin: 0 auto;
    padding: 5px 0px;
    border: 1px solid #3f434a;
    background-color: #fff;
    color: #000;
    border-radius: 20px;
    text-align: center;
    font-size: 14px;
    box-shadow: 2px 2px 0px 0px #000000;
}
.modal-open:active {
    transform: translateX(2px);
    box-shadow: 0px 0px 0px 0px #000000;
}