@charset "utf-8";


/*===============================================
	header
===============================================*/
header {
    position: relative;
}
#headerWrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
    z-index: 999999999;
}
header h1 {
    width:300px;
    margin: 10px 1% 0 3%;
}
@media screen and (max-width:900px){
header h1 {
    width:260px;
    margin: 10px 0 0 10px;
} 
#headerWrap {

	position:fixed;
}
}

/*===============================================
	menu
===============================================*/
@media screen and (min-width:901px){
header #headerWrap #menu {
    width: 680px;
    background-color: var(--main-bg1);
    padding:20px 25px;
    border-bottom-left-radius: 20px;
}
header #headerWrap #menu li {
    display: inline-block;
}
header #headerWrap #menu ul a {
    display: block;
    margin: 0 10px;
    color:var(--main-bg2);
    text-decoration: none;
}
header #headerWrap #menu ul a:hover {
    color:#FFF;
}
}

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


#g-nav{
    position:fixed;
    z-index: 999999999;
	top:0;
    right:-120%;
	width:100%;
    height: 100vh;
/*	margin-bottom: 30px;*/
	background:#F5F5F5;
	transition: all 0.6s;
}

#g-nav.panelactive{
    right: 0;
}

#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999999999;
	width:100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}



#g-nav .menu {
	margin: 70px 7% 20px;
}

#g-nav li{
	margin:0 0 10px;
    text-align: center; 
}
#g-nav li.spIn{
	display: block;
}

#g-nav li a{
	position: relative;
	display: block;
	padding: 15px 0;
	text-decoration: none;
    color:var(--main-bg1);
	font-size: 1.0rem;
	font-weight: 500;
    border-bottom: 1px solid #CCC;
}
#g-nav li a::after {
    position: absolute;
	font-family: 'Material Icons';
	content: '\e5cc';
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
	font-size:20px;
}
.openbtn{
	position:fixed;
    z-index: 999999999999;
	top:0;
	right: 0;
	cursor: pointer;
    width: 60px;
    height:60px;
	background-color: var(--main-bg1);
    border-bottom-left-radius: 20px;
}
	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #FFF;
  	width: 55%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:25px;
}

.openbtn span:nth-of-type(3) {
	top:35px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}
}

/*===============================================
	contentsMainImg
===============================================*/
.contentsMainImg {
    position: relative;
    z-index: 9999999;
}
.contentsMainImg h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    color:#FFF;
    font-size:3.2rem;
    white-space: nowrap;
    font-weight: 600;
	z-index: 100;
	filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.7));
	text-align: center;
}
.contentsMainImg h2 span {
	display: block;
	font-size:1.6rem;
}

@media screen and (max-width:900px){
.contentsMainImg h2 {
    font-size:2rem;
}
.contentsMainImg h2 span {
	font-size:1rem;
}
}

/*===============================================
	headline
===============================================*/

h3.line {
	position: absolute;
	top:0;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 45px;
	
	position: relative;
	font-size:2.2rem;
	font-weight: 600;
	color:var(--main-bg1);
	text-align: center;
	padding-top: 60px;
}
h3.line::before {
	position: absolute;
	content: '';
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 2px;
	height: 50px;
	background-color:var(--main-bg1);
}

@media screen and (max-width:900px){
h3.line {

	font-size:1.8rem;
}
}

/*===============================================
	gradient
===============================================*/
#gradient {
	margin-bottom: 80px;
	padding:60px 0 50px;
	background: var(--main-gr1);
}

@media screen and (max-width:900px){
#gradient {
	margin-bottom: 50px;
	padding:50px 0 50px;
}
}

/*===============================================
	colorbg
===============================================*/
.colorbg {
	margin-bottom: 80px;
	padding:60px 0 50px;
	background-color: #eeeeee;
}

@media screen and (max-width:900px){
.colorbg {
	margin-bottom: 50px;
	padding:50px 0 50px;
}
}

.colorbg2 {
	margin-bottom: 80px;
	padding:60px 0 50px;
	background-color: #dae1e6;
}

@media screen and (max-width:900px){
.colorbg2 {
	margin-bottom: 50px;
	padding:50px 0 20px;
}
}


/*===============================================
	contact
===============================================*/
#contact {
    margin: 90px 0 0;
    padding:60px 0;
    background-color: #F5F5F5;
}
#contactWrap {
	max-width: 900px;
	margin: 0 auto;
}
#contact h2 {
	width: 300px;
	margin: 0 0 25px;
}
#contact .txt {
	margin: 0 0 30px;
	font-size:1.5rem;
	font-weight: 500;
}
#contact .contactWrap {
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
}

#contact .contactWrap .inquiry {
	width:calc(48% - 10%);
	padding:25px 5%;
	background-color: #e5e5e5;
	text-align: center;
	
}
#contact .contactWrap .inquiry h3 {
	margin: 0 0 15px;
	padding:3px 0;
	color:var(--main-bg2);
	font-size:1.4rem;
	font-weight: 500;
	background-color: var(--main-bg1);
	border-radius: 30px;
}
#contact .contactWrap .inquiry .tel {
	margin-bottom: 10px;
	font-size:1.4rem;
}
#contact .contactWrap .inquiry .part {
    line-height: 1.6;
    font-size: 0.9rem;
}
@media screen and (max-width:900px){
#contact {
    padding:45px 0 25px;
}
#contactWrap {
	margin: 0 5%;
}
#contact h2 {
	width:220px;

}
#contact .txt {
	margin: 0 0 20px;
	font-size:1.2rem;
}

#contact .contactWrap .inquiry {
	width:calc(100% - 10%);
	margin-bottom: 15px;
	
	
}
}




/*===============================================
	content
===============================================*/
#content {
	position: relative;
	max-width: 900px;
	margin: 160px auto 120px;
}
#content .topTxt {
    margin: 0 0 35px;
    line-height: 1.6;
}

@media screen and (max-width:900px){
 #content {
	margin: 140px 5% 60px;
} 
}

/*===============================================
	footer
===============================================*/
footer {
    margin-bottom: 35px;
}
footer #bottomLink {
    padding: 50px 0 0;
    margin-bottom:25px; 
     background: url("../images/common/footer_img.webp")no-repeat;
  background-size: cover;
  background-position: bottom;
  height: 500px;
}
footer #bottomLink .link {
     max-width: 980px;
    margin: 0 auto;
	display: flex;
	flex-flow: row wrap;
	justify-content:space-between;
}
footer #bottomLink .link p {
    width:32%;
}
footer ul {
    margin: 0 0 45px;
    text-align: center;
}
footer ul li:first-child {
    border-left: 1px solid #CCC;
}
footer ul li {
    display: inline-block;
    padding:0 10px;
    border-right: 1px solid #CCC;
}
footer .logo {
    width:300px;
    margin: 0 auto 35px;
}

@media screen and (max-width:900px){
 footer #bottomLink {
    padding: 30px 0 0;
  height: 200px;
}
footer #bottomLink .link {
    margin: 0 5%;
}
footer ul li {
    font-size: 0.9rem;
}   
}

/* pagetop ------------------- */
#pageTop {
	position: fixed;
	right: 10px;
	bottom: 5px;
}
#pageTop img {
	width:100px;
}
@media (max-width: 900px) {
#pageTop {
	z-index: 1000000;
	position: fixed;
	right: 3px;
	bottom: 3px;
}
#pageTop img {
	width:50px;
}
}
