@charset "UTF-8";

/*------------------------------------------------
　▼▼header▼▼
------------------------------------------------*/


.fade{
    /*transform: scale(1.2, 1.2);
    transition: transform 2.5s cubic-bezier(0.23, 1, 0.32, 1);*/
    opacity: 0;
    transition: 0.7s;
}
.fade02{
    opacity: 1;
    /*transform: scale(1, 1);*/
}

.fade_d{
    /*transform: scale(1.2, 1.2);
    transition: transform 2.5s cubic-bezier(0.23, 1, 0.32, 1);*/
    opacity: 0;
    transition: 0.7s;
    transition-delay: 0.5s;
}
.fade02_d{
    opacity: 1;
    /*transform: scale(1, 1);*/
}


header {
    width: 100%;
    padding: 35px 0;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    background: #000000;
}
header h1 {
    width: 500px;
    max-width: 90%;
    font-size: 0;
    margin-left: 20px;
}
header h1 a {
    transition: 0.3s;
}
header h1 a:hover {
    opacity: 0.7;
}
header h1 img {
    max-width: 100%;
    font-size: 0;
}
.btn_area {
    position: fixed;
    right: 10px;
    top: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1000;
}
.btn_area a {
    color: #fff;
    font-size: 13px;
    padding: 5px 10px;
    border: 1px solid #fff;
    border-radius: 5px;
    margin-right: 10px;
    transition: 0.3s;
    display: flex;
    align-items: center;
}
.btn_area a:hover {
    background: #fff;
    color: #6D242E;
}
.btn_area a i {
    font-size: 15px;
    margin-left: 8px;
}
.drawer-menu {
    position: fixed;
    right: 0;
    top: 40px;
    z-index: 1000;
}
.drawer-menu ul {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
}
.drawer-menu ul li {
    padding: 5px 25px;
    border-right: 1px solid #fff;
    transition: 0.5s;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.drawer-menu ul li.sp {
    display: none;
}
.drawer-menu ul li:nth-child(1) {
    border-right: none;
}
.drawer-menu ul li:nth-child(2) {
    border-left: 1px solid #fff;
}
.drawer-menu ul li:nth-child(4) {
    border-right: none;
}
.drawer-menu ul li a {
    padding: 0px 0px;
    transition: 0.5s;
    font-size: 14px;
    text-align: center;
}
.drawer-menu ul li a span {
    padding: 0 0px;
    color: #fff;
    text-align: center;
}
.drawer-menu ul li a span small {
    font-size: 10px;
    padding: 0 0px 5px;
    line-height: 1.5;
}
.drawer-menu ul li:last-child a span {
    border-right: none;
}
.drawer-menu ul li:nth-child(1) {
    padding-top: 14px;
    padding-bottom: 14px;
}
.drawer-menu ul li:hover {
    background: #6e5558;
}
#top .drawer-menu ul li:nth-child(1) ,
#bldg-a .drawer-menu ul li:nth-child(2) ,
#bldg-b .drawer-menu ul li:nth-child(3) ,
#bldg-k .drawer-menu ul li:nth-child(4) {
    background: #cc3333;
}

.close-btn {
    display: none;
}

/*------------------------------------------------
　▼▼header▼▼Tab
------------------------------------------------*/

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

}

