
* {
	margin: 0;
	padding: 0;
}
*::after,
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
body {
	font-family: 'Lato', sans-serif;
	background: #fff;
}
article {
	height: auto;
	margin: 50px auto;
	text-align: center;
	line-height: 1.9;
}
article p {
	margin-bottom: 1em;
}
a {
	color: #000;
	text-decoration: none !important;
}

.pagetop {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 25px;
	z-index:5;
}

.pagetop a {
	display: block;
	width: 50px;
	height: 50px;
}

h2 {
	font-family: 'Lato', sans-serif;
	font-size: 32px;
	border-bottom: solid 2px #000;
	margin: 0px auto 50px auto;
	font-weight:700;
}

h3 {
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight:700;	
}

.mds {
	display: inline-block; 
	width: 180px;
	margin: 0px auto;
}

.txtbk {
	display: inline-block;
  font-size:16px;
    text-align: center;
	color: #ffffff ;
  background-color:#000000;
  padding:0px 8px;
	margin-bottom: 1em;
}

.txtbkl {
	border: solid 1px #000000;
  padding:2px 8px 3px 8px;
}

.prof {
	float:right;
	margin-left: 30px;
	width: 260px;
	border-radius: 10px;
}

#main-visual {
	background: url("../images/main.jpg") no-repeat center 10%;
	background-size:cover;
	height: 800px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#main-visual img {
	width: 400px;
}

#main-visual2 {
	background: url("../images/main2.jpg") no-repeat center 45%;
	background-size:cover;
	height: 700px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#main-visual3 {
	background: url("../images/poison.jpg") no-repeat center 30%;
	background-size:cover;
	height: 700px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: -50px;
}

#main-visual4 {
	background: url("../images/studio.jpg") no-repeat center 45%;
	background-size:cover;
	height: 700px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#main-visual5 {
	background: url("../images/main3.jpg") no-repeat center 30%;
	background-size:cover;
	height: 700px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#mailf {
	width: 100%;
	height: 600px;
}

.flex{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.flex div {
width: calc(50% - 10px);
}

.flex div img {
width: 100%;
}

.pc { display: block !important; }
.sp { display: none !important; }

.subbut {
		font-size: 16px;
		width: 400px;
		max-width: 90%;
		text-align: center;
		color: #FFF;
		background: #000;
		border-radius: 10px;
		padding: 15px;
		border: 1px solid #000;
		margin: 30px auto 10px auto;
/*-webkit-transition: 5s;
    -moz-transition: 5s;
    -o-transition: 5s;
    -ms-transition: 5s;*/
    transition: 0.5s;
}

.subbut:hover {
		color: #000;
		background: #FFF;
		border: 1px solid #000;
	}

#footer {
	font-size: 13px;
	color: #FFF;
	background: #000;
	margin-top: -50px;
	padding: 30px;
	text-align: center;
	border-top: solid 1px #bbb;
}

.google-map {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}
.google-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ▲▲▲ここまではナビゲーションに関係ない設定▲▲▲ */

.inner {
	width: 980px;
	margin: 0 auto;
	text-align: center;
}

.inner2 {
	padding: 50px 0;
}

.outer {
	  background-color:#ffffff;
}

.inner-w {
	width: 100%;
	margin: 0 auto;
	text-align: left;
}

.inner:after {
	content: "";
	clear: both;
	display: block;
}

/* header */
#top-head {
	font-size: 14px;
	top: -100px;
	position: absolute;
	width: 100%;
	margin: 100px auto 0;
	padding: 30px 0 0;
	line-height: 1;
	z-index: 999;
}
#top-head a,
#top-head {
	color: #fff;
	text-decoration: none;
}
#top-head .inner {
	position: relative;
}
#top-head .logo {
	float: left;
	font-size: 36px;
}
#global-nav ul {
	list-style: none;
	position: absolute;
	right: 0;
	bottom: 0;
	font-size: 14px;
}
#global-nav ul li {
	float: left;
	position: relative;
}
#global-nav ul li a {
	padding: 0 30px;
}

/* Btn Hover */
#global-nav ul li:after {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 3px;
	bottom: -20px;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
#global-nav ul li:hover:after {
	background: #fff;
	bottom: -30px;
}


/* Fixed */
#top-head.fixed {
	margin-top: 0;
	top: 0;
	position: fixed;
	padding-top: 10px;
	height: 55px;
	background: #fff;
	background: rgba(255,255,255,.7);

	transition: top 0.65s ease-in;
	-webkit-transition: top 0.65s ease-in;
	-moz-transition: top 0.65s ease-in;
}
#top-head.fixed .logo {
	font-size: 24px;
	color: #333;
}
#top-head.fixed #global-nav ul li a {
	color: #333;
	padding: 0 20px;
}

/* Fixed Btn Hover */
#top-head.fixed #global-nav ul li:after {
	bottom: -10px;
}
#top-head.fixed #global-nav ul li:hover:after {
	background: #990000;
	bottom: -20px;
}


/* Transition */
/*
#top-head,
#top-head .logo,
#global-nav ul li,
#global-nav ul li a {
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
*/



