@charset "UTF-8";

html {
    font-size: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    line-height: 1.5;
    color: #4b1900;
    margin: 0;
    height: 100vh;
	position: relative;

}
a {
    text-decoration: none;
    color: #4b1900;
}

.text-center {
    text-align: center;
}

.adventurer {
    background-color: #FF5938;
}
.merchant {
    background-color: #57B4BA;
}
.artist {
    background-color: #e1eec1;
}
.others {
    background-color: #8490c8;
}

/* ----- header ----- */

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.page-header {
    position: sticky;
    top: 0;
    padding: .5rem 1rem;
    background-color: #FDFBEE;
}
.logo {
    width: 115px;
    padding-top: 10px;
}
.main-nav {
    display: flex;
    gap: 1rem;
    list-style: none;
}
.main-nav a {
    color: #560d04;
}
.main-nav a:hover {
    color: #5f3830;
}

/* ----- main ----- */

/* article */

article {
    margin: 0 auto;
    padding: 5.5rem 2.2rem 4rem;
}
.category {
    font-size: 1rem;
}
.r-sub {
    margin: 0 auto;
    font-size: 1.2rem;
    text-align: left;
}
.tag {
    padding-left: .5rem;
    color: #6C6C6C;
    font-size: .8rem;
    text-align: left;
}
.image {
    display: block;
    margin: .6rem auto 1.4rem;
    max-width: 60%;
}
/* .content {
    margin: 1rem auto;
} */

.btn {
    margin: 2rem auto;
    width: 115px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FDFBEE;
    box-shadow: 0 4px 8px rgb(0 0 0 / 65%);
}

.back {
    position: relative;
    display: inline-block;
    padding-left: 15px;
    text-decoration: none;
    margin-left: 1.8rem;
    font-size: 1.2rem;
    color: #ffffff;
}
.back::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: solid 2px #ffffff;
    border-left: solid 2px #ffffff;
    transform: rotate(-45deg);
    position: absolute;
    top: 12px;
    left: 0;
    bottom: 0;
}
.back:hover {
    color: #ffffff;
}
.back::before:hover {
    color: #ffffff;
}

.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    color: #FDFBEE;
    background-color: #560d04;
}
.scroll-top:hover {
    color: #560d04;
    background-color: #FDFBEE;
}

/* ----- footer ----- */

.page-footer {
    margin-top: 2rem;
    background-color: #FDFBEE;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
	bottom: 0;
	width: 100%;
}


/* ----- Adv ----- */

.adventurer main {
    background-image: url(../img/ag-bgi_adv.png);
    background-size: contain;
    margin: 1.5rem .4rem 1rem 1rem;
}
.adventurer article {
    padding: 5.5rem 2.2rem 4rem 1.6rem;
}
.adventurer .btn {
    background-color: #FF5938;
}
.adventurer .btn:hover {
    background-color: #FF0000;
}

/* takara */
.takara .btn {
    margin-top: 8rem;
}

/* sika */
.sika .btn {
    margin-top: 5rem;
}

/* ----- Mer ----- */

.merchant main {
    background-image: url(../img/ag-bgi_mer.png);
    background-size: contain;
    margin: 1.5rem 1rem 1rem;
}
.merchant .btn {
    background-color: #57B4BA;
}
.merchant .btn:hover {
    background-color: #00ACB8;
}

.nouka .btn {
    margin-top: 8rem;
}

/* ----- Artist ----- */

.artist main {
    background-image: url(../img/ag-bgi_artist.png);
    background-size: contain;
    margin: 1.5rem .8rem 1rem;
    background-position: 4px 0;
}
.artist .btn {
    background-color: #94B353;
}
.artist .btn:hover {
    background-color: #7e9b3f;
}

.niwasi .btn, .circus .btn {
    margin-top: 4rem;
}

/* ----- others ----- */

.others main {
    background-image: url(../img/ag-bgi_others.png);
    background-size: contain;
    margin: 1.5rem .5rem 1rem;
}
.others .btn {
    background-color: #8490c8;
}
.others .btn:hover {
    background-color: #5D79B6;
}

.uketuke .btn {
    margin-top: 8.5rem;
}
.haitatu .btn {
    margin-top: 6rem;
}
.kantei .btn {
    margin-top: 8rem;
}
.shoubou .btn {
    margin-top: 4rem;
}

.a-test {
    background-color: #015551;
}
.q, .a {
    background-color: #FDFBEE;
    margin: 2rem 1rem;
    padding: 2rem;
    border-radius: 10px;
}
.a p {
    font-size: 1.4rem;
}
.scroll-top{
	z-index: 100;
}






.questionyes {
    margin: 2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FDFBEE;
    box-shadow: 0 4px 8px rgba(103, 16, 16, 0.65);
    width: 150px;
    height: 60px;
    font-size: 1rem;
    background-color: #fd4040;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    
}

.questionno {
    margin: 2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FDFBEE;
    box-shadow: 0 4px 8px rgba(36, 23, 90, 0.65);
    width: 150px;
    height: 60px;
    font-size: 1rem;
    background-color: #9b83ff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    
}


.questiontext{
    margin: 5rem;
    color: #ffffff;
    text-align: center;
}


.questionbox{
    position: absolute;
    bottom: 60px;
    margin-bottom: 3rem;
}



.a{
	height: 400px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}










/* ---------- デスクトップ版 ---------- */

@media (min-width: 450px) {
    body {
        max-width: 375px;
        margin: 0 auto;
        position: relative;
        background-image: url(../img/main_visual.png);
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
        background-color: rgba(255,255,255,0.3);
        background-blend-mode: lighten;
    }
    .adventurer, .merchant, .artist, .others {
        background-color: black;
    }

    .dt-bgc {
        position: fixed;
        width: 375px;
        height: 100%;
        margin: 0 auto;
        top: 0;
        z-index: -1;
    }
    .adventurer .dt-bgc {
        background-color: #FF5938;
    }
    .merchant .dt-bgc {
        background-color: #57B4BA;
    }
    .artist .dt-bgc {
        background-color: #e1eec1;
    }
    .others .dt-bgc {
        background-color: #8490c8;
    }

    .a-test .dt-bgc {
        background-color: #015551;
    }
}