/*------------------------------------------------
　▼▼header▼▼sp
------------------------------------------------*/
@media only screen and (max-width: 1024px) {


    header {
        padding: 22px 0;
        position: fixed;
        border-bottom: 1px solid #ddd;
        overflow: hidden;
    }
    .btn_area {
        display: none;
    }
    header .inner {
        margin-bottom: 0;
    }
    header h1 { width: 60%; margin: 0 0 0 10px;text-align: center;}
    header h1 a { display: block;}

    .drawer-menu ul {
        justify-content: center;
    }
    .drawer-menu li {
        width: 100%;
        border:none !important;
    }
    .drawer-menu ul li.sp {
        display: block;
    }
    .drawer-menu ul li a {
        padding: 5px 0;
        font-size: 18px;
        line-height: 1.6;
        display: block;
    }
    .drawer-menu ul li a:hover {
        background: #6e5558;
        color: #fff;
    }
    .drawer-menu ul li a span {
        border-right: none;
        padding: 0;
    }
    .drawer-menu ul li a span small {
        font-size: 13px;
    }
    .drawer-menu ul li:nth-child(1) {
        padding: 5px 0 10px;
    }
    .drawer-menu ul li:nth-child(2),
    .drawer-menu ul li:nth-child(3),
    .drawer-menu ul li:nth-child(4) {
        padding: 0 0px 5px;
    }

    #top .drawer-menu ul li:nth-child(1) a,
    #bldg-a .drawer-menu ul li:nth-child(2) a,
    #bldg-b .drawer-menu ul li:nth-child(3) a,
    #bldg-k .drawer-menu ul li:nth-child(4) a{
        background: #6e5558;
        color: #fff;
    }




.contents__inner {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
    overflow: hidden;
}



/* ------------------------------------------------ drawer menu */
.drawer-menu {
	box-sizing: border-box;
	position: fixed;
	top: 0;
	right: 0;
	width: 300px;
	height: 100%;
	padding: 70px 0;
	background: #6D242E;
	-webkit-transition-property: all;
	transition-property: all;
	-webkit-transition-duration: 0s;
	transition-duration: 0s;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
    transition: 0.5s;
	-webkit-transform-origin: right center;
	-ms-transform-origin: right center;
	transform-origin: right center;
	-webkit-transform: translateX(500px);
	transform: translateX(500px);
	opacity: 0;
}

.drawer-menu li {
	text-align: center;
    border-bottom: 1px solid #6e5558 !important;
}

.drawer-menu li a {
	display: block;
	font-size: 16px;
	color: #fff;
	-webkit-transition: all .8s;
	transition: all .8s;
}

/* ------------------------------------------------ checkbox */
.check {
	display: none;
}



/* ------------------------------------------------ menu button */
.menu-btn {
	position: fixed;
	display: block;
	top: 15px;
	right: 20px;
	display: block;
	width: 30px;
	height: 30px;
	font-size: 10px;
	text-align: center;
	cursor: pointer;
	z-index:1000;
}

.bar {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 30px;
	height: 1px;
	background: #fff;
	-webkit-transition: all .5s;
	transition: all .5s;
	-webkit-transform-origin: left top;
	-ms-transform-origin: left top;
	transform-origin: left top;
}

.bar.middle {
	top: 10px;
	opacity: 1;
}

.bar.bottom {
	top: 20px;
	-webkit-transform-origin: left bottom;
	-ms-transform-origin: left bottom;
	transform-origin: left bottom;
}

.menu-btn__text {
	position: absolute;
	bottom: -7px;
	left: 0;
	right: 0;
	margin: auto;
	color: #fff;
	-webkit-transition: all .5s;
	transition: all .5s;
	display: block;
	visibility: visible;
	opacity: 1;
}

.close-menu {
	position: fixed;
	top: 0;
	right: 300px;
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,0);
	cursor: url("https://www.hai-co.com/img/common/cross.svg"),auto;
	-webkit-transition-property: all;
	transition-property: all;
	-webkit-transition-duration: .3s;
	transition-duration: .3s;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
	visibility: hidden;
	opacity: 0;
}
    .close-btn {
        text-align: center;
        color: #fff;
        padding: 8px 15px 10px 3px;
        border: 1px solid #fff;
        border-radius: 5px;
        position: absolute;
        right: 0;
        left: 0;
        width: 170px;
        margin: 0 auto;
        bottom: 50px;
        display: block;
    }

/* ------------------------------------------------ checked */
.check:checked ~ .drawer-menu {
    transition: 0.3s;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
    -webkit-transform: translateX(0px);
	transform: translateX(0px);
	opacity: 1;
	z-index: 2;
}
    .contents {
        transition: 0.3s;
    }
