* {
	margin: 0;
	padding: 0;
}
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

html,body {
	height: 100%;
}
body {
	font-size: 14px;
	font-family: 'Lato','Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
	background: #fff;
}



.forSP{
	display:none;
}

.forPC{
	display:inline-block;
}

.container {
	background: #fff;
	margin-left: 300px;
	position: relative;
	-moz-transition: margin-left .25s linear;
	-webkit-transition: margin-left .25s linear;
	transition: margin-left .25s linear;
}

.main {
	background: #fff;
	min-height: 1400px;
}

.main p {
	margin-bottom: 1em;
	line-height: 1.9;
}
.main .inner {
	padding: 50px 100px 300px 100px;
}

/* main-visual */
.main-visual {
	/* background: #64CE80;
	background: -webkit-linear-gradient(-45deg, #64CE80, #C68BC4);
	background: -moz-linear-gradient(-45deg, #64CE80, #C68BC4);
	background: -ms-linear-gradient(-45deg, #64CE80, #C68BC4);
	background: -o-linear-gradient(-45deg, #64CE80, #C68BC4);
	background: linear-gradient(-45deg, #64CE80, #C68BC4); */

	background-image: url(../images/background_image.jpg);


	height: 200px;
	display: flex;

	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.main-visual.top{
	height:200px;
}

.main-visual h2{
    text-align: center;
    font-size: 21px;
    color: #fff;
    margin-bottom:20px;
}
.main-visual .search {
	position:relative;
    width:500px;
    height:60px;
    background:#fff;
    display:flex;
    border-radius: 60px;
    box-shadow:0 0 0 3px #ddd;
    overflow:hidden;
}
.main-visual .search .input{
    position:relative;
    width:425px;
    height:60px;
    left:30px;
    display:flex;
    justify-content: center;
    align-items: center;
}
.main-visual .search .input input{
    position:relative;
    top:0;
    width:100%;
    height:100%;
    border:none;
    outline:none;
    font-size: 18px;
}
.main-visual .search .input input::placeholder{
    font-size: 15px;
}
.main-visual .search .icon{
	width:60px;
    height:60px;
    background:#fff;
    border-radius: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: pointer;
}
.main-visual .search .icon::before{
	content:'';
    position: absolute;
    width:15px;
    height:15px;
    border: 3px solid #333;
    border-radius: 50%;
    transform: translate(-4px,-4px);
}
.main-visual .search .icon::after{
	content:'';
    position: absolute;
    width:3px;
    height:12px;
    background: #333;
    transform: translate(6px,6px) rotate(315deg);
}
h3 {
	font-size: 131%;
	margin-bottom: .7em;
}

.global-head {
	position: fixed;
	color: #3774cc;
	width: 100%;
	padding: 10px 30px;
	background: #fff;
	/* display: -webkit-flex; */
	display: flex;
}

.sidebar {
	padding-top: 60px;
	width: 300px;
	height: 100%;
	position: fixed;
	color: #000;
	background: #fff;
    border-right:1px solid rgb(0 0 0 / 30%);
	-webkit-transition: transform .35s ease-in-out;
	-moz-transition: transform .35s ease-in-out;
	transition: transform .35s ease-in-out;
	overflow-y: auto;
	-ms-overflow-style: none;
	/* Firefox 対応 */
	scrollbar-width: none;
}

/* Chrome, Safari 対応 */
.sidebar::-webkit-scrollbar {
	display:none;
}

.global-nav{
	margin-bottom:200px;
}

.global-nav ul {
	list-style: none;
	margin-left: 0;
}
.global-nav > ul > li {
	position: relative;
}

.global-nav a {
	color: #000;
	text-decoration: none;
	display: block;
	padding: 15px;
	-moz-transition: color .3s linear;
	-webkit-transition: color .3s linear;
	transition: color .3s linear;
}
.global-nav .sub-menu.is-active > a,
.global-nav a:hover {
	color: #3774cc;
	/*background: #fff;*/
}


/* sub-menu icon */
.global-nav .sub-menu-head {
	position: relative;
}
.global-nav .sub-menu-head:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 18px;
	margin: auto;
	vertical-align: middle;
	width: 8px;
	height: 8px;
	border-top: 1px solid #000;
	border-right: 1px solid #000;
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);

	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}
.global-nav .sub-menu.is-active > a:after,
.global-nav .sub-menu-head:hover:after {
	border-color: #3774cc;
}

