@charset "utf-8";

/* レイアウト*/
body{
    font-family: 'Noto Sans JP', sans-serif;
	color: #474642;
	font-size: 1rem;
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
	background-color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 820px) {
body{
	font-size: 0.8rem;
	}
}

*{box-sizing: border-box;}


a{
	text-decoration: none;
    outline: none;
}

a:hover{
	opacity: 0.5;
}

img{
    width: 200px;
    height: auto;
    display: block;
    margin: 80px auto;
}

p{
    font-size: 150%;
}

.btn{
    position: relative;
    width: 250px;
    margin: 0 auto;
}

.btn::before{
    content:'';
    border-bottom: 1px solid #aba377;
    width: 80px;
    position: absolute;
    top: 50%;
    left: -50px;
}


.btn a{
    border: 1px solid #ABA377;
    width: 250px;
    margin: 0 auto;
    padding: 10px;
    color: #ABA377;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    transition: .3s;
    display: block;
    text-align: center;
}

.btn a::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: #ABA377;
    border: 1px solid #ABA377;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform ease .3s;
}

.btn a:hover {
    color: #fff;
    opacity: 1;
}

.btn a:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
    opacity: 1;
}

@media screen and (max-width: 550px) {
    .btn,
    .btn a{
        width: 220px;
    }
}
@media screen and (max-width: 428px) {
    .btn::before{
        width: 50px;
        left: -40px;
    }
    
    .btn a{
        padding: 5px;
    }    
}