.check:checked ~ .contents {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
	-webkit-transform: translateX(-300px);
	-ms-transform: translateX(-300px);
	transform: translateX(-300px);
}

.check:checked ~ .menu-btn .menu-btn__text {
	visibility: hidden;
	opacity: 0;
}
    .check:checked ~ .menu-btn {
        right: 13px;
    }
.check:checked ~ .menu-btn .bar.top {
	width: 30px;
    top: 5px;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.check:checked ~ .menu-btn .bar.middle {
	opacity: 0;
}

.check:checked ~ .menu-btn .bar.bottom {
	width: 30px;
	top: 26px;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.check:checked ~ .close-menu {
	-webkit-transition-duration: 0s;
	transition-duration: 0s;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
	visibility: visible;
	opacity: 1;
	z-index: 3;
}
    .check:checked ~ .close-btn {
        background: #fff;
        color: #0c3563;
    }


}




/*------------------------------------------------
▼▼コンテンツ▼▼
------------------------------------------------*/
#content_Wrap {
    padding: 57px 0 0px;
}
#content_Wrap img {
    max-width: 100%;
}

/*------------------------------------------------
▼▼コンテンツ▼▼Tab
------------------------------------------------*/

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

    #content_Wrap {
        padding: 110px 0 50px;
    }
}


/*------------------------------------------------
▼▼コンテンツ▼▼sp
------------------------------------------------*/
@media only screen and (max-width: 1024px) {

    /*コンテンツ*/
    #content_Wrap {
        padding: 0px 0 0px;
        background-color: #fff;
        overflow: hidden;
    }
    .contents__inner {
        display: block;
    }

}





/*------------------------------------------------
▼▼footer▼▼
------------------------------------------------*/

.arrow{
    position: relative;
    display: inline-block;
    color: #000;
    vertical-align: middle;
    text-decoration: none;
    font-size: 15px;
}
.arrow::before,
.arrow::after{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}
.arrow::before{
    right: 10px;
    left: inherit;
    width: 4px;
    height: 4px;
    border-top: 2px solid #7a0;
    border-right: 2px solid #7a0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

footer {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background: #000000;
}

footer .foot_nav {
    width: 100%;
    background: #fff;
    border-top: 1px solid #8c8c8c;
    border-bottom: 1px solid #8c8c8c;
    padding: 15px 0;
    display: flex;
    justify-content: center;
}
footer .foot_nav a {
    display: block;
    font-size: 14px;
    margin: 0 20px 0 0;
    padding: 0 20px 0 0;
    border-right: 1px solid #8c8c8c;
}
footer .foot_nav a:hover {
    opacity: 0.5;
}
footer .foot_nav a:last-child {
    border-right: none;
}

footer .foot_btn {
    width: 100%;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    padding: 50px 0 60px;
}
footer .foot_btn h3 {
    color: #ffffff;
    font-size: 25px;
    font-weight: bold;
    line-height: 1.6;
}

footer h1 {
    width: 500px;
    padding: 40px 0 20px;
    margin: 0 auto;
}
footer h1 a {
    display: block;
}
footer h1 a:hover {
    opacity: 0.7;
}
footer h2 {
    width: 111px;
    margin: 0 auto 40px;
}
footer h2 a {
    display: block;
    transition: 0.3s;
}
footer h2 a:hover {
    opacity: 0.7;
}
footer .foot_btn_area {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto 0;
}
footer .foot_btn_area li {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin: 0 10px;
    text-align: center;
    background: #fff;
}
footer .foot_btn_area li p {
    width: 20px;
    margin-left: -20px;
    margin-right: 10px;
}
footer .foot_btn_area li p {}
footer .foot_btn_area li a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    height: 70px;
    width: 300px;
}
footer .foot_btn_area li.contact.arrow::before {
    border-top: 2px solid #333;
    border-right: 2px solid #333;
}
footer .foot_btn_area li.apply.arrow::before {
    border-top: 2px solid #6D242E;
    border-right: 2px solid #6D242E;
}
footer .foot_btn_area li.contact {
    border: 2px solid #333;
}
footer .foot_btn_area li.apply {
    border: 2px solid #6D242E;
}
footer .foot_btn_area li.contact a {
    color: #333333;
}
footer .foot_btn_area li.apply a {
    color: #6D242E;
}
footer .foot_btn_area li:hover.contact {
    background: #333;
    color: #fff;
}
footer .foot_btn_area li:hover.apply {
    background: #6D242E;
    color: #fff;
}
footer .foot_btn_area li:hover.contact a {
    color: #fff;
}
footer .foot_btn_area li:hover.apply a {
    color: #fff;
}
footer .foot_btn_area li:hover.contact.arrow::before ,
footer .foot_btn_area li:hover.apply.arrow::before {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}
footer .tel_text {
    color: #fff;
}
footer .btn_tel {
    width: 376px;
    margin: 10px auto 50px;
}
footer .btn_tel a {
    display: block;
    pointer-events: none;
}


