@charset "UTF-8";


/*
COLORS
================================================ */
:root {
    --brown: #704d4d;
    --pink: rgb(236, 176, 193);
    --gold:#8c8461;

    --bg-color: rgb(255, 251, 239);
    --main-color: #a9d9d0;
    --accent-color: #efcf57;
    --text-color: #5a4a42;
    
}


/*
GENERAL STYLING
================================================ */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    font-family: 'メイリオ', 'Meiryo','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3', sans-serif;
}


/*
COMMON
================================================ */
a {
    text-decoration: none;
    display: block;
}

main, a, p {
    color: var(--text-color);
    font-size: 1rem;
}

/* button */
.btn-bg {
    padding: 15px 10px;
    text-align: center;
    color: var(--text-color);
    background-color: var(--main-color);
    width: 90%;
    max-width: 500px;
    margin: 20px auto 0;
    border-radius: 10px;
    transition: .3s;
}
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
}
.btn-bg:hover, .btn-outline:hover {
    opacity: .7;
}


/*
LAYOUT
================================================ */
.wrapper {
    width: 90%;
    margin: 0 auto;
}




/*
LOADING
================================================ */
#loading {
    transition: all 1s;
    background: rgb(255, 251, 239);
    backdrop-filter: blur(10px);
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: grid;
    place-items: center;
}
#loading p {
    font-size: 1.2rem;
    font-family: "the-seasons", sans-serif;
    font-family: linotype-didot, serif;
    font-weight: 400;
    font-style: normal;
    color: var(--text-color);
}