.global-nav .is-active .sub-menu-head:after {
	-moz-transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
}
/* sub-menu */
.sub-menu.is-active{
	border-bottom:1px solid #ddd;
}

.global-nav .sub-menu-nav {
	background: #fff;
	display: none;
	padding: 10px 0;
}


.global-nav .sub-menu-nav a {
	color: #000;
	padding: 8px 20px;
	font-size: 12px;
}
.global-nav .sub-menu-nav a:hover {
	color: #3774cc;
}

.sub-menu i,.result h2 i{
	color:#3774cc;
}


/* nav-toggle */
.nav-toggle {
	position: fixed;
	top: 15px;
	left: 15px;
	height: 32px;
    cursor: pointer;
	display:none;
}
.nav-toggle > div {
	position: relative;
	width: 32px;
}
.nav-toggle span {
	width: 100%;
	height: 2px;
	left: 0;
	display: block;
	background: #000;
	position: absolute;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}

/* .nav-toggle */

.nav-toggle span:nth-child(1) {
	top: 0;
    transform: rotate(0deg);
}
.nav-toggle span:nth-child(2) {
    top: 11px;
    opacity: 1;
}
.nav-toggle span:nth-child(3) {
	top: 22px;
    transform: rotate(0deg);
}

.open .nav-toggle span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
	
}
.open .nav-toggle span:nth-child(2) {
	opacity: 0;
}
.open .nav-toggle span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}


/* z-index */
.nav-toggle {
	z-index: 10;
}
.container {
	z-index: 3;
}

.open  .container {
	margin-left: 300px;
}

.result{
  width:100%;
}

.result .block{
	/* min-height:500px; */
	padding:50px 0;
}

.result .block .image-large{
	width:100%;
	max-width:500px;
	display:block;
	margin-bottom: 30px;
}

.result .block .image{
	width:100%;
	max-width:300px;
	display:block;
	margin-bottom: 30px;
}

.result .block .image-small{
	width:100%;
	max-width:150px;
	display:block;
	margin-bottom: 30px;
}

.result .block img{
	width:100%;
}

.result-lists{
  padding:0;
}

.result-lists li{
	margin-bottom:60px;
	list-style:none;
}

/* .result p{
  margin:0 0 30px 0;
} */

.result .caution{
	padding:30px;
	border:1px solid #3c763d;
	border-radius: 5px;
	background:#dff0d8;
	color:#3c763d;
	max-width:750px;
	margin-bottom:30px;
}

.result .caution p{
	margin:0 !important;
}

.result .caution ul{
	margin:0 5%;
  }

.result .caution  ul li{
  margin-bottom:10px;
}

.nomal-list{
	margin:20px !important;
	line-height: 2.5;
}

.result-title{
  font-size:20px;
  font-weight:bold;
  text-decoration: none;
  color:#3774cc;
}

.result-page{
	color:#aaa;
}

.result .beginning{
  color:#333333;
  margin-top:10px;
}

.result .block h2{
	color:#3774cc;
	margin-bottom:30px;
	border-bottom:1px solid #ddd;
}

.go-contact{
	color:#5cb85c;
	font-weight: bold;
	cursor: pointer;
}
.noresult{
	width:100%;
}

.noresult-img{
	width:180px;
	display:block;
	margin:30px auto;
}

.noresult h3,.noresult p{
	text-align: center;
}

.go-top{
	border:1px solid #ddd;
	border-radius:10px;
	padding:10px;
	display:block;
	text-align:center;
}

/* --------------------contact-------------------- */
#overlay{
	width:100%;
	height:100%;
  }
  
  #overlay form{
	max-width: 550px;
	width:90%;
	padding:40px;
	background:#fff;
	margin:0 auto;
	border-radius:3px;
	box-sizing:border-box;
	box-shadow: 1px 2px 2px 3px #ddd;
  }

  
  #overlay h1{
	margin:0;
	text-align:center;
  }
  
  #overlay .label{
	display:flex;
	margin:20px 0;
  }
  
  #overlay .input,textarea{
	width:100%;
	padding:10px;
	box-sizing:border-box;
	outline:none;
	border:none;
	resize:none;
	border-bottom:1px solid #d3d3d3;
	font-size: 18px;
  }
  
  textarea{
	  height:150px;
  }
  
  #overlay input[type="text"]:focus,#overlay textarea:focus{
	border-bottom:1px solid #3774cc;
  }
  
  .center{
	text-align:center;
  }
  
  .button{
	margin-top:30px;
	width:90%;
	max-width:200px;
	background:linear-gradient(to right,rgb(255,0,106),rgb(255,67,61));
	color:#fff;
	font-size:17px;
	cursor:pointer;
	border-radius:3px;
  }
  
  .error{
	color:red;
  }
  
  .error-border{
	border-bottom:1px solid red;
  }

  .reply-block{
	height:50px;
	display:flex;
	align-items: center;
	box-sizing: border-box;
  }

  .reply-block span{
	display:inline-block;
	padding-left:10px;
  }

  .reply-block span input{
	margin-right:10px;
  }


