@charset "utf-8";
/* CSS Document */

.sp {
	display: none;
}
.sp-1120 {
	display: none;
}
.sp-800,.sp-540 {
	display: none;
}

/*--- 基準フォント ---*/

html {
    font-size: 62.5%;
}

h1,h2,h3,h4,h5,p,a {
    font-family: 'Noto Sans JP', sans-serif;
}
h2 {
    color: #303030;
}
p {
    font-size: 1.6rem;
    font-weight: 300;
}
/*--- ヘッダーとハンバーガーメニューCSS ---*/
header {
    position: relative;
    z-index: 99;
}
header h1 {
    display: block;
    position: fixed;
    top: 40px;
    left: 55px;
}
header h1>a>img{
     width: 100%;
    max-width: 250px;
}

.header-nav{
    position: fixed;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.header-nav ul {
    position: relative;
    transform: rotate(140deg);
    transition: .5s;
}
.header-nav.active ul {
    transform: rotate(0deg);
}

.header-nav ul li {
    font-size: 2rem;
}
.header-nav ul li:nth-of-type(1) {
    position: absolute;
    top: -90px;
    right: 40px;
}
.header-nav ul li:nth-of-type(2) {
    position: absolute;
    top: -40px;
    right: 120px;
}
.header-nav ul li:nth-of-type(3) {
    position: absolute;
    top: 0;
    right: 130px;
}
.header-nav ul li:nth-of-type(4) {
    position: absolute;
    top: 45px;
    right: 95px;
}

.header-nav ul li a span {
    color: #ed7e84;
    font-size: 2.4rem;
}

.hamburger-wrap{
    width: 95px;
    height: 50px;
    transition: all 0.7s;
    
    cursor: pointer;
    position: fixed;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    
    overflow: hidden;
    
    z-index: 10;
}
.hamburger-wrap span{
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 1.5px;
    background-color: #000;
    transition: all 0.7s;
}
.hamburger-wrap span:nth-of-type(1){
    position: absolute;
    right: 0;
    
    animation: span1 1s linear;
    animation-iteration-count:infinite;
    animation-direction: reverse;

    transition: .3s;
}
.hamburger-wrap span:nth-of-type(2){
    position: absolute;
    top:20px;
    right: -20px;

    transition: .3s;
}
.hamburger-wrap span:nth-of-type(3){
    position: absolute;
    top:40px;
    right: -50px;
    
    animation: span1 1.5s linear;
    animation-iteration-count:infinite;
    animation-direction: reverse;

    transition: .3s;
}
.close-btn{
    position: fixed;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);   
    
    width: 90px;
    height: 90px;
    border-radius: 45px;
    transition: .7s;
}
.close-btn p {
    opacity: 0;
}
/*--- ハンバーガー アニメーション ---*/

@keyframes span1{
    0%{
        right: -20px;
    }
    50%{
        right: 0px;
    }
    100%{
        right: -20px;
    }
}

.hamburger-wrap.active span {
    height: 0;
}

.hamburger-wrap.active span:nth-of-type(1),
.hamburger-wrap.active span:nth-of-type(2),
.hamburger-wrap.active span:nth-of-type(3) {
    right: -50px;
    opacity: 0;
    animation-play-state: paused;
}

.close-btn.active{
    background-color: rgba(161,161,161,0.50);
    backdrop-filter: blur(5px);
    
    width: 90px;
    height: 90px;
    
    transform:translateY(-50%);
    -webkit-transform:translateY(-50%);
    -ms-transform:translateY(-50%);   
    text-align: center;
}
.close-btn.active p {
    line-height: 90px;
    font-size: 2rem;
    font-weight: 200;
    color: #fff;
     opacity: 1;
}



footer {
    width: 100%;
    margin: 16rem auto 0;
    text-align: center;
}
footer ul {
    width: 100%;
    max-width: 530px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}
footer ul li {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 2.2rem;
}
footer p {
    width: 100%;
    background-color: #e8e8e8;
    padding: 3rem 0;
    margin-top: 6.3rem;
}

@media screen and (max-width:1400px) {
	main {
		overflow: hidden;
		padding-bottom: 10rem;
	}
	footer {
		width: 100%;
		margin: 6rem auto 0;
	}
}


@media screen and (max-width:1120px) {
	.pc-1120 {
		display: none!important;
	}
	.sp-1200 {
		display: block!important;
	}
	
}

@media screen and (max-width:800px) {
	.pc-800 {
		display: none!important;
	}
	.sp-800 {
		display: block!important;
	}
}
@media screen and (max-width:540px) {
	.sp-540 {
		display: block;
	}
	p {
		font-size: 1.5rem;
	}
    header {
        transition: .3s;
    }
    header.active {
        width: 100%;
        height: 100vh;
        background-color: rgba(255,255,255,0.60);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        position: fixed;
        z-index: 20;
    }
	header h1 {
		display: block;
		position: fixed;
		top: 20px;
		left: 15px;
	}
	header h1>a>img {
		width: 100%;
		max-width: 180px;
	}
    header h1.delete {
        display: none;
    }
	/*ハンバーガー*/
	
	.header-nav {
		top: 40px;
		right: 5px;
	}
	
	.hamburger-wrap {
		width: 65px;
	}
	.header-nav ul li:nth-of-type(1) {
		top: 15px;
        right: 150px;
        transform: rotate(348deg);
	}
	.header-nav ul li:nth-of-type(2) {
		top: 50px;
        right: 132px;
        transform: rotate(327deg);
	}
	.header-nav ul li:nth-of-type(3) {
		top: 79px;
        right: 100px;
        transform: rotate(295deg);
	}
	.header-nav ul li:nth-of-type(4) {
		top: 83px;
        right: 58px;
        transform: rotate(-90deg);
	}
	.close-btn.active p {
		position: absolute;
		bottom: 120px;
		right: 120px;
		display: block;
		width: 120px;
		height: 120px;
        line-height: 12rem;
		border-radius: 60px;
		background-color:#535353;	
	}
	.close-btn.active {
		width: 360px;
        height: 360px;
        border-radius: 200px;
        right: -100px;
        background-color:transparent;
        backdrop-filter: none;
    }
	
    footer ul {
        padding: 0 3rem;
    }
}