@charset "UTF-8";

html {
    font-size: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    line-height: 1.5;
    color: #4b1900;
    margin: 0;
}
a {
    text-decoration: none;
    color: #4b1900;
}

.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 ----- */

/* ex */

.ex {
    padding: 0rem 2.5rem 3rem;
    color: #FDFBEE;
}
.ex-title, .ex-text {
    margin: 0;
}
.ex-title {
    text-align: center;
    margin-top: 0;
}
.ex-text {
    line-height: 1.4;
    margin-left: 1.3rem;
}

/* content */

.content {
    margin: 1.5rem auto 3.5rem;
    padding: 2rem 1.5rem;
    text-align: left;
}
.r-sub {
    font-size: .9rem;
    /* 本文の文字の大きさ */
}
.r-flex {
    margin-top: .6rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
}
.category {
    color: #6C6C6C;
    font-size: .6rem;
}
.image {
    display: block;
    margin: 0 auto;
    max-width: 40%;
}
.r-ex {
    font-size: .8rem;
}
.font-s {
    font-size: .8rem;
}

section {
    padding-bottom: 2rem;
}

.back {
    position: relative;
    display: inline-block;
    padding-left: 15px;
    text-decoration: none;
    margin-left: 1.8rem;
    font-size: 1.2rem;
}
.back::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: solid 2px #560d04;
    border-left: solid 2px #560d04;
    transform: rotate(-45deg);
    position: absolute;
    top: 12px;
    left: 0;
    bottom: 0;
}
.back:hover {
    color: #5f3830;
}
.back::before:hover {
    color: #5f3830;
}

.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;
}


/* ----- Adv ----- */

.adventurer main {
    background-image: url(../img/adv_bgi.png);
    background-size: contain;
    margin: 1.5rem 1rem 1rem;
}
.adventurer .content {
    background-image: url(../img/adv-content_bgi.png);
    background-size: cover;
}

/* ----- Mer ----- */

.merchant main {
    background-image: url(../img/mer_bgi.png);
    background-size: contain;
    margin: 1.5rem 1rem 2.5rem;
    padding-bottom: 6rem;
}

.merchant .ex {
    padding-top: 8.4rem;
}

.merchant .content {
    background-image: url(../img/mer-content_bgi.png);
    background-size: cover;
    margin-bottom: .6rem;
}
.merchant .r-sub {
    margin-top: .8rem;
}

/* ----- Artist ----- */

.artist main {
    background-image: url(../img/artist_bgi.png);
    background-size: contain;
    margin: 1rem 1rem 2rem;
}

.artist .ex {
    padding-top: 7.5rem;
    padding-bottom: 5rem;
}

.artist .content {
    background-image: url(../img/artist-content_bgi.png);
    background-size: cover;
    width: 100%;
    aspect-ratio: 344/216;
}

/* ----- others ----- */

.others main {
    background-image: url(../img/others_bgi.png);
    background-size: contain;
    margin: .5rem .2rem 1rem;
}
.others .content {
    background-image: url(../img/others-content_bgi.png);
    background-size: cover;
}
.others .ex {
    padding: 9rem 5rem 4rem;
}


/* ---------- デスクトップ版 ---------- */

@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;
    }
}