/*
HEADER
================================================ */
.page-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 0 20px 20px;
    /* position: fixed; */
    z-index: 10;
    /* top: 0; */
    width: 100%;
    background-color: transparent;
    align-items: center;
}
.logo {
    width: 80px;
    position: relative;
    top: 8px;
}
.main-nav {
    width: 0;
    background: rgb(255, 255, 255, .8);
    position: absolute;
    z-index: 12;
    top: 55px;
    right: 0;
    overflow: hidden;
    display: block;
    transition: .8s;
}
.main-nav.open-menu {
    width: 50%;
}
.main-nav a {
    display: block;
    font-size: 12px;
}
.main-nav li {
    text-align: center;
    margin: 2rem 0;
}
.main-nav a::before {
    width: 24px;
    height: 24px;
    display: inline-block;
    position: relative;
    top: 6px;
    margin-right: 3px;
}
.mypage::before {
    content: url(https://www.fairynet.co.jp/pic-labo/icon_mypage.png);
}
.cart::before {
    content: url(https://www.fairynet.co.jp/pic-labo/icon_cart.png);
}
.favorite::before {
    content: url(https://www.fairynet.co.jp/pic-labo/icon_heart.png);
}
.contact::before {
    content: url(https://www.fairynet.co.jp/pic-labo/icon_mail.png);
}
.btn-menu {
    position: absolute;
    top: .6rem;
    right: 1rem;
    border: .5px solid var(--text-color);
    color: var(--text-color);
    font-size: 0.8em;
    padding: 0.6rem 0.8rem;
    background: transparent;
    letter-spacing: 0.08em;
    display: block;
}


/*
MAIN VISUAL
================================================ */
.main-visual {
    margin: 20px 0;
    text-align: center;
}
.banner-sp {
    width: 90%;
}
.introduction {
    line-height: 1.7;
    width: 90%;
    margin: 0 auto 50px;
    text-align: center;
}
.pc-blank {
    display: none;
}


/*
SECTION
================================================ */
section {
    margin-bottom: 100px;
}
.icon-box {
    text-align: center;
    margin: 0 auto 20px;
    width: 15%;
}
.icon-box img {
    width: 100%;
}
h2 {
    font-size: 28px;
    font-family: "Alex Brush", cursive;
    font-weight: 400;
    text-align: center;
    margin: 0 auto 8px;
}
.sub-title {
    text-align: center;
    margin: 0 auto 30px;
    font-weight: bold;
}
.item-container {
    margin: 0 auto;
    padding: 0 0 70px;
}
.item-container:last-child {
    padding-bottom: 0;
}
.bgimg-box {
    text-align: center;
    width: 90%;
    margin: 0 auto;
}
.bgimg {
    width: 100%;
    margin-bottom: 10px;
}
.serum-img {
    width: 50%;
}
.detail-box {
    width: 90%;
    margin: 0 auto;
}
.catchphrase {
    line-height: 1.7;
    margin: 10px auto;
    font-weight: bold;
}
.pickup-item-detail, .pickup-caption {
    margin: 0 auto;
    line-height: 1.7;
}
.pickup-caption {
    margin-top: 10px;
}
.pickup-caption p {
    font-size: 12px;
    line-height: 1.7;
}
.deco-line {
    font-family: "Alex Brush", cursive;
    font-weight: 400;
    text-align: center;
    margin: 0 auto 50px;
    color: var(--accent-color);
    font-size: 48px;
}

/*
FOOTER
================================================ */

footer, .menu a {
    background-color: #6b5852;
    color: #fff;
}
footer {
    margin-top: 80px;
}
.ftr-SNS-btns {
    display: flex;
    list-style: none;
    width: 80%;
    justify-content: space-between;
    margin: 0 auto;
    padding: 50px;
}
.ftr-SNS-btns img {
    width: 90%;
}
.ftr-Heading {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1rem;
}
form {
    width: 65%;
    margin: 0 auto;
}
.mailAddress {
    font-size: 12px;
    padding: 12px 0 12px 2%;
    width: 78%;
    border: none;
    background: #fff;
    border-radius: 0px;
}
.btn-confirmNext {
    width: 22%;
    display: block;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    padding: 13px 0;
    background: var(--pink);
    color: #ffffff;
    line-height: 1em;
    transition: .3s;
    border: none;
    float: right;
}
.NL-stop {
    color: #fff;
    display: block;
    margin: 12px 0 0 0;
    text-align: center;
    
}
.copyright {
    text-align: center;
    padding-bottom: 20px;
    display: block;
    margin-top: 70px;
    font-size: 0.6rem;
}
#floating-menu {
    display: block;
    position: fixed;
    bottom: 15px;
    right: 20px;
    z-index: 100;
}
.top-btn {
    background-color: var(--main-color);
    color: #fff;
    border-radius: 10px;
    text-align: center;
    padding: 9px;
    font-size: .9rem;
}

.top-btn::before {
    content: '\f077';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    top: 1px;
}



/*
ここからタブレットサイズ（画面の横幅が600px〜999px）
================================================ */
@media(min-width: 600px){
/* LAYOUT  */
    .wrapper {
        width: 85%;
    }

/* HEADER */
    .logo {
        top: 0px;
        width: 90px;
    }
    .page-header {
        padding: 15px 20px 15px 30px;
    }
    h1 a {
        text-align: center;
    }

    /* Navigation */
    .btn-menu {
        right: 2rem;
        font-size: 1rem;
    }
    .main-nav {
        top: 58px;
    }
    .main-nav.open-menu {
        width: 33%;    
    }
    

/* MAIN VISUAL */
    .main-visual {
        margin: 30px 0;
    }
    .banner-sp {
        display: inline;
        width: 65%;
    }
    .introduction {
        width: 65%;
    }
    .pc-blank {
        display: inherit;
    }

/* SECTION */
    .icon-box {
        width: 9%;
    }
    .bgimg-box, .detail-box {
        width: 65%;
    }
    .btn-box-list {
        margin-top: 30px;
    }

/* FOOTER */
    footer {
        margin-top: 100px;
    }
    .ftr-SNS-btns {
        width: 50%;
    }
    form {
        width: 50%;
    }
    .copyright {
        padding: 30px 0;
        padding-top: 30px;
    }
    #floating-menu {
        bottom: 20px;
        right: 30px;
    }

}


/*
ここからPCサイズ（画面の横幅が1000px以上）
================================================ */
@media(min-width: 1000px){
/* LAYOUT */
    .wrapper {
        width: 90%;
        max-width: 1170px;
        
    }

/* COMMON */
    .btn-bg {
        margin: 30px auto 0;
    }

/* HEADER */
    .page-header {
        padding: 10px 50px 20px 50px;
    }
    .logo {
        position: relative;
        top: 5px;
    }
    .btn-menu {
        display: none;
    }
    .main-nav {
        display: flex;
        background: transparent;
        justify-content: space-between;
        width: 450px;
        letter-spacing: 0.08em;
        top: -20px;
        right: 50px;
    }
    .main-nav a {
        font-size: 14px;
        color: var(--brown);
    }

/* MAIN VISUAL */
    .banner-sp {
        width: 40%;
    }

/* SECTION */
    section {
        margin-bottom: 120px;
    }
    .icon-box {
        width: 5%;
    }
    .item-container {
        width: 40%;
        margin: 0 auto;
     }
    .bgimg-box {
        width: 100%;
    }
    .bgimg {
        margin-bottom: 0;
    }
    .detail-box {
        width: 100%;
    }


/* FOOTER */
    .ftr-SNS-btns {
        width: 33%;
    }
    .ftr-SNS-btns img {
        width: 100%;
    }
    form {
        width: 40%;
    }
    #floating-menu {
        right: 40px;
        bottom: 40px;
    }
    .top-btn {
        padding: 15px;
        font-size: 1rem;
    }
}