/* Toggle Button */
#nav-toggle {
	display: none;
	position: absolute;
	right: 12px;
	top: 14px;
	width: 34px;
	height: 36px;
	cursor: pointer;
	z-index: 101;
}

#nav-toggle div {
	position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 4px;
	width: 100%;
	background: #666;
	left: 0;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
	top: 0;
}
#nav-toggle span:nth-child(2) {
	top: 11px;
}
#nav-toggle span:nth-child(3) {
	top: 22px;
}

.design02  {
color:#333;
 font-size: 16px;
 width: 100%;
 text-align: left;
 border-collapse: collapse;
 border-spacing: 0;
 margin-top: 15px;
}
.design02 td {
 padding: 20px;
 border: solid 1px #ccc;
}

.inlineframe {
 font-size: 14px;
 height:200px;
 overflow:auto;
 overflow-y:scroll;
 overflow-x:hidden;
 padding: 30px;
 border: solid 1px #ccc;
}

.r3bn img {
width: 640px;
}

@media screen and (max-width: 980px) {
	article {
		padding: 0 30px;
	}
	.inner {
		width: 100%;
		padding: 0 20px;
	}
	#global-nav ul li a {
		padding: 0 20px;
	}
	#top-head.fixed #global-nav ul li a {
		padding: 0 15px;
	}
}

@media screen and (max-width: 640px) {

	#main-visual {
	background: url("../images/main.jpg") no-repeat center 40px;
	background-size:cover;
		height: 300px;
	}

	#main-visual2 {
	background: url("../images/main2.jpg") no-repeat center -20%;
	background-size:cover;
		height: 300px;
	}

	#main-visual3 {
	background: url("../images/poison.jpg") no-repeat center -20%;
	background-size:cover;
		height: 300px;
	}

	#main-visual4 {
	background: url("../images/studio.jpg") no-repeat center -20%;
	background-size:cover;
		height: 300px;
	}

	#main-visual5 {
	background: url("../images/main3.jpg") no-repeat center -20%;
	background-size:cover;
		height: 300px;
	}

#main-visual img {
margin-top: 60px;
	width: 120px;
}

	#top-head,
	.inner {
		width: 100%;
		padding: 0;
	}
	#top-head {
		top: 0;
		position: fixed;
		margin-top: 0;
	}
	/* Fixed reset */
	#top-head.fixed {
		padding-top: 0;
		background: transparent;
	}


	#mobile-head {
		background: #fff;
		width: 100%;
		height: 56px;
		z-index: 999;
		position: relative;
	}
	#top-head.fixed .logo,
	#top-head .logo {
		position: absolute;
		left: 13px;
		top: 13px;
		color: #333;
		font-size: 26px;
	}

	#global-nav {
		position: absolute;
		/* 開いてないときは画面外に配置 */
		top: -500px;
		background: #333;
		width: 100%;
		text-align: center;
		padding: 10px 0;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
	}
	#global-nav ul {
		list-style: none;
		position: static;
		right: 0;
		bottom: 0;
		font-size: 11px;
	}
	#global-nav ul li {
		float: none;
		position: static;
	}
	#global-nav ul li:after  {
		display: none;
	}
	#top-head #global-nav ul li a,
	#top-head.fixed #global-nav ul li a {
		width: 100%;
		display: block;
		color: #fff;
		padding: 18px 0;
	}
	#nav-toggle {
		display: block;
	}
	/* #nav-toggle 切り替えアニメーション */
	.open #nav-toggle span:nth-child(1) {
		top: 11px;
		-webkit-transform: rotate(315deg);
		-moz-transform: rotate(315deg);
		transform: rotate(315deg);
	}
	.open #nav-toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}
	.open #nav-toggle span:nth-child(3) {
		top: 11px;
		-webkit-transform: rotate(-315deg);
		-moz-transform: rotate(-315deg);
		transform: rotate(-315deg);
	}
	/* #global-nav スライドアニメーション */
	.open #global-nav {
		/* #global-nav top + #mobile-head height */
		-moz-transform: translateY(556px);
		-webkit-transform: translateY(556px);
		transform: translateY(556px);
	}

#mailf {
	width: 100%;
	height: 450px;
}

.prof-sp {
	display: inline-block;
	width: 260px;
	border-radius: 10px;
	margin-bottom: 20px;
}

.center {
	margin: 0 auto;
	text-align: center;
}

.design02  {
 font-size: 13px;
 width: 100%;
 text-align: left;
 border-collapse: collapse;
 border-spacing: 0;
 margin-top: 15px;
}
.design02 td {
 padding: 10px;
 border: solid 1px #ccc;
}

.inlineframe {
 font-size: 14px;
line-height: 1.5;
 height:200px;
 overflow:auto;
 overflow-y:scroll;
 overflow-x:hidden;
 padding: 15px;
 border: solid 1px #ccc;
}

.flex{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    gap: 0px 8px;
}

.flex div {
width: calc(50% - 4px);
}

.pagetop {
	display: none;
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index:5;
}

.pagetop a {
	display: block;
	width: 35px;
	height: 35px;
}

.r3bn img {
width: 100%;
}

.pc { display: none !important; }
.sp { display: block !important; }

}