/* --------------------footer-------------------- */

.footer{
	background-color: #f3f3f3;
	padding-top: 50px;
	position: relative;
	z-index: 2;
	display: block;
	overflow: hidden;
}

.footer-inner{
	padding: 0;
	width: 90%;
	max-width: 1160px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.footer h2{
	text-align: center;
}

.contact-group.row{
	display: block;
	align-items: center;
}

.contact-group.center {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top:30px;
}

.contact-group div{
	color: #000;
	text-decoration: none;
	word-wrap: break-word;
	background-color: #fff;
	display: flex;
	border-radius: 10px;
	flex-direction: column;
	justify-content: center;
	height: 120px;
	padding: 20px 60px 10px;
	box-shadow: 1px 1px 6px 2px rgb(0 0 0 / 10%);
	hyphens: auto;
	cursor: pointer;
}

.contact-icon {
	font-size: 50px;
	color:#333;
	text-align: center;
}

.contact-group p {
	font-size: 18px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.bigger-devices {
	display: initial;
}

.contact-animal {
	height: 170px;
	border: 0;
}

#modal{
	position:fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background:rgba(0,0,0,0.5);
	display:none;
	z-index:6;
	overflow:hidden;
}

#modal-main{
	width:95%;
	max-width:500px;
	height:auto;
	min-height:500px;
	padding:5%;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color:#fff;
	overflow-y:auto;
	border-radius: 5px;
}

#modal-main a li{
	list-style: none;
	width:80%;
	height:40px;
	margin:40px auto 0 auto;
	opacity:1;
}

#modal-main a li:hover{
	opacity:0.7;
	cursor: pointer;
}

#modal-main a li img{
	display: block;
	margin: 0 auto;
	min-width: 60%;
	height:100%;
	box-shadow:5px 7px #cccccc;
}

.copyright{
	text-align:center;
	margin:50px 0 20px 0;
}


@media screen and (max-width: 900px) {

	.container {
		margin-left: 0;
	}

	.open  .container {
		margin-left: 0;
	}

	.nav-toggle{
		display:block;
	}

	.sidebar {
		left: -300px;
		z-index: 9;
	}
	.open  .sidebar {
		/* left: -300px; */
		transform: translateX(300px);
	}

	.main .inner {
		padding: 60px 20px;
	}


	.main-visual .search {
		width:380px;
	}
	.main-visual .search .input{
		width:320px;
	}

	.main-visual .search .icon{
		width:50px;
	}

	.result .caution{
		padding:10px;
	}

	.result .block .image-large{
		width:100%;
	}

	.result .block .image{
		width:75%;
	}
	
	.result .block .image-small{
		width:50%;
		margin:0 auto 30px 0;
	}

	/* --------------------footer-------------------- */
	
	.footer-inner {
		padding: 0 5%;
	}

	.footer h2{
		font-size: 18px;
		text-align: center;
	}

	.contact-group div{
		padding: 20px;
	}

	
	.contact-animal {
		height: 135px;
	}

	.contact-group p {
		font-size: 14px;
	}
	
}

@media screen and (max-width: 400px) {

	.forSP{
		display:inline-block;
	}
	
	.forPC{
		display:none;
	}

	.main {
		min-height: initial;
	}

	.main-visual .search {
		width:300px;
	}
	.main-visual .search .input{
		width:250px;
	}

	.result-lists{
		padding:0 30px;
	  }

	  #overlay form{
		width:100%;
		padding:20px;
	  }

	  .reply-block{
		height:70px;
		flex-direction: column;
		align-content: space-around;
	  }

	  .reply-block span{
		width:100%;
	  }
	
}