footer .copyright {
    width: 100%;
    font-size: 11px;
    color: #fff;
    background: #cc3333;
    border-top: 1px solid #fff;
}
div#pagetop{
	position:fixed;
	bottom:51px;
	right:25px;
	z-index:99;
    width: 40px;
	/*filter: alpha(opacity=0);
	-moz-opacity:0.0;
	opacity:0.0;*/
}


.box2 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    color: #6091d3;/*文字色*/
    background: #FFF;
    border: solid 3px #6091d3;/*線*/
    border-radius: 10px;/*角の丸み*/
    width: 60%;
    margin:  0 auto;            
}
.box2 p {
    margin: 0; 
    padding: 0;
    text-align: center;
    font-size: 1.5em;
}


/*------------------------------------------------
▼▼footer▼▼sp
------------------------------------------------*/
@media only screen and (max-width: 1024px) {


    footer {
        width: 100%;
        padding: 0 0 0px;
    }
    footer h1 {
        max-width: 80%;
    }
    footer .btn_tel {
        max-width: 80%;
    }
    footer .btn_tel a {
        pointer-events: auto;
    }

    footer .foot_nav {
        flex-wrap: wrap;
        padding: 0;
    }
    footer .foot_nav a {
        width: 50%;
        padding: 10px 0;
        margin: 0 ;
        font-size: 12px;
        box-sizing: border-box;
        border-bottom: 1px solid #bcbcbc;
    }
    footer .foot_nav a:nth-child(2) {
        border-right: none;
    }
    footer .foot_nav a:nth-child(3),
    footer .foot_nav a:nth-child(4) {
        border-bottom: none;
    }

    #top footer .foot_nav a:nth-child(1) ,
    #bldg-a footer .foot_nav a:nth-child(2) ,
    #bldg-b footer .foot_nav a:nth-child(3) ,
    #bldg-k footer .foot_nav a:nth-child(4) {
        background: #fff7f2;
        color: #0000ff;
        pointer-events: none;
    }
    footer .foot_btn {
        padding: 30px 0 40px;
    }
    footer .foot_btn h3 {
        font-size: 20px;
    }
    footer .foot_btn_area {
        flex-wrap: wrap;
        margin: 20px auto 0;
    }
    footer .foot_btn_area li a {
        max-width: 80%;
    }
    footer .foot_btn_area li.contact {
        margin-bottom: 10px;
    }


    footer .copyright {
        width: 100%;
        line-height: 1.5;
        margin: 0 auto;
        padding: 15px 0 25px;
    }
	div#pagetop{
		width:35px;
		position:fixed;
		bottom:57px;
		right:10px;
		z-index:1;
	}
	div#pagetop img{
		width:100%;
	}